7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/IsolineEngineType.h>
11#include <aws/geo-routes/model/IsolineHazardousCargoType.h>
12#include <aws/geo-routes/model/IsolineTrailerOptions.h>
13#include <aws/geo-routes/model/IsolineTruckType.h>
14#include <aws/geo-routes/model/IsolineVehicleLicensePlate.h>
15#include <aws/geo-routes/model/WeightPerAxleGroup.h>
52 m_axleCountHasBeenSet =
true;
73 m_engineTypeHasBeenSet =
true;
92 m_grossWeightHasBeenSet =
true;
93 m_grossWeight = value;
121 template <
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
123 m_hazardousCargosHasBeenSet =
true;
124 m_hazardousCargos = std::forward<HazardousCargosT>(value);
126 template <
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
132 m_hazardousCargosHasBeenSet =
true;
133 m_hazardousCargos.push_back(value);
146 m_heightHasBeenSet =
true;
164 m_heightAboveFirstAxleHasBeenSet =
true;
165 m_heightAboveFirstAxle = value;
182 m_kpraLengthHasBeenSet =
true;
183 m_kpraLength = value;
200 m_lengthHasBeenSet =
true;
216 template <
typename LicensePlateT = IsolineVehicleLicensePlate>
218 m_licensePlateHasBeenSet =
true;
219 m_licensePlate = std::forward<LicensePlateT>(value);
221 template <
typename LicensePlateT = IsolineVehicleLicensePlate>
239 m_maxSpeedHasBeenSet =
true;
257 m_occupancyHasBeenSet =
true;
274 m_payloadCapacityHasBeenSet =
true;
275 m_payloadCapacity = value;
290 m_tireCountHasBeenSet =
true;
308 template <
typename TrailerT = IsolineTrailerOptions>
310 m_trailerHasBeenSet =
true;
311 m_trailer = std::forward<TrailerT>(value);
313 template <
typename TrailerT = IsolineTrailerOptions>
329 m_truckTypeHasBeenSet =
true;
355 template <
typename TunnelRestrictionCodeT = Aws::String>
357 m_tunnelRestrictionCodeHasBeenSet =
true;
358 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
360 template <
typename TunnelRestrictionCodeT = Aws::String>
377 m_weightPerAxleHasBeenSet =
true;
378 m_weightPerAxle = value;
394 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
396 m_weightPerAxleGroupHasBeenSet =
true;
397 m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value);
399 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
411 inline long long GetWidth()
const {
return m_width; }
414 m_widthHasBeenSet =
true;
427 long long m_grossWeight{0};
431 long long m_height{0};
433 long long m_heightAboveFirstAxle{0};
435 long long m_kpraLength{0};
437 long long m_length{0};
439 IsolineVehicleLicensePlate m_licensePlate;
441 double m_maxSpeed{0.0};
445 long long m_payloadCapacity{0};
449 IsolineTrailerOptions m_trailer;
455 long long m_weightPerAxle{0};
457 WeightPerAxleGroup m_weightPerAxleGroup;
459 long long m_width{0};
460 bool m_axleCountHasBeenSet =
false;
461 bool m_engineTypeHasBeenSet =
false;
462 bool m_grossWeightHasBeenSet =
false;
463 bool m_hazardousCargosHasBeenSet =
false;
464 bool m_heightHasBeenSet =
false;
465 bool m_heightAboveFirstAxleHasBeenSet =
false;
466 bool m_kpraLengthHasBeenSet =
false;
467 bool m_lengthHasBeenSet =
false;
468 bool m_licensePlateHasBeenSet =
false;
469 bool m_maxSpeedHasBeenSet =
false;
470 bool m_occupancyHasBeenSet =
false;
471 bool m_payloadCapacityHasBeenSet =
false;
472 bool m_tireCountHasBeenSet =
false;
473 bool m_trailerHasBeenSet =
false;
474 bool m_truckTypeHasBeenSet =
false;
475 bool m_tunnelRestrictionCodeHasBeenSet =
false;
476 bool m_weightPerAxleHasBeenSet =
false;
477 bool m_weightPerAxleGroupHasBeenSet =
false;
478 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