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/RouteEngineType.h>
11#include <aws/geo-routes/model/RouteHazardousCargoType.h>
12#include <aws/geo-routes/model/RouteTrailerOptions.h>
13#include <aws/geo-routes/model/RouteTruckType.h>
14#include <aws/geo-routes/model/RouteVehicleLicensePlate.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<RouteHazardousCargoType>>
99 m_hazardousCargosHasBeenSet =
true;
100 m_hazardousCargos = std::forward<HazardousCargosT>(value);
102 template <
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
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 = RouteVehicleLicensePlate>
188 m_licensePlateHasBeenSet =
true;
189 m_licensePlate = std::forward<LicensePlateT>(value);
191 template <
typename LicensePlateT = RouteVehicleLicensePlate>
205 m_maxSpeedHasBeenSet =
true;
222 m_occupancyHasBeenSet =
true;
239 m_payloadCapacityHasBeenSet =
true;
240 m_payloadCapacity = value;
255 m_tireCountHasBeenSet =
true;
270 template <
typename TrailerT = RouteTrailerOptions>
272 m_trailerHasBeenSet =
true;
273 m_trailer = std::forward<TrailerT>(value);
275 template <
typename TrailerT = RouteTrailerOptions>
289 m_truckTypeHasBeenSet =
true;
315 template <
typename TunnelRestrictionCodeT = Aws::String>
317 m_tunnelRestrictionCodeHasBeenSet =
true;
318 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
320 template <
typename TunnelRestrictionCodeT = Aws::String>
336 m_weightPerAxleHasBeenSet =
true;
337 m_weightPerAxle = value;
353 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
355 m_weightPerAxleGroupHasBeenSet =
true;
356 m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value);
358 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
369 inline long long GetWidth()
const {
return m_width; }
372 m_widthHasBeenSet =
true;
385 long long m_grossWeight{0};
389 long long m_height{0};
391 long long m_heightAboveFirstAxle{0};
393 long long m_kpraLength{0};
395 long long m_length{0};
397 RouteVehicleLicensePlate m_licensePlate;
399 double m_maxSpeed{0.0};
403 long long m_payloadCapacity{0};
407 RouteTrailerOptions m_trailer;
413 long long m_weightPerAxle{0};
415 WeightPerAxleGroup m_weightPerAxleGroup;
417 long long m_width{0};
418 bool m_axleCountHasBeenSet =
false;
419 bool m_engineTypeHasBeenSet =
false;
420 bool m_grossWeightHasBeenSet =
false;
421 bool m_hazardousCargosHasBeenSet =
false;
422 bool m_heightHasBeenSet =
false;
423 bool m_heightAboveFirstAxleHasBeenSet =
false;
424 bool m_kpraLengthHasBeenSet =
false;
425 bool m_lengthHasBeenSet =
false;
426 bool m_licensePlateHasBeenSet =
false;
427 bool m_maxSpeedHasBeenSet =
false;
428 bool m_occupancyHasBeenSet =
false;
429 bool m_payloadCapacityHasBeenSet =
false;
430 bool m_tireCountHasBeenSet =
false;
431 bool m_trailerHasBeenSet =
false;
432 bool m_truckTypeHasBeenSet =
false;
433 bool m_tunnelRestrictionCodeHasBeenSet =
false;
434 bool m_weightPerAxleHasBeenSet =
false;
435 bool m_weightPerAxleGroupHasBeenSet =
false;
436 bool m_widthHasBeenSet =
false;
RouteTruckOptions & WithGrossWeight(long long value)
void SetHazardousCargos(HazardousCargosT &&value)
void SetWeightPerAxle(long long value)
bool WidthHasBeenSet() const
RouteTruckOptions & WithMaxSpeed(double value)
long long GetWidth() const
RouteTruckOptions & WithWidth(long long value)
bool LengthHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHeight(long long value)
bool TrailerHasBeenSet() const
void SetAxleCount(int value)
RouteTruckOptions & WithTrailer(TrailerT &&value)
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
void SetOccupancy(int value)
long long GetWeightPerAxle() const
bool KpraLengthHasBeenSet() const
RouteTruckOptions & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
RouteTruckOptions & WithHeight(long long value)
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
void SetWeightPerAxleGroup(WeightPerAxleGroupT &&value)
RouteTruckOptions & WithAxleCount(int value)
const RouteVehicleLicensePlate & GetLicensePlate() const
RouteTruckOptions & WithTireCount(int value)
long long GetLength() const
void SetTrailer(TrailerT &&value)
long long GetKpraLength() const
bool WeightPerAxleHasBeenSet() const
bool HazardousCargosHasBeenSet() const
double GetMaxSpeed() const
void SetEngineType(RouteEngineType value)
bool GrossWeightHasBeenSet() const
void SetKpraLength(long long value)
RouteTruckType GetTruckType() const
bool HeightAboveFirstAxleHasBeenSet() const
bool PayloadCapacityHasBeenSet() const
RouteTruckOptions & WithEngineType(RouteEngineType value)
long long GetGrossWeight() const
void SetLength(long long value)
const RouteTrailerOptions & GetTrailer() const
RouteTruckOptions & WithHeightAboveFirstAxle(long long value)
void SetPayloadCapacity(long long value)
RouteTruckOptions & AddHazardousCargos(RouteHazardousCargoType value)
void SetLicensePlate(LicensePlateT &&value)
bool TruckTypeHasBeenSet() const
bool TireCountHasBeenSet() const
AWS_GEOROUTES_API RouteTruckOptions(Aws::Utils::Json::JsonView jsonValue)
RouteEngineType GetEngineType() const
RouteTruckOptions & WithWeightPerAxle(long long value)
bool HeightHasBeenSet() const
RouteTruckOptions & WithLicensePlate(LicensePlateT &&value)
long long GetHeight() const
void SetMaxSpeed(double value)
RouteTruckOptions & WithPayloadCapacity(long long value)
RouteTruckOptions & WithLength(long long value)
long long GetPayloadCapacity() const
bool TunnelRestrictionCodeHasBeenSet() const
RouteTruckOptions & WithTruckType(RouteTruckType value)
void SetGrossWeight(long long value)
bool OccupancyHasBeenSet() const
RouteTruckOptions & WithHazardousCargos(HazardousCargosT &&value)
bool WeightPerAxleGroupHasBeenSet() const
bool AxleCountHasBeenSet() const
bool LicensePlateHasBeenSet() const
void SetTireCount(int value)
RouteTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroupT &&value)
void SetWidth(long long value)
bool EngineTypeHasBeenSet() const
RouteTruckOptions & WithKpraLength(long long value)
const Aws::String & GetTunnelRestrictionCode() const
RouteTruckOptions & WithOccupancy(int value)
AWS_GEOROUTES_API RouteTruckOptions()=default
void SetTruckType(RouteTruckType value)
AWS_GEOROUTES_API RouteTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetHeightAboveFirstAxle() const
void SetHeightAboveFirstAxle(long long value)
bool MaxSpeedHasBeenSet() const
const Aws::Vector< RouteHazardousCargoType > & GetHazardousCargos() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue