Flu shot while pregnant?

Who got it while pregnant? I normally don’t get it, however, I’m due late March and I want to be responsible and get it while I’m pregnant. I don’t want to end up getting sick and regret not getting it.