If they have shade and plenty of fresh water they are usually ok. Initially we had misting fans for them. Now they have a shed that is colder than out house at 69 F.
Keeping them in a flat is not recommended but can be done by the right owner who understands the dogs, their needs and behavior.