I don't think you can have it while you are pg, but I would definitely get it done once bubs is born..whooping cough is horrible and considering there is an outbreak of it at the moment (or there was when DD was born, not sure if it is still going) I didn't want to take any chances. Baby can't get it until their 2 month vacs (which apparently they can now have as early as 6 weeks) so any 'extra' precautions you can take, I would be doing as IMO it's just not worth the risk.

We didn't have many visitors at first, our family all lives a fair distance from us and we didn't have any friends that came over, so weren't too worried about it being transmitted by family/friends. They do recommend that anyone who will be in close contact (and I would assume fairly regular contact) gets it done before baby arrives, so if there are any family members that would be seeing you & bub on a regular basis then it might be a good idea just to mention it to them.