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; }
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; }
120 inline void SetTunnelRestrictionCode(
const char* value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode.assign(value); }
130 inline long long GetWidth()
const{
return m_width; }
132 inline void SetWidth(
long long value) { m_widthHasBeenSet =
true; m_width = value; }
137 long long m_grossWeight;
138 bool m_grossWeightHasBeenSet =
false;
141 bool m_hazardousCargosHasBeenSet =
false;
144 bool m_heightHasBeenSet =
false;
147 bool m_lengthHasBeenSet =
false;
150 bool m_trailerHasBeenSet =
false;
153 bool m_tunnelRestrictionCodeHasBeenSet =
false;
156 bool m_widthHasBeenSet =
false;
RoadSnapTruckOptions & WithTunnelRestrictionCode(const char *value)
RoadSnapTruckOptions & WithHeight(long long value)
RoadSnapTruckOptions & WithTrailer(const RoadSnapTrailerOptions &value)
long long GetGrossWeight() const
void SetTunnelRestrictionCode(const Aws::String &value)
void SetHazardousCargos(Aws::Vector< RoadSnapHazardousCargoType > &&value)
bool HeightHasBeenSet() const
bool TunnelRestrictionCodeHasBeenSet() const
void SetTunnelRestrictionCode(const char *value)
void SetWidth(long long value)
RoadSnapTruckOptions & AddHazardousCargos(const RoadSnapHazardousCargoType &value)
RoadSnapTruckOptions & WithWidth(long long value)
void SetGrossWeight(long long value)
RoadSnapTruckOptions & WithTunnelRestrictionCode(Aws::String &&value)
void SetTunnelRestrictionCode(Aws::String &&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(const RoadSnapTrailerOptions &value)
void SetLength(long long value)
long long GetLength() const
RoadSnapTruckOptions & WithHazardousCargos(const Aws::Vector< RoadSnapHazardousCargoType > &value)
long long GetWidth() const
RoadSnapTruckOptions & WithTunnelRestrictionCode(const Aws::String &value)
void SetHeight(long long value)
RoadSnapTruckOptions & AddHazardousCargos(RoadSnapHazardousCargoType &&value)
void SetHazardousCargos(const Aws::Vector< RoadSnapHazardousCargoType > &value)
RoadSnapTruckOptions & WithGrossWeight(long long value)
void SetTrailer(RoadSnapTrailerOptions &&value)
const RoadSnapTrailerOptions & GetTrailer() const
AWS_GEOROUTES_API RoadSnapTruckOptions()
bool GrossWeightHasBeenSet() const
const Aws::Vector< RoadSnapHazardousCargoType > & GetHazardousCargos() const
const Aws::String & GetTunnelRestrictionCode() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoadSnapTruckOptions & WithHazardousCargos(Aws::Vector< RoadSnapHazardousCargoType > &&value)
RoadSnapTruckOptions & WithLength(long long value)
RoadSnapTruckOptions & WithTrailer(RoadSnapTrailerOptions &&value)
bool WidthHasBeenSet() const
long long GetHeight() const
bool LengthHasBeenSet() const
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