7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/IsolineEngineType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/IsolineVehicleLicensePlate.h>
11#include <aws/geo-routes/model/IsolineTrailerOptions.h>
12#include <aws/geo-routes/model/IsolineTruckType.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/geo-routes/model/WeightPerAxleGroup.h>
15#include <aws/geo-routes/model/IsolineHazardousCargoType.h>
54 inline void SetAxleCount(
int value) { m_axleCountHasBeenSet =
true; m_axleCount = value; }
75 inline void SetGrossWeight(
long long value) { m_grossWeightHasBeenSet =
true; m_grossWeight = value; }
85 template<
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
86 void SetHazardousCargos(HazardousCargosT&& value) { m_hazardousCargosHasBeenSet =
true; m_hazardousCargos = std::forward<HazardousCargosT>(value); }
87 template<
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
96 inline long long GetHeight()
const {
return m_height; }
98 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
109 inline void SetHeightAboveFirstAxle(
long long value) { m_heightAboveFirstAxleHasBeenSet =
true; m_heightAboveFirstAxle = value; }
120 inline void SetKpraLength(
long long value) { m_kpraLengthHasBeenSet =
true; m_kpraLength = value; }
130 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
140 template<
typename LicensePlateT = IsolineVehicleLicensePlate>
141 void SetLicensePlate(LicensePlateT&& value) { m_licensePlateHasBeenSet =
true; m_licensePlate = std::forward<LicensePlateT>(value); }
142 template<
typename LicensePlateT = IsolineVehicleLicensePlate>
153 inline void SetMaxSpeed(
double value) { m_maxSpeedHasBeenSet =
true; m_maxSpeed = value; }
164 inline void SetOccupancy(
int value) { m_occupancyHasBeenSet =
true; m_occupancy = value; }
175 inline void SetPayloadCapacity(
long long value) { m_payloadCapacityHasBeenSet =
true; m_payloadCapacity = value; }
185 inline void SetTireCount(
int value) { m_tireCountHasBeenSet =
true; m_tireCount = value; }
195 template<
typename TrailerT = IsolineTrailerOptions>
196 void SetTrailer(TrailerT&& value) { m_trailerHasBeenSet =
true; m_trailer = std::forward<TrailerT>(value); }
197 template<
typename TrailerT = IsolineTrailerOptions>
228 template<
typename TunnelRestrictionCodeT = Aws::String>
229 void SetTunnelRestrictionCode(TunnelRestrictionCodeT&& value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value); }
230 template<
typename TunnelRestrictionCodeT = Aws::String>
242 inline void SetWeightPerAxle(
long long value) { m_weightPerAxleHasBeenSet =
true; m_weightPerAxle = value; }
254 template<
typename WeightPerAxleGroupT = WeightPerAxleGroup>
255 void SetWeightPerAxleGroup(WeightPerAxleGroupT&& value) { m_weightPerAxleGroupHasBeenSet =
true; m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value); }
256 template<
typename WeightPerAxleGroupT = WeightPerAxleGroup>
264 inline long long GetWidth()
const {
return m_width; }
266 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
272 bool m_axleCountHasBeenSet =
false;
275 bool m_engineTypeHasBeenSet =
false;
277 long long m_grossWeight{0};
278 bool m_grossWeightHasBeenSet =
false;
281 bool m_hazardousCargosHasBeenSet =
false;
283 long long m_height{0};
284 bool m_heightHasBeenSet =
false;
286 long long m_heightAboveFirstAxle{0};
287 bool m_heightAboveFirstAxleHasBeenSet =
false;
289 long long m_kpraLength{0};
290 bool m_kpraLengthHasBeenSet =
false;
292 long long m_length{0};
293 bool m_lengthHasBeenSet =
false;
295 IsolineVehicleLicensePlate m_licensePlate;
296 bool m_licensePlateHasBeenSet =
false;
298 double m_maxSpeed{0.0};
299 bool m_maxSpeedHasBeenSet =
false;
302 bool m_occupancyHasBeenSet =
false;
304 long long m_payloadCapacity{0};
305 bool m_payloadCapacityHasBeenSet =
false;
308 bool m_tireCountHasBeenSet =
false;
310 IsolineTrailerOptions m_trailer;
311 bool m_trailerHasBeenSet =
false;
314 bool m_truckTypeHasBeenSet =
false;
317 bool m_tunnelRestrictionCodeHasBeenSet =
false;
319 long long m_weightPerAxle{0};
320 bool m_weightPerAxleHasBeenSet =
false;
322 WeightPerAxleGroup m_weightPerAxleGroup;
323 bool m_weightPerAxleGroupHasBeenSet =
false;
325 long long m_width{0};
326 bool m_widthHasBeenSet =
false;
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
void SetTireCount(int value)
IsolineTruckType GetTruckType() const
bool GrossWeightHasBeenSet() const
const IsolineTrailerOptions & GetTrailer() const
IsolineTruckOptions & WithPayloadCapacity(long long value)
bool KpraLengthHasBeenSet() const
bool EngineTypeHasBeenSet() const
void SetPayloadCapacity(long long value)
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
IsolineTruckOptions & WithTireCount(int value)
IsolineTruckOptions & WithTruckType(IsolineTruckType value)
bool AxleCountHasBeenSet() const
long long GetHeightAboveFirstAxle() const
bool TruckTypeHasBeenSet() const
long long GetLength() const
bool TireCountHasBeenSet() const
IsolineTruckOptions & WithTrailer(TrailerT &&value)
IsolineTruckOptions & WithHazardousCargos(HazardousCargosT &&value)
bool HazardousCargosHasBeenSet() const
bool HeightHasBeenSet() const
void SetWidth(long long value)
bool LengthHasBeenSet() const
long long GetWidth() const
bool LicensePlateHasBeenSet() const
IsolineTruckOptions & WithEngineType(IsolineEngineType value)
bool TunnelRestrictionCodeHasBeenSet() const
long long GetWeightPerAxle() const
IsolineTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroupT &&value)
void SetOccupancy(int value)
bool HeightAboveFirstAxleHasBeenSet() const
IsolineTruckOptions & WithMaxSpeed(double value)
IsolineTruckOptions & WithGrossWeight(long long value)
bool TrailerHasBeenSet() const
AWS_GEOROUTES_API IsolineTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTunnelRestrictionCode() const
long long GetHeight() const
void SetHazardousCargos(HazardousCargosT &&value)
long long GetKpraLength() const
void SetLength(long long value)
long long GetPayloadCapacity() const
void SetGrossWeight(long long value)
void SetMaxSpeed(double value)
IsolineTruckOptions & AddHazardousCargos(IsolineHazardousCargoType value)
void SetHeight(long long value)
void SetWeightPerAxleGroup(WeightPerAxleGroupT &&value)
bool MaxSpeedHasBeenSet() const
AWS_GEOROUTES_API IsolineTruckOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineTruckOptions & WithLicensePlate(LicensePlateT &&value)
IsolineTruckOptions & WithHeight(long long value)
IsolineTruckOptions & WithWeightPerAxle(long long value)
IsolineTruckOptions & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
void SetAxleCount(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetGrossWeight() const
IsolineTruckOptions & WithAxleCount(int value)
void SetLicensePlate(LicensePlateT &&value)
IsolineTruckOptions & WithKpraLength(long long value)
double GetMaxSpeed() const
IsolineTruckOptions & WithLength(long long value)
void SetTruckType(IsolineTruckType value)
void SetWeightPerAxle(long long value)
const IsolineVehicleLicensePlate & GetLicensePlate() const
bool PayloadCapacityHasBeenSet() const
void SetKpraLength(long long value)
bool WidthHasBeenSet() const
IsolineEngineType GetEngineType() const
AWS_GEOROUTES_API IsolineTruckOptions()=default
bool OccupancyHasBeenSet() const
const Aws::Vector< IsolineHazardousCargoType > & GetHazardousCargos() const
IsolineTruckOptions & WithHeightAboveFirstAxle(long long value)
void SetHeightAboveFirstAxle(long long value)
bool WeightPerAxleHasBeenSet() const
void SetTrailer(TrailerT &&value)
bool WeightPerAxleGroupHasBeenSet() const
IsolineTruckOptions & WithOccupancy(int value)
IsolineTruckOptions & WithWidth(long long value)
void SetEngineType(IsolineEngineType value)
IsolineHazardousCargoType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue