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>
52 m_axleCountHasBeenSet =
true;
68 m_engineTypeHasBeenSet =
true;
85 m_grossWeightHasBeenSet =
true;
86 m_grossWeight = value;
100 template <
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
102 m_hazardousCargosHasBeenSet =
true;
103 m_hazardousCargos = std::forward<HazardousCargosT>(value);
105 template <
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
111 m_hazardousCargosHasBeenSet =
true;
112 m_hazardousCargos.push_back(value);
124 m_heightHasBeenSet =
true;
141 m_heightAboveFirstAxleHasBeenSet =
true;
142 m_heightAboveFirstAxle = value;
158 m_kpraLengthHasBeenSet =
true;
159 m_kpraLength = value;
174 m_lengthHasBeenSet =
true;
189 template <
typename LicensePlateT = RouteVehicleLicensePlate>
191 m_licensePlateHasBeenSet =
true;
192 m_licensePlate = std::forward<LicensePlateT>(value);
194 template <
typename LicensePlateT = RouteVehicleLicensePlate>
208 m_maxSpeedHasBeenSet =
true;
225 m_occupancyHasBeenSet =
true;
242 m_payloadCapacityHasBeenSet =
true;
243 m_payloadCapacity = value;
258 m_tireCountHasBeenSet =
true;
273 template <
typename TrailerT = RouteTrailerOptions>
275 m_trailerHasBeenSet =
true;
276 m_trailer = std::forward<TrailerT>(value);
278 template <
typename TrailerT = RouteTrailerOptions>
294 m_truckTypeHasBeenSet =
true;
320 template <
typename TunnelRestrictionCodeT = Aws::String>
322 m_tunnelRestrictionCodeHasBeenSet =
true;
323 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
325 template <
typename TunnelRestrictionCodeT = Aws::String>
341 m_weightPerAxleHasBeenSet =
true;
342 m_weightPerAxle = value;
358 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
360 m_weightPerAxleGroupHasBeenSet =
true;
361 m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value);
363 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
374 inline long long GetWidth()
const {
return m_width; }
377 m_widthHasBeenSet =
true;
390 long long m_grossWeight{0};
394 long long m_height{0};
396 long long m_heightAboveFirstAxle{0};
398 long long m_kpraLength{0};
400 long long m_length{0};
402 RouteVehicleLicensePlate m_licensePlate;
404 double m_maxSpeed{0.0};
408 long long m_payloadCapacity{0};
412 RouteTrailerOptions m_trailer;
418 long long m_weightPerAxle{0};
420 WeightPerAxleGroup m_weightPerAxleGroup;
422 long long m_width{0};
423 bool m_axleCountHasBeenSet =
false;
424 bool m_engineTypeHasBeenSet =
false;
425 bool m_grossWeightHasBeenSet =
false;
426 bool m_hazardousCargosHasBeenSet =
false;
427 bool m_heightHasBeenSet =
false;
428 bool m_heightAboveFirstAxleHasBeenSet =
false;
429 bool m_kpraLengthHasBeenSet =
false;
430 bool m_lengthHasBeenSet =
false;
431 bool m_licensePlateHasBeenSet =
false;
432 bool m_maxSpeedHasBeenSet =
false;
433 bool m_occupancyHasBeenSet =
false;
434 bool m_payloadCapacityHasBeenSet =
false;
435 bool m_tireCountHasBeenSet =
false;
436 bool m_trailerHasBeenSet =
false;
437 bool m_truckTypeHasBeenSet =
false;
438 bool m_tunnelRestrictionCodeHasBeenSet =
false;
439 bool m_weightPerAxleHasBeenSet =
false;
440 bool m_weightPerAxleGroupHasBeenSet =
false;
441 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