Tdap shot !

My next apt is July 6th and ill be 34 weeks .

My doctor told me about the shot and how i should get it, is it worth it?

Like yes i know it prevents the whopping cough and the baby cant get the shot until 2 months after they are born . But i heard alot of negative outcomes with it

And im 19 and clearly this is my first so i dont know much lol.

Please nice responses ! :)