7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteEngineType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteVehicleLicensePlate.h>
11#include <aws/geo-routes/model/RouteTrailerOptions.h>
12#include <aws/geo-routes/model/RouteTruckType.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/geo-routes/model/WeightPerAxleGroup.h>
15#include <aws/geo-routes/model/RouteHazardousCargoType.h>
54 inline void SetAxleCount(
int value) { m_axleCountHasBeenSet =
true; m_axleCount = value; }
77 inline void SetGrossWeight(
long long value) { m_grossWeightHasBeenSet =
true; m_grossWeight = value; }
99 inline long long GetHeight()
const{
return m_height; }
101 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
112 inline void SetHeightAboveFirstAxle(
long long value) { m_heightAboveFirstAxleHasBeenSet =
true; m_heightAboveFirstAxle = value; }
123 inline void SetKpraLength(
long long value) { m_kpraLengthHasBeenSet =
true; m_kpraLength = value; }
133 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
155 inline void SetMaxSpeed(
double value) { m_maxSpeedHasBeenSet =
true; m_maxSpeed = value; }
166 inline void SetOccupancy(
int value) { m_occupancyHasBeenSet =
true; m_occupancy = value; }
177 inline void SetPayloadCapacity(
long long value) { m_payloadCapacityHasBeenSet =
true; m_payloadCapacity = value; }
187 inline void SetTireCount(
int value) { m_tireCountHasBeenSet =
true; m_tireCount = value; }
234 inline void SetTunnelRestrictionCode(
const char* value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode.assign(value); }
248 inline void SetWeightPerAxle(
long long value) { m_weightPerAxleHasBeenSet =
true; m_weightPerAxle = value; }
270 inline long long GetWidth()
const{
return m_width; }
272 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
278 bool m_axleCountHasBeenSet =
false;
281 bool m_engineTypeHasBeenSet =
false;
283 long long m_grossWeight;
284 bool m_grossWeightHasBeenSet =
false;
287 bool m_hazardousCargosHasBeenSet =
false;
290 bool m_heightHasBeenSet =
false;
292 long long m_heightAboveFirstAxle;
293 bool m_heightAboveFirstAxleHasBeenSet =
false;
295 long long m_kpraLength;
296 bool m_kpraLengthHasBeenSet =
false;
299 bool m_lengthHasBeenSet =
false;
302 bool m_licensePlateHasBeenSet =
false;
305 bool m_maxSpeedHasBeenSet =
false;
308 bool m_occupancyHasBeenSet =
false;
310 long long m_payloadCapacity;
311 bool m_payloadCapacityHasBeenSet =
false;
314 bool m_tireCountHasBeenSet =
false;
317 bool m_trailerHasBeenSet =
false;
320 bool m_truckTypeHasBeenSet =
false;
323 bool m_tunnelRestrictionCodeHasBeenSet =
false;
325 long long m_weightPerAxle;
326 bool m_weightPerAxleHasBeenSet =
false;
329 bool m_weightPerAxleGroupHasBeenSet =
false;
332 bool m_widthHasBeenSet =
false;
RouteTruckOptions & WithGrossWeight(long long value)
void SetWeightPerAxle(long long value)
RouteTruckOptions & WithLicensePlate(RouteVehicleLicensePlate &&value)
RouteTruckOptions & WithTruckType(const RouteTruckType &value)
RouteTruckOptions & AddHazardousCargos(const RouteHazardousCargoType &value)
bool WidthHasBeenSet() const
void SetLicensePlate(RouteVehicleLicensePlate &&value)
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)
void SetWeightPerAxleGroup(WeightPerAxleGroup &&value)
RouteTruckOptions & WithLicensePlate(const RouteVehicleLicensePlate &value)
RouteTruckOptions & WithWeightPerAxleGroup(const WeightPerAxleGroup &value)
RouteTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroup &&value)
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
void SetOccupancy(int value)
long long GetWeightPerAxle() const
bool KpraLengthHasBeenSet() const
RouteTruckOptions & WithHeight(long long value)
RouteTruckOptions & WithTunnelRestrictionCode(Aws::String &&value)
void SetLicensePlate(const RouteVehicleLicensePlate &value)
RouteTruckOptions & WithAxleCount(int value)
const RouteVehicleLicensePlate & GetLicensePlate() const
RouteTruckOptions & WithTireCount(int value)
RouteTruckOptions & WithTrailer(RouteTrailerOptions &&value)
void SetTrailer(const RouteTrailerOptions &value)
long long GetLength() const
const RouteEngineType & GetEngineType() const
long long GetKpraLength() const
bool WeightPerAxleHasBeenSet() const
RouteTruckOptions & WithTrailer(const RouteTrailerOptions &value)
bool HazardousCargosHasBeenSet() const
void SetHazardousCargos(const Aws::Vector< RouteHazardousCargoType > &value)
double GetMaxSpeed() const
bool GrossWeightHasBeenSet() const
void SetKpraLength(long long value)
void SetTunnelRestrictionCode(const Aws::String &value)
const RouteTruckType & GetTruckType() const
void SetTruckType(const RouteTruckType &value)
RouteTruckOptions & WithEngineType(const RouteEngineType &value)
RouteTruckOptions & WithHazardousCargos(const Aws::Vector< RouteHazardousCargoType > &value)
bool HeightAboveFirstAxleHasBeenSet() const
bool PayloadCapacityHasBeenSet() const
void SetWeightPerAxleGroup(const WeightPerAxleGroup &value)
void SetHazardousCargos(Aws::Vector< RouteHazardousCargoType > &&value)
long long GetGrossWeight() const
void SetLength(long long value)
void SetTunnelRestrictionCode(Aws::String &&value)
const RouteTrailerOptions & GetTrailer() const
RouteTruckOptions & WithHeightAboveFirstAxle(long long value)
void SetPayloadCapacity(long long value)
RouteTruckOptions & WithHazardousCargos(Aws::Vector< RouteHazardousCargoType > &&value)
RouteTruckOptions & WithEngineType(RouteEngineType &&value)
bool TruckTypeHasBeenSet() const
bool TireCountHasBeenSet() const
RouteTruckOptions & AddHazardousCargos(RouteHazardousCargoType &&value)
RouteTruckOptions & WithTruckType(RouteTruckType &&value)
AWS_GEOROUTES_API RouteTruckOptions(Aws::Utils::Json::JsonView jsonValue)
RouteTruckOptions & WithWeightPerAxle(long long value)
bool HeightHasBeenSet() const
long long GetHeight() const
void SetMaxSpeed(double value)
RouteTruckOptions & WithPayloadCapacity(long long value)
RouteTruckOptions & WithLength(long long value)
RouteTruckOptions & WithTunnelRestrictionCode(const Aws::String &value)
long long GetPayloadCapacity() const
bool TunnelRestrictionCodeHasBeenSet() const
void SetGrossWeight(long long value)
bool OccupancyHasBeenSet() const
void SetTunnelRestrictionCode(const char *value)
bool WeightPerAxleGroupHasBeenSet() const
bool AxleCountHasBeenSet() const
bool LicensePlateHasBeenSet() const
void SetTireCount(int value)
void SetWidth(long long value)
void SetTruckType(RouteTruckType &&value)
bool EngineTypeHasBeenSet() const
RouteTruckOptions & WithKpraLength(long long value)
const Aws::String & GetTunnelRestrictionCode() const
RouteTruckOptions & WithTunnelRestrictionCode(const char *value)
RouteTruckOptions & WithOccupancy(int value)
AWS_GEOROUTES_API RouteTruckOptions()
void SetTrailer(RouteTrailerOptions &&value)
void SetEngineType(RouteEngineType &&value)
void SetEngineType(const RouteEngineType &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