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/RouteMatrixHazardousCargoType.h>
11#include <aws/geo-routes/model/RouteMatrixTrailerOptions.h>
12#include <aws/geo-routes/model/RouteMatrixTruckType.h>
13#include <aws/geo-routes/model/RouteMatrixVehicleLicensePlate.h>
14#include <aws/geo-routes/model/WeightPerAxleGroup.h>
48 m_axleCountHasBeenSet =
true;
65 m_grossWeightHasBeenSet =
true;
66 m_grossWeight = value;
80 template <
typename HazardousCargosT = Aws::Vector<RouteMatrixHazardousCargoType>>
82 m_hazardousCargosHasBeenSet =
true;
83 m_hazardousCargos = std::forward<HazardousCargosT>(value);
85 template <
typename HazardousCargosT = Aws::Vector<RouteMatrixHazardousCargoType>>
91 m_hazardousCargosHasBeenSet =
true;
92 m_hazardousCargos.push_back(value);
104 m_heightHasBeenSet =
true;
121 m_kpraLengthHasBeenSet =
true;
122 m_kpraLength = value;
137 m_lengthHasBeenSet =
true;
152 template <
typename LicensePlateT = RouteMatrixVehicleLicensePlate>
154 m_licensePlateHasBeenSet =
true;
155 m_licensePlate = std::forward<LicensePlateT>(value);
157 template <
typename LicensePlateT = RouteMatrixVehicleLicensePlate>
171 m_maxSpeedHasBeenSet =
true;
188 m_occupancyHasBeenSet =
true;
205 m_payloadCapacityHasBeenSet =
true;
206 m_payloadCapacity = value;
220 template <
typename TrailerT = RouteMatrixTrailerOptions>
222 m_trailerHasBeenSet =
true;
223 m_trailer = std::forward<TrailerT>(value);
225 template <
typename TrailerT = RouteMatrixTrailerOptions>
239 m_truckTypeHasBeenSet =
true;
265 template <
typename TunnelRestrictionCodeT = Aws::String>
267 m_tunnelRestrictionCodeHasBeenSet =
true;
268 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
270 template <
typename TunnelRestrictionCodeT = Aws::String>
286 m_weightPerAxleHasBeenSet =
true;
287 m_weightPerAxle = value;
302 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
304 m_weightPerAxleGroupHasBeenSet =
true;
305 m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value);
307 template <
typename WeightPerAxleGroupT = WeightPerAxleGroup>
318 inline long long GetWidth()
const {
return m_width; }
321 m_widthHasBeenSet =
true;
332 long long m_grossWeight{0};
336 long long m_height{0};
338 long long m_kpraLength{0};
340 long long m_length{0};
342 RouteMatrixVehicleLicensePlate m_licensePlate;
344 double m_maxSpeed{0.0};
348 long long m_payloadCapacity{0};
350 RouteMatrixTrailerOptions m_trailer;
356 long long m_weightPerAxle{0};
358 WeightPerAxleGroup m_weightPerAxleGroup;
360 long long m_width{0};
361 bool m_axleCountHasBeenSet =
false;
362 bool m_grossWeightHasBeenSet =
false;
363 bool m_hazardousCargosHasBeenSet =
false;
364 bool m_heightHasBeenSet =
false;
365 bool m_kpraLengthHasBeenSet =
false;
366 bool m_lengthHasBeenSet =
false;
367 bool m_licensePlateHasBeenSet =
false;
368 bool m_maxSpeedHasBeenSet =
false;
369 bool m_occupancyHasBeenSet =
false;
370 bool m_payloadCapacityHasBeenSet =
false;
371 bool m_trailerHasBeenSet =
false;
372 bool m_truckTypeHasBeenSet =
false;
373 bool m_tunnelRestrictionCodeHasBeenSet =
false;
374 bool m_weightPerAxleHasBeenSet =
false;
375 bool m_weightPerAxleGroupHasBeenSet =
false;
376 bool m_widthHasBeenSet =
false;
RouteMatrixTruckOptions & WithLength(long long value)
RouteMatrixTruckOptions & WithWeightPerAxle(long long value)
long long GetKpraLength() const
bool MaxSpeedHasBeenSet() const
RouteMatrixTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroupT &&value)
void SetWeightPerAxle(long long value)
bool HeightHasBeenSet() const
double GetMaxSpeed() const
const Aws::Vector< RouteMatrixHazardousCargoType > & GetHazardousCargos() const
void SetTrailer(TrailerT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteMatrixTruckOptions & WithOccupancy(int value)
bool LicensePlateHasBeenSet() const
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
void SetKpraLength(long long value)
void SetAxleCount(int value)
bool KpraLengthHasBeenSet() const
RouteMatrixTruckOptions & WithHazardousCargos(HazardousCargosT &&value)
RouteMatrixTruckOptions & WithKpraLength(long long value)
AWS_GEOROUTES_API RouteMatrixTruckOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteMatrixTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixVehicleLicensePlate & GetLicensePlate() const
RouteMatrixTruckOptions & WithTrailer(TrailerT &&value)
void SetPayloadCapacity(long long value)
bool TruckTypeHasBeenSet() const
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
bool GrossWeightHasBeenSet() const
bool OccupancyHasBeenSet() const
RouteMatrixTruckType GetTruckType() const
void SetGrossWeight(long long value)
const RouteMatrixTrailerOptions & GetTrailer() const
void SetLength(long long value)
void SetTruckType(RouteMatrixTruckType value)
void SetOccupancy(int value)
RouteMatrixTruckOptions & WithAxleCount(int value)
RouteMatrixTruckOptions & WithLicensePlate(LicensePlateT &&value)
bool WidthHasBeenSet() const
long long GetPayloadCapacity() const
RouteMatrixTruckOptions & WithGrossWeight(long long value)
RouteMatrixTruckOptions & WithPayloadCapacity(long long value)
bool WeightPerAxleGroupHasBeenSet() const
long long GetWeightPerAxle() const
void SetWidth(long long value)
bool TunnelRestrictionCodeHasBeenSet() const
RouteMatrixTruckOptions & WithMaxSpeed(double value)
RouteMatrixTruckOptions & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
void SetWeightPerAxleGroup(WeightPerAxleGroupT &&value)
void SetMaxSpeed(double value)
bool WeightPerAxleHasBeenSet() const
RouteMatrixTruckOptions & AddHazardousCargos(RouteMatrixHazardousCargoType value)
const Aws::String & GetTunnelRestrictionCode() const
bool TrailerHasBeenSet() const
void SetLicensePlate(LicensePlateT &&value)
bool LengthHasBeenSet() const
AWS_GEOROUTES_API RouteMatrixTruckOptions()=default
void SetHeight(long long value)
long long GetHeight() const
long long GetWidth() const
bool HazardousCargosHasBeenSet() const
bool AxleCountHasBeenSet() const
RouteMatrixTruckOptions & WithTruckType(RouteMatrixTruckType value)
bool PayloadCapacityHasBeenSet() const
RouteMatrixTruckOptions & WithWidth(long long value)
long long GetLength() const
RouteMatrixTruckOptions & WithHeight(long long value)
void SetHazardousCargos(HazardousCargosT &&value)
long long GetGrossWeight() const
RouteMatrixHazardousCargoType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue