Is it safe to swim in chlorine pools while pregnant?

S

I've been wanting to go swimming for weeks now because it's SO hot. I've read mixed opinions/research online so I wanted to see what y'all think.