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>
49 m_axleCountHasBeenSet =
true;
65 m_engineTypeHasBeenSet =
true;
82 m_grossWeightHasBeenSet =
true;
83 m_grossWeight = value;
97 template <
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
99 m_hazardousCargosHasBeenSet =
true;
100 m_hazardousCargos = std::forward<HazardousCargosT>(value);
102 template <
typename HazardousCargosT = Aws::Vector<IsolineHazardousCargoType>>
108 m_hazardousCargosHasBeenSet =
true;
109 m_hazardousCargos.push_back(value);
121 m_heightHasBeenSet =
true;
138 m_heightAboveFirstAxleHasBeenSet =
true;
139 m_heightAboveFirstAxle = value;
155 m_kpraLengthHasBeenSet =
true;
156 m_kpraLength = value;
171 m_lengthHasBeenSet =
true;
186 template <
typename LicensePlateT = IsolineVehicleLicensePlate>
188 m_licensePlateHasBeenSet =
true;
189 m_licensePlate = std::forward<LicensePlateT>(value);
191 template <
typename LicensePlateT = IsolineVehicleLicensePlate>
206 m_maxSpeedHasBeenSet =
true;
223 m_occupancyHasBeenSet =
true;
240 m_payloadCapacityHasBeenSet =
true;
241 m_payloadCapacity = value;
256 m_tireCountHasBeenSet =
true;
271 template <
typename TrailerT = IsolineTrailerOptions>
273 m_trailerHasBeenSet =
true;
274 m_trailer = std::forward<TrailerT>(value);
276 template <
typename TrailerT = IsolineTrailerOptions>
290 m_truckTypeHasBeenSet =
true;
316 template <
typename TunnelRestrictionCodeT = Aws::String>
318 m_tunnelRestrictionCodeHasBeenSet =
true;
319 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
321 template <
typename TunnelRestrictionCodeT = Aws::String>
337 m_weightPerAxleHasBeenSet =
true;
338 m_weightPerAxle = value;
354 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
356 m_weightPerAxleGroupHasBeenSet =
true;
357 m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value);
359 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
370 inline long long GetWidth()
const {
return m_width; }
373 m_widthHasBeenSet =
true;
386 long long m_grossWeight{0};
390 long long m_height{0};
392 long long m_heightAboveFirstAxle{0};
394 long long m_kpraLength{0};
396 long long m_length{0};
398 IsolineVehicleLicensePlate m_licensePlate;
400 double m_maxSpeed{0.0};
404 long long m_payloadCapacity{0};
408 IsolineTrailerOptions m_trailer;
414 long long m_weightPerAxle{0};
416 WeightPerAxleGroup m_weightPerAxleGroup;
418 long long m_width{0};
419 bool m_axleCountHasBeenSet =
false;
420 bool m_engineTypeHasBeenSet =
false;
421 bool m_grossWeightHasBeenSet =
false;
422 bool m_hazardousCargosHasBeenSet =
false;
423 bool m_heightHasBeenSet =
false;
424 bool m_heightAboveFirstAxleHasBeenSet =
false;
425 bool m_kpraLengthHasBeenSet =
false;
426 bool m_lengthHasBeenSet =
false;
427 bool m_licensePlateHasBeenSet =
false;
428 bool m_maxSpeedHasBeenSet =
false;
429 bool m_occupancyHasBeenSet =
false;
430 bool m_payloadCapacityHasBeenSet =
false;
431 bool m_tireCountHasBeenSet =
false;
432 bool m_trailerHasBeenSet =
false;
433 bool m_truckTypeHasBeenSet =
false;
434 bool m_tunnelRestrictionCodeHasBeenSet =
false;
435 bool m_weightPerAxleHasBeenSet =
false;
436 bool m_weightPerAxleGroupHasBeenSet =
false;
437 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