Thoughts about whooping cough vaccine?

Dehanna • Became a mother on the 1st of November, 2018 to my little boy Kai! 😍💙

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?