Yes, these structures need to meet the setback requirements of various ordinances/regulations and they must also meet the code as accessory structures.