Luxury and affordable buildings only differ by the rent they charge.
The quality of the building is determined by building codes
The quality of the building is determined by building codes
Building codes set the lower bounds of acceptable quality of a building, which is good but not all-encompassing (and for a good reason).