Thoughts about whooping cough vaccine?

d

So I've heard that if the mother gets the whooping cough needle the antibodies get passed onto the baby or something like that... But I don't want to get the needle... What's everyone else doing when it comes to this situation?