7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteNoticeDetailRange.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteWeightConstraint.h>
11#include <aws/geo-routes/model/WeightPerAxleGroup.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/geo-routes/model/RouteTruckType.h>
14#include <aws/geo-routes/model/RouteHazardousCargoType.h>
54 inline void SetAllHazardsRestricted(
bool value) { m_allHazardsRestrictedHasBeenSet =
true; m_allHazardsRestricted = value; }
64 template<
typename AxleCountT = RouteNoticeDetailRange>
65 void SetAxleCount(AxleCountT&& value) { m_axleCountHasBeenSet =
true; m_axleCount = std::forward<AxleCountT>(value); }
66 template<
typename AxleCountT = RouteNoticeDetailRange>
76 template<
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
77 void SetHazardousCargos(HazardousCargosT&& value) { m_hazardousCargosHasBeenSet =
true; m_hazardousCargos = std::forward<HazardousCargosT>(value); }
78 template<
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
89 inline void SetMaxHeight(
long long value) { m_maxHeightHasBeenSet =
true; m_maxHeight = value; }
100 inline void SetMaxKpraLength(
long long value) { m_maxKpraLengthHasBeenSet =
true; m_maxKpraLength = value; }
110 inline void SetMaxLength(
long long value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
121 inline void SetMaxPayloadCapacity(
long long value) { m_maxPayloadCapacityHasBeenSet =
true; m_maxPayloadCapacity = value; }
132 template<
typename MaxWeightT = RouteWeightConstra
int>
133 void SetMaxWeight(MaxWeightT&& value) { m_maxWeightHasBeenSet =
true; m_maxWeight = std::forward<MaxWeightT>(value); }
134 template<
typename MaxWeightT = RouteWeightConstra
int>
145 inline void SetMaxWeightPerAxle(
long long value) { m_maxWeightPerAxleHasBeenSet =
true; m_maxWeightPerAxle = value; }
156 template<
typename MaxWeightPerAxleGroupT = WeightPerAxleGroup>
157 void SetMaxWeightPerAxleGroup(MaxWeightPerAxleGroupT&& value) { m_maxWeightPerAxleGroupHasBeenSet =
true; m_maxWeightPerAxleGroup = std::forward<MaxWeightPerAxleGroupT>(value); }
158 template<
typename MaxWeightPerAxleGroupT = WeightPerAxleGroup>
168 inline void SetMaxWidth(
long long value) { m_maxWidthHasBeenSet =
true; m_maxWidth = value; }
179 template<
typename OccupancyT = RouteNoticeDetailRange>
180 void SetOccupancy(OccupancyT&& value) { m_occupancyHasBeenSet =
true; m_occupancy = std::forward<OccupancyT>(value); }
181 template<
typename OccupancyT = RouteNoticeDetailRange>
191 template<
typename RestrictedTimesT = Aws::String>
192 void SetRestrictedTimes(RestrictedTimesT&& value) { m_restrictedTimesHasBeenSet =
true; m_restrictedTimes = std::forward<RestrictedTimesT>(value); }
193 template<
typename RestrictedTimesT = Aws::String>
203 inline void SetTimeDependent(
bool value) { m_timeDependentHasBeenSet =
true; m_timeDependent = value; }
214 template<
typename TrailerCountT = RouteNoticeDetailRange>
215 void SetTrailerCount(TrailerCountT&& value) { m_trailerCountHasBeenSet =
true; m_trailerCount = std::forward<TrailerCountT>(value); }
216 template<
typename TrailerCountT = RouteNoticeDetailRange>
226 inline void SetTravelMode(
bool value) { m_travelModeHasBeenSet =
true; m_travelMode = value; }
239 template<
typename TruckRoadTypeT = Aws::String>
240 void SetTruckRoadType(TruckRoadTypeT&& value) { m_truckRoadTypeHasBeenSet =
true; m_truckRoadType = std::forward<TruckRoadTypeT>(value); }
241 template<
typename TruckRoadTypeT = Aws::String>
272 template<
typename TunnelRestrictionCodeT = Aws::String>
273 void SetTunnelRestrictionCode(TunnelRestrictionCodeT&& value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value); }
274 template<
typename TunnelRestrictionCodeT = Aws::String>
279 bool m_allHazardsRestricted{
false};
280 bool m_allHazardsRestrictedHasBeenSet =
false;
282 RouteNoticeDetailRange m_axleCount;
283 bool m_axleCountHasBeenSet =
false;
286 bool m_hazardousCargosHasBeenSet =
false;
288 long long m_maxHeight{0};
289 bool m_maxHeightHasBeenSet =
false;
291 long long m_maxKpraLength{0};
292 bool m_maxKpraLengthHasBeenSet =
false;
294 long long m_maxLength{0};
295 bool m_maxLengthHasBeenSet =
false;
297 long long m_maxPayloadCapacity{0};
298 bool m_maxPayloadCapacityHasBeenSet =
false;
300 RouteWeightConstraint m_maxWeight;
301 bool m_maxWeightHasBeenSet =
false;
303 long long m_maxWeightPerAxle{0};
304 bool m_maxWeightPerAxleHasBeenSet =
false;
306 WeightPerAxleGroup m_maxWeightPerAxleGroup;
307 bool m_maxWeightPerAxleGroupHasBeenSet =
false;
309 long long m_maxWidth{0};
310 bool m_maxWidthHasBeenSet =
false;
312 RouteNoticeDetailRange m_occupancy;
313 bool m_occupancyHasBeenSet =
false;
316 bool m_restrictedTimesHasBeenSet =
false;
318 bool m_timeDependent{
false};
319 bool m_timeDependentHasBeenSet =
false;
321 RouteNoticeDetailRange m_trailerCount;
322 bool m_trailerCountHasBeenSet =
false;
324 bool m_travelMode{
false};
325 bool m_travelModeHasBeenSet =
false;
328 bool m_truckRoadTypeHasBeenSet =
false;
331 bool m_truckTypeHasBeenSet =
false;
334 bool m_tunnelRestrictionCodeHasBeenSet =
false;
RouteViolatedConstraints & WithMaxWeightPerAxleGroup(MaxWeightPerAxleGroupT &&value)
RouteViolatedConstraints & WithTruckRoadType(TruckRoadTypeT &&value)
bool MaxLengthHasBeenSet() const
bool MaxHeightHasBeenSet() const
const RouteNoticeDetailRange & GetTrailerCount() const
bool TruckTypeHasBeenSet() const
bool TruckRoadTypeHasBeenSet() const
bool GetTravelMode() const
bool GetAllHazardsRestricted() const
void SetMaxWidth(long long value)
bool MaxKpraLengthHasBeenSet() const
void SetAllHazardsRestricted(bool value)
void SetMaxPayloadCapacity(long long value)
long long GetMaxWeightPerAxle() const
bool RestrictedTimesHasBeenSet() const
RouteTruckType GetTruckType() const
RouteViolatedConstraints & WithTruckType(RouteTruckType value)
RouteViolatedConstraints & WithMaxWidth(long long value)
bool TravelModeHasBeenSet() const
RouteViolatedConstraints & WithAxleCount(AxleCountT &&value)
long long GetMaxKpraLength() const
RouteViolatedConstraints & WithAllHazardsRestricted(bool value)
void SetMaxLength(long long value)
bool MaxWidthHasBeenSet() const
const Aws::String & GetTunnelRestrictionCode() const
bool TunnelRestrictionCodeHasBeenSet() const
void SetMaxWeightPerAxle(long long value)
void SetMaxKpraLength(long long value)
const Aws::String & GetTruckRoadType() const
RouteViolatedConstraints & WithMaxKpraLength(long long value)
void SetTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
RouteViolatedConstraints & WithMaxPayloadCapacity(long long value)
const Aws::String & GetRestrictedTimes() const
long long GetMaxHeight() const
void SetTimeDependent(bool value)
AWS_GEOROUTES_API RouteViolatedConstraints()=default
void SetTravelMode(bool value)
void SetMaxHeight(long long value)
bool MaxWeightPerAxleHasBeenSet() const
bool AllHazardsRestrictedHasBeenSet() const
RouteViolatedConstraints & WithMaxWeight(MaxWeightT &&value)
bool HazardousCargosHasBeenSet() const
const RouteNoticeDetailRange & GetOccupancy() const
RouteViolatedConstraints & WithTravelMode(bool value)
RouteViolatedConstraints & WithMaxHeight(long long value)
RouteViolatedConstraints & WithMaxWeightPerAxle(long long value)
bool MaxWeightPerAxleGroupHasBeenSet() const
void SetMaxWeightPerAxleGroup(MaxWeightPerAxleGroupT &&value)
bool AxleCountHasBeenSet() const
RouteViolatedConstraints & WithTunnelRestrictionCode(TunnelRestrictionCodeT &&value)
const RouteWeightConstraint & GetMaxWeight() const
RouteViolatedConstraints & WithOccupancy(OccupancyT &&value)
bool TimeDependentHasBeenSet() const
bool OccupancyHasBeenSet() const
RouteViolatedConstraints & WithTimeDependent(bool value)
long long GetMaxWidth() const
void SetOccupancy(OccupancyT &&value)
const WeightPerAxleGroup & GetMaxWeightPerAxleGroup() const
const RouteNoticeDetailRange & GetAxleCount() const
void SetTruckRoadType(TruckRoadTypeT &&value)
bool MaxPayloadCapacityHasBeenSet() const
AWS_GEOROUTES_API RouteViolatedConstraints(Aws::Utils::Json::JsonView jsonValue)
RouteViolatedConstraints & AddHazardousCargos(RouteHazardousCargoType value)
RouteViolatedConstraints & WithRestrictedTimes(RestrictedTimesT &&value)
void SetHazardousCargos(HazardousCargosT &&value)
void SetRestrictedTimes(RestrictedTimesT &&value)
AWS_GEOROUTES_API RouteViolatedConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteViolatedConstraints & WithMaxLength(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAxleCount(AxleCountT &&value)
RouteViolatedConstraints & WithHazardousCargos(HazardousCargosT &&value)
RouteViolatedConstraints & WithTrailerCount(TrailerCountT &&value)
void SetMaxWeight(MaxWeightT &&value)
const Aws::Vector< RouteHazardousCargoType > & GetHazardousCargos() const
void SetTrailerCount(TrailerCountT &&value)
bool TrailerCountHasBeenSet() const
bool MaxWeightHasBeenSet() const
bool GetTimeDependent() const
long long GetMaxPayloadCapacity() const
void SetTruckType(RouteTruckType value)
long long GetMaxLength() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue