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/RoadSnapHazardousCargoType.h>
11#include <aws/geo-routes/model/RoadSnapTrailerOptions.h>
46 m_grossWeightHasBeenSet =
true;
47 m_grossWeight = value;
61 template <
typename HazardousCargosT = Aws::Vector<RoadSnapHazardousCargoType>>
63 m_hazardousCargosHasBeenSet =
true;
64 m_hazardousCargos = std::forward<HazardousCargosT>(value);
66 template <
typename HazardousCargosT = Aws::Vector<RoadSnapHazardousCargoType>>
72 m_hazardousCargosHasBeenSet =
true;
73 m_hazardousCargos.push_back(value);
82 inline long long GetHeight()
const {
return m_height; }
85 m_heightHasBeenSet =
true;
98 inline long long GetLength()
const {
return m_length; }
101 m_lengthHasBeenSet =
true;
116 template <
typename TrailerT = RoadSnapTrailerOptions>
118 m_trailerHasBeenSet =
true;
119 m_trailer = std::forward<TrailerT>(value);
121 template <
typename TrailerT = RoadSnapTrailerOptions>
145 template <
typename TunnelRestrictionCodeT = Aws::String>
147 m_tunnelRestrictionCodeHasBeenSet =
true;
148 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
150 template <
typename TunnelRestrictionCodeT = Aws::String>
161 inline long long GetWidth()
const {
return m_width; }
164 m_widthHasBeenSet =
true;
173 long long m_grossWeight{0};
177 long long m_height{0};
179 long long m_length{0};
181 RoadSnapTrailerOptions m_trailer;
185 long long m_width{0};
186 bool m_grossWeightHasBeenSet =
false;
187 bool m_hazardousCargosHasBeenSet =
false;
188 bool m_heightHasBeenSet =
false;
189 bool m_lengthHasBeenSet =
false;
190 bool m_trailerHasBeenSet =
false;
191 bool m_tunnelRestrictionCodeHasBeenSet =
false;
192 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