Big dog jumped on my belly!

An

I’m 26 weeks today and my friends very large dog jumped up on my and it felt like he punched me in the stomach. It hurt instantly and really scared me. I’m not used to anything touching my stomach aside from a 7 pound cat. Can the dog hurt the baby?