Friend, when we see vomiting of undigested food it is called "regurgitation" as the food has not been digested. Can a dog get sick from drinking unclean water? Yes. But, typically we also see other symptoms like diarrhea, true vomiting, etc. In this case we need to consider other possible causes like: Esophagus disorders (megaesophagus, strictures, parasites), gastritis, ingestion of a foreign body or even part of a systemic disease. I am not 100% convinced this is related to the unclean water. If she is having trouble catching her breath yes, this further supports the above mentioned diseases. Unfortunately on history alone it will be difficult to determine the exact underlying cause. At this stage, I would highly recommend you consider having her checked by your family veterinarian for xrays and blood work as initial screening test to determine the exact underlying cause. In the meantime, this is what you can do:
1- Do not give things like Pepto Bismol or imodium. Start her on Pepcid AC (famotidine) 10mg 1/2 tablet every 12 hours for the next 2-3 days. You can buy Pepcid AC over the counter in any pharmacy.
2- No food or water for 6-8 hours. Need to give her gastrointestinal tract time to rest.
3- After 6-8 hours offer a small amount of water. Wait half hour, if no vomiting, offer small amount of rice (50%) and boiled boneless chicken or ground beef (50%) 4-6 times a day. Keep on this diet for several days then wean into regular diet.
Note: Raise her eating bowl on to a small stool to force her to raise her head when she eats.
4- Follow up with your family veterinarian for a hands on examination.
My goal is to provide you with excellent service - I hope I've provided the information you were seeking, if you feel you have received anything less, please reply back as I am happy to address follow-up questions. Kindly rate me when you are done.