You mean about to produce a new citizen in states where the natality rate has been dropping since 50+ years?
You get pampered.
More seriously,and to the point of "switch job if you are not happy"
being pregnant open right to :
A) specific time off
( your employer have to let you go home, and have to keep you a spot open for when you get back. To buffer the cost to your employer specific financial help are issues to recruit a temporary replacement )
B) medical attention
( Doctor visit and so on, at very little cost to you. Again, the state want that new citizen in the making to be healtly )
C) plain old money
( "Natality grant", no idea how to translate that. Some fiat is wired to your bank account. Not enough to live off, but enough to help buy baby stuff or pay for babysitting. Some is conditional to a specific use, some is not )
None of that is really attach to your employers. You are free to not come back to your jobs after given birth or to switch job after the fact if you wish.
Does that answer your question? I'm not sure where you were getting at.