7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RoadSnapTrailerOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/RoadSnapHazardousCargoType.h>
51 inline void SetGrossWeight(
long long value) { m_grossWeightHasBeenSet =
true; m_grossWeight = value; }
61 template<
typename HazardousCargosT = Aws::Vector<RoadSnapHazardousCargoType>>
62 void SetHazardousCargos(HazardousCargosT&& value) { m_hazardousCargosHasBeenSet =
true; m_hazardousCargos = std::forward<HazardousCargosT>(value); }
63 template<
typename HazardousCargosT = Aws::Vector<RoadSnapHazardousCargoType>>
72 inline long long GetHeight()
const {
return m_height; }
74 inline void SetHeight(
long long value) { m_heightHasBeenSet =
true; m_height = value; }
82 inline long long GetLength()
const {
return m_length; }
84 inline void SetLength(
long long value) { m_lengthHasBeenSet =
true; m_length = value; }
94 template<
typename TrailerT = RoadSnapTrailerOptions>
95 void SetTrailer(TrailerT&& value) { m_trailerHasBeenSet =
true; m_trailer = std::forward<TrailerT>(value); }
96 template<
typename TrailerT = RoadSnapTrailerOptions>
117 template<
typename TunnelRestrictionCodeT = Aws::String>
118 void SetTunnelRestrictionCode(TunnelRestrictionCodeT&& value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value); }
119 template<
typename TunnelRestrictionCodeT = Aws::String>
127 inline long long GetWidth()
const {
return m_width; }
129 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
134 long long m_grossWeight{0};
135 bool m_grossWeightHasBeenSet =
false;
138 bool m_hazardousCargosHasBeenSet =
false;
140 long long m_height{0};
141 bool m_heightHasBeenSet =
false;
143 long long m_length{0};
144 bool m_lengthHasBeenSet =
false;
146 RoadSnapTrailerOptions m_trailer;
147 bool m_trailerHasBeenSet =
false;
150 bool m_tunnelRestrictionCodeHasBeenSet =
false;
152 long long m_width{0};
153 bool m_widthHasBeenSet =
false;
AWS_GEOROUTES_API RoadSnapTruckOptions()=default
RoadSnapTruckOptions & WithHeight(long long value)
long long GetGrossWeight() const
bool HeightHasBeenSet() const
bool TunnelRestrictionCodeHasBeenSet() const
void SetWidth(long long value)
RoadSnapTruckOptions & WithWidth(long long value)
void SetGrossWeight(long long value)
RoadSnapTruckOptions & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
void SetHazardousCargos(HazardousCargosT &&value)
AWS_GEOROUTES_API RoadSnapTruckOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RoadSnapTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TrailerHasBeenSet() const
void SetTrailer(TrailerT &&value)
void SetLength(long long value)
long long GetLength() const
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
RoadSnapTruckOptions & WithHazardousCargos(HazardousCargosT &&value)
long long GetWidth() const
void SetHeight(long long value)
RoadSnapTruckOptions & AddHazardousCargos(RoadSnapHazardousCargoType value)
RoadSnapTruckOptions & WithGrossWeight(long long value)
const RoadSnapTrailerOptions & GetTrailer() const
bool GrossWeightHasBeenSet() const
const Aws::Vector< RoadSnapHazardousCargoType > & GetHazardousCargos() const
const Aws::String & GetTunnelRestrictionCode() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoadSnapTruckOptions & WithLength(long long value)
bool WidthHasBeenSet() const
long long GetHeight() const
bool LengthHasBeenSet() const
RoadSnapTruckOptions & WithTrailer(TrailerT &&value)
bool HazardousCargosHasBeenSet() const
RoadSnapHazardousCargoType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue