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/WaypointOptimizationHazardousCargoType.h>
11#include <aws/geo-routes/model/WaypointOptimizationTrailerOptions.h>
12#include <aws/geo-routes/model/WaypointOptimizationTruckType.h>
47 m_grossWeightHasBeenSet =
true;
48 m_grossWeight = value;
62 template <
typename HazardousCargosT = Aws::Vector<Waypo
intOptimizationHazardousCargoType>>
64 m_hazardousCargosHasBeenSet =
true;
65 m_hazardousCargos = std::forward<HazardousCargosT>(value);
67 template <
typename HazardousCargosT = Aws::Vector<Waypo
intOptimizationHazardousCargoType>>
73 m_hazardousCargosHasBeenSet =
true;
74 m_hazardousCargos.push_back(value);
83 inline long long GetHeight()
const {
return m_height; }
86 m_heightHasBeenSet =
true;
99 inline long long GetLength()
const {
return m_length; }
102 m_lengthHasBeenSet =
true;
117 template <
typename TrailerT = Waypo
intOptimizationTrailerOptions>
119 m_trailerHasBeenSet =
true;
120 m_trailer = std::forward<TrailerT>(value);
122 template <
typename TrailerT = Waypo
intOptimizationTrailerOptions>
138 m_truckTypeHasBeenSet =
true;
164 template <
typename TunnelRestrictionCodeT = Aws::String>
166 m_tunnelRestrictionCodeHasBeenSet =
true;
167 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
169 template <
typename TunnelRestrictionCodeT = Aws::String>
185 m_weightPerAxleHasBeenSet =
true;
186 m_weightPerAxle = value;
198 inline long long GetWidth()
const {
return m_width; }
201 m_widthHasBeenSet =
true;
210 long long m_grossWeight{0};
214 long long m_height{0};
216 long long m_length{0};
218 WaypointOptimizationTrailerOptions m_trailer;
224 long long m_weightPerAxle{0};
226 long long m_width{0};
227 bool m_grossWeightHasBeenSet =
false;
228 bool m_hazardousCargosHasBeenSet =
false;
229 bool m_heightHasBeenSet =
false;
230 bool m_lengthHasBeenSet =
false;
231 bool m_trailerHasBeenSet =
false;
232 bool m_truckTypeHasBeenSet =
false;
233 bool m_tunnelRestrictionCodeHasBeenSet =
false;
234 bool m_weightPerAxleHasBeenSet =
false;
235 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