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/RouteHazardousCargoType.h>
11#include <aws/geo-routes/model/RouteNoticeDetailRange.h>
12#include <aws/geo-routes/model/RouteTruckType.h>
13#include <aws/geo-routes/model/RouteWeightConstraint.h>
14#include <aws/geo-routes/model/WeightPerAxleGroup.h>
49 m_allHazardsRestrictedHasBeenSet =
true;
50 m_allHazardsRestricted = value;
64 template <
typename AxleCountT = RouteNoticeDetailRange>
66 m_axleCountHasBeenSet =
true;
67 m_axleCount = std::forward<AxleCountT>(value);
69 template <
typename AxleCountT = RouteNoticeDetailRange>
82 template <
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
84 m_hazardousCargosHasBeenSet =
true;
85 m_hazardousCargos = std::forward<HazardousCargosT>(value);
87 template <
typename HazardousCargosT = Aws::Vector<RouteHazardousCargoType>>
93 m_hazardousCargosHasBeenSet =
true;
94 m_hazardousCargos.push_back(value);
106 m_maxHeightHasBeenSet =
true;
123 m_maxKpraLengthHasBeenSet =
true;
124 m_maxKpraLength = value;
139 m_maxLengthHasBeenSet =
true;
156 m_maxPayloadCapacityHasBeenSet =
true;
157 m_maxPayloadCapacity = value;
172 template <
typename MaxWeightT = RouteWeightConstra
int>
174 m_maxWeightHasBeenSet =
true;
175 m_maxWeight = std::forward<MaxWeightT>(value);
177 template <
typename MaxWeightT = RouteWeightConstra
int>
192 m_maxWeightPerAxleHasBeenSet =
true;
193 m_maxWeightPerAxle = value;
208 template <
typename MaxWeightPerAxleGroupT = WeightPerAxleGroup>
210 m_maxWeightPerAxleGroupHasBeenSet =
true;
211 m_maxWeightPerAxleGroup = std::forward<MaxWeightPerAxleGroupT>(value);
213 template <
typename MaxWeightPerAxleGroupT = WeightPerAxleGroup>
227 m_maxWidthHasBeenSet =
true;
243 template <
typename OccupancyT = RouteNoticeDetailRange>
245 m_occupancyHasBeenSet =
true;
246 m_occupancy = std::forward<OccupancyT>(value);
248 template <
typename OccupancyT = RouteNoticeDetailRange>
261 template <
typename RestrictedTimesT = Aws::String>
263 m_restrictedTimesHasBeenSet =
true;
264 m_restrictedTimes = std::forward<RestrictedTimesT>(value);
266 template <
typename RestrictedTimesT = Aws::String>
280 m_timeDependentHasBeenSet =
true;
281 m_timeDependent = value;
296 template <
typename TrailerCountT = RouteNoticeDetailRange>
298 m_trailerCountHasBeenSet =
true;
299 m_trailerCount = std::forward<TrailerCountT>(value);
301 template <
typename TrailerCountT = RouteNoticeDetailRange>
315 m_travelModeHasBeenSet =
true;
316 m_travelMode = value;
333 template <
typename TruckRoadTypeT = Aws::String>
335 m_truckRoadTypeHasBeenSet =
true;
336 m_truckRoadType = std::forward<TruckRoadTypeT>(value);
338 template <
typename TruckRoadTypeT = Aws::String>
352 m_truckTypeHasBeenSet =
true;
378 template <
typename TunnelRestrictionCodeT = Aws::String>
380 m_tunnelRestrictionCodeHasBeenSet =
true;
381 m_tunnelRestrictionCode = std::forward<TunnelRestrictionCodeT>(value);
383 template <
typename TunnelRestrictionCodeT = Aws::String>
390 bool m_allHazardsRestricted{
false};
392 RouteNoticeDetailRange m_axleCount;
396 long long m_maxHeight{0};
398 long long m_maxKpraLength{0};
400 long long m_maxLength{0};
402 long long m_maxPayloadCapacity{0};
404 RouteWeightConstraint m_maxWeight;
406 long long m_maxWeightPerAxle{0};
408 WeightPerAxleGroup m_maxWeightPerAxleGroup;
410 long long m_maxWidth{0};
412 RouteNoticeDetailRange m_occupancy;
416 bool m_timeDependent{
false};
418 RouteNoticeDetailRange m_trailerCount;
420 bool m_travelMode{
false};
427 bool m_allHazardsRestrictedHasBeenSet =
false;
428 bool m_axleCountHasBeenSet =
false;
429 bool m_hazardousCargosHasBeenSet =
false;
430 bool m_maxHeightHasBeenSet =
false;
431 bool m_maxKpraLengthHasBeenSet =
false;
432 bool m_maxLengthHasBeenSet =
false;
433 bool m_maxPayloadCapacityHasBeenSet =
false;
434 bool m_maxWeightHasBeenSet =
false;
435 bool m_maxWeightPerAxleHasBeenSet =
false;
436 bool m_maxWeightPerAxleGroupHasBeenSet =
false;
437 bool m_maxWidthHasBeenSet =
false;
438 bool m_occupancyHasBeenSet =
false;
439 bool m_restrictedTimesHasBeenSet =
false;
440 bool m_timeDependentHasBeenSet =
false;
441 bool m_trailerCountHasBeenSet =
false;
442 bool m_travelModeHasBeenSet =
false;
443 bool m_truckRoadTypeHasBeenSet =
false;
444 bool m_truckTypeHasBeenSet =
false;
445 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