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; }
74 inline long long GetHeight()
const{
return m_height; }
76 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
84 inline long long GetLength()
const{
return m_length; }
86 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
133 inline void SetTunnelRestrictionCode(
const char* value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode.assign(value); }
147 inline void SetWeightPerAxle(
long long value) { m_weightPerAxleHasBeenSet =
true; m_weightPerAxle = value; }
155 inline long long GetWidth()
const{
return m_width; }
157 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
162 long long m_grossWeight;
163 bool m_grossWeightHasBeenSet =
false;
166 bool m_hazardousCargosHasBeenSet =
false;
169 bool m_heightHasBeenSet =
false;
172 bool m_lengthHasBeenSet =
false;
175 bool m_trailerHasBeenSet =
false;
178 bool m_truckTypeHasBeenSet =
false;
181 bool m_tunnelRestrictionCodeHasBeenSet =
false;
183 long long m_weightPerAxle;
184 bool m_weightPerAxleHasBeenSet =
false;
187 bool m_widthHasBeenSet =
false;
WaypointOptimizationTruckOptions & WithTunnelRestrictionCode(const Aws::String &value)
void SetTrailer(const WaypointOptimizationTrailerOptions &value)
void SetTunnelRestrictionCode(const Aws::String &value)
void SetWeightPerAxle(long long value)
long long GetWidth() const
bool WeightPerAxleHasBeenSet() const
AWS_GEOROUTES_API WaypointOptimizationTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTruckType(const WaypointOptimizationTruckType &value)
const WaypointOptimizationTruckType & GetTruckType() const
void SetTruckType(WaypointOptimizationTruckType &&value)
long long GetWeightPerAxle() const
WaypointOptimizationTruckOptions & WithWeightPerAxle(long long value)
WaypointOptimizationTruckOptions & WithTrailer(WaypointOptimizationTrailerOptions &&value)
const Aws::Vector< WaypointOptimizationHazardousCargoType > & GetHazardousCargos() const
long long GetGrossWeight() const
WaypointOptimizationTruckOptions & WithWidth(long long value)
const WaypointOptimizationTrailerOptions & GetTrailer() const
void SetTunnelRestrictionCode(const char *value)
WaypointOptimizationTruckOptions & AddHazardousCargos(WaypointOptimizationHazardousCargoType &&value)
long long GetHeight() const
bool HazardousCargosHasBeenSet() const
bool WidthHasBeenSet() const
bool HeightHasBeenSet() const
void SetWidth(long long value)
void SetGrossWeight(long long value)
long long GetLength() const
void SetHazardousCargos(Aws::Vector< WaypointOptimizationHazardousCargoType > &&value)
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
AWS_GEOROUTES_API WaypointOptimizationTruckOptions()
WaypointOptimizationTruckOptions & WithTunnelRestrictionCode(Aws::String &&value)
WaypointOptimizationTruckOptions & WithGrossWeight(long long value)
WaypointOptimizationTruckOptions & WithTrailer(const WaypointOptimizationTrailerOptions &value)
bool TruckTypeHasBeenSet() const
WaypointOptimizationTruckOptions & WithTunnelRestrictionCode(const char *value)
WaypointOptimizationTruckOptions & WithHazardousCargos(const Aws::Vector< WaypointOptimizationHazardousCargoType > &value)
bool TrailerHasBeenSet() const
WaypointOptimizationTruckOptions & AddHazardousCargos(const WaypointOptimizationHazardousCargoType &value)
bool GrossWeightHasBeenSet() const
WaypointOptimizationTruckOptions & WithHazardousCargos(Aws::Vector< WaypointOptimizationHazardousCargoType > &&value)
void SetTunnelRestrictionCode(Aws::String &&value)
const Aws::String & GetTunnelRestrictionCode() const
WaypointOptimizationTruckOptions & WithHeight(long long value)
void SetHazardousCargos(const Aws::Vector< WaypointOptimizationHazardousCargoType > &value)
void SetTrailer(WaypointOptimizationTrailerOptions &&value)
WaypointOptimizationTruckOptions & WithTruckType(WaypointOptimizationTruckType &&value)
WaypointOptimizationTruckOptions & WithTruckType(const WaypointOptimizationTruckType &value)
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