7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteMatrixVehicleLicensePlate.h>
10#include <aws/geo-routes/model/RouteMatrixTrailerOptions.h>
11#include <aws/geo-routes/model/RouteMatrixTruckType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/geo-routes/model/WeightPerAxleGroup.h>
14#include <aws/geo-routes/model/RouteMatrixHazardousCargoType.h>
53 inline void SetAxleCount(
int value) { m_axleCountHasBeenSet =
true; m_axleCount = value; }
64 inline void SetGrossWeight(
long long value) { m_grossWeightHasBeenSet =
true; m_grossWeight = value; }
74 template<
typename HazardousCargosT = Aws::Vector<RouteMatrixHazardousCargoType>>
75 void SetHazardousCargos(HazardousCargosT&& value) { m_hazardousCargosHasBeenSet =
true; m_hazardousCargos = std::forward<HazardousCargosT>(value); }
76 template<
typename HazardousCargosT = Aws::Vector<RouteMatrixHazardousCargoType>>
85 inline long long GetHeight()
const {
return m_height; }
87 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
98 inline void SetKpraLength(
long long value) { m_kpraLengthHasBeenSet =
true; m_kpraLength = value; }
108 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
118 template<
typename LicensePlateT = RouteMatrixVehicleLicensePlate>
119 void SetLicensePlate(LicensePlateT&& value) { m_licensePlateHasBeenSet =
true; m_licensePlate = std::forward<LicensePlateT>(value); }
120 template<
typename LicensePlateT = RouteMatrixVehicleLicensePlate>
130 inline void SetMaxSpeed(
double value) { m_maxSpeedHasBeenSet =
true; m_maxSpeed = value; }
141 inline void SetOccupancy(
int value) { m_occupancyHasBeenSet =
true; m_occupancy = value; }
152 inline void SetPayloadCapacity(
long long value) { m_payloadCapacityHasBeenSet =
true; m_payloadCapacity = value; }
162 template<
typename TrailerT = RouteMatrixTrailerOptions>
163 void SetTrailer(TrailerT&& value) { m_trailerHasBeenSet =
true; m_trailer = std::forward<TrailerT>(value); }
164 template<
typename TrailerT = RouteMatrixTrailerOptions>
195 template<
typename TunnelRestrictionCodeT = Aws::String>
196 void SetTunnelRestrictionCode(TunnelRestrictionCodeT&& value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value); }
197 template<
typename TunnelRestrictionCodeT = Aws::String>
209 inline void SetWeightPerAxle(
long long value) { m_weightPerAxleHasBeenSet =
true; m_weightPerAxle = value; }
220 template<
typename WeightPerAxleGroupT = WeightPerAxleGroup>
221 void SetWeightPerAxleGroup(WeightPerAxleGroupT&& value) { m_weightPerAxleGroupHasBeenSet =
true; m_weightPerAxleGroup = std::forward<WeightPerAxleGroupT>(value); }
222 template<
typename WeightPerAxleGroupT = WeightPerAxleGroup>
230 inline long long GetWidth()
const {
return m_width; }
232 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
238 bool m_axleCountHasBeenSet =
false;
240 long long m_grossWeight{0};
241 bool m_grossWeightHasBeenSet =
false;
244 bool m_hazardousCargosHasBeenSet =
false;
246 long long m_height{0};
247 bool m_heightHasBeenSet =
false;
249 long long m_kpraLength{0};
250 bool m_kpraLengthHasBeenSet =
false;
252 long long m_length{0};
253 bool m_lengthHasBeenSet =
false;
255 RouteMatrixVehicleLicensePlate m_licensePlate;
256 bool m_licensePlateHasBeenSet =
false;
258 double m_maxSpeed{0.0};
259 bool m_maxSpeedHasBeenSet =
false;
262 bool m_occupancyHasBeenSet =
false;
264 long long m_payloadCapacity{0};
265 bool m_payloadCapacityHasBeenSet =
false;
267 RouteMatrixTrailerOptions m_trailer;
268 bool m_trailerHasBeenSet =
false;
271 bool m_truckTypeHasBeenSet =
false;
274 bool m_tunnelRestrictionCodeHasBeenSet =
false;
276 long long m_weightPerAxle{0};
277 bool m_weightPerAxleHasBeenSet =
false;
279 WeightPerAxleGroup m_weightPerAxleGroup;
280 bool m_weightPerAxleGroupHasBeenSet =
false;
282 long long m_width{0};
283 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