Your maternity rights are set out in your employment contract and in employment legislation. Some contracts provide for normal pay during maternity leave. More likely, your entitlement will be based on your statutory rights - that is, the basic rights that the law gives you.
You should clarify your entitlements with your employer, preferably in writing, before you go on maternity leave.
See the workSMART rights section for more information on your maternity rights.