7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/WaypointOptimizationTrailerOptions.h>
10#include <aws/geo-routes/model/WaypointOptimizationTruckType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/geo-routes/model/WaypointOptimizationHazardousCargoType.h>
52 inline void SetGrossWeight(
long long value) { m_grossWeightHasBeenSet =
true; m_grossWeight = value; }
62 template<
typename HazardousCargosT = Aws::Vector<Waypo
intOptimizationHazardousCargoType>>
63 void SetHazardousCargos(HazardousCargosT&& value) { m_hazardousCargosHasBeenSet =
true; m_hazardousCargos = std::forward<HazardousCargosT>(value); }
64 template<
typename HazardousCargosT = Aws::Vector<Waypo
intOptimizationHazardousCargoType>>
73 inline long long GetHeight()
const {
return m_height; }
75 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
83 inline long long GetLength()
const {
return m_length; }
85 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
95 template<
typename TrailerT = Waypo
intOptimizationTrailerOptions>
96 void SetTrailer(TrailerT&& value) { m_trailerHasBeenSet =
true; m_trailer = std::forward<TrailerT>(value); }
97 template<
typename TrailerT = Waypo
intOptimizationTrailerOptions>
128 template<
typename TunnelRestrictionCodeT = Aws::String>
129 void SetTunnelRestrictionCode(TunnelRestrictionCodeT&& value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value); }
130 template<
typename TunnelRestrictionCodeT = Aws::String>
142 inline void SetWeightPerAxle(
long long value) { m_weightPerAxleHasBeenSet =
true; m_weightPerAxle = value; }
150 inline long long GetWidth()
const {
return m_width; }
152 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
157 long long m_grossWeight{0};
158 bool m_grossWeightHasBeenSet =
false;
161 bool m_hazardousCargosHasBeenSet =
false;
163 long long m_height{0};
164 bool m_heightHasBeenSet =
false;
166 long long m_length{0};
167 bool m_lengthHasBeenSet =
false;
169 WaypointOptimizationTrailerOptions m_trailer;
170 bool m_trailerHasBeenSet =
false;
173 bool m_truckTypeHasBeenSet =
false;
176 bool m_tunnelRestrictionCodeHasBeenSet =
false;
178 long long m_weightPerAxle{0};
179 bool m_weightPerAxleHasBeenSet =
false;
181 long long m_width{0};
182 bool m_widthHasBeenSet =
false;
void SetWeightPerAxle(long long value)
WaypointOptimizationTruckOptions & WithHazardousCargos(HazardousCargosT &&value)
WaypointOptimizationTruckOptions & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
long long GetWidth() const
WaypointOptimizationTruckOptions & WithTruckType(WaypointOptimizationTruckType value)
bool WeightPerAxleHasBeenSet() const
AWS_GEOROUTES_API WaypointOptimizationTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetWeightPerAxle() const
WaypointOptimizationTruckOptions & WithWeightPerAxle(long long value)
const Aws::Vector< WaypointOptimizationHazardousCargoType > & GetHazardousCargos() const
long long GetGrossWeight() const
WaypointOptimizationTruckOptions & WithWidth(long long value)
const WaypointOptimizationTrailerOptions & GetTrailer() const
WaypointOptimizationTruckOptions & WithTrailer(TrailerT &&value)
long long GetHeight() const
bool HazardousCargosHasBeenSet() const
bool WidthHasBeenSet() const
bool HeightHasBeenSet() const
void SetWidth(long long value)
WaypointOptimizationTruckType GetTruckType() const
void SetGrossWeight(long long value)
long long GetLength() const
void SetLength(long long value)
WaypointOptimizationTruckOptions & WithLength(long long value)
AWS_GEOROUTES_API WaypointOptimizationTruckOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationTruckOptions & AddHazardousCargos(WaypointOptimizationHazardousCargoType value)
WaypointOptimizationTruckOptions & WithGrossWeight(long long value)
void SetTruckType(WaypointOptimizationTruckType value)
bool TruckTypeHasBeenSet() const
bool TrailerHasBeenSet() const
void SetHazardousCargos(HazardousCargosT &&value)
bool GrossWeightHasBeenSet() const
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
const Aws::String & GetTunnelRestrictionCode() const
WaypointOptimizationTruckOptions & WithHeight(long long value)
void SetTrailer(TrailerT &&value)
AWS_GEOROUTES_API WaypointOptimizationTruckOptions()=default
void SetHeight(long long value)
bool LengthHasBeenSet() const
bool TunnelRestrictionCodeHasBeenSet() const
WaypointOptimizationTruckType
WaypointOptimizationHazardousCargoType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue