Flu shot

Has anyone got the flu shot while pregnant? 
Do you recommend it?