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; }
90 inline void SetMaxHeight(
long long value) { m_maxHeightHasBeenSet =
true; m_maxHeight = value; }
101 inline void SetMaxKpraLength(
long long value) { m_maxKpraLengthHasBeenSet =
true; m_maxKpraLength = value; }
111 inline void SetMaxLength(
long long value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
122 inline void SetMaxPayloadCapacity(
long long value) { m_maxPayloadCapacityHasBeenSet =
true; m_maxPayloadCapacity = value; }
146 inline void SetMaxWeightPerAxle(
long long value) { m_maxWeightPerAxleHasBeenSet =
true; m_maxWeightPerAxle = value; }
169 inline void SetMaxWidth(
long long value) { m_maxWidthHasBeenSet =
true; m_maxWidth = value; }
194 inline void SetRestrictedTimes(
const char* value) { m_restrictedTimesHasBeenSet =
true; m_restrictedTimes.assign(value); }
206 inline void SetTimeDependent(
bool value) { m_timeDependentHasBeenSet =
true; m_timeDependent = value; }
229 inline void SetTravelMode(
bool value) { m_travelModeHasBeenSet =
true; m_travelMode = value; }
244 inline void SetTruckRoadType(
const char* value) { m_truckRoadTypeHasBeenSet =
true; m_truckRoadType.assign(value); }
281 inline void SetTunnelRestrictionCode(
const char* value) { m_tunnelRestrictionCodeHasBeenSet =
true; m_tunnelRestrictionCode.assign(value); }
288 bool m_allHazardsRestricted;
289 bool m_allHazardsRestrictedHasBeenSet =
false;
292 bool m_axleCountHasBeenSet =
false;
295 bool m_hazardousCargosHasBeenSet =
false;
297 long long m_maxHeight;
298 bool m_maxHeightHasBeenSet =
false;
300 long long m_maxKpraLength;
301 bool m_maxKpraLengthHasBeenSet =
false;
303 long long m_maxLength;
304 bool m_maxLengthHasBeenSet =
false;
306 long long m_maxPayloadCapacity;
307 bool m_maxPayloadCapacityHasBeenSet =
false;
310 bool m_maxWeightHasBeenSet =
false;
312 long long m_maxWeightPerAxle;
313 bool m_maxWeightPerAxleHasBeenSet =
false;
316 bool m_maxWeightPerAxleGroupHasBeenSet =
false;
318 long long m_maxWidth;
319 bool m_maxWidthHasBeenSet =
false;
322 bool m_occupancyHasBeenSet =
false;
325 bool m_restrictedTimesHasBeenSet =
false;
327 bool m_timeDependent;
328 bool m_timeDependentHasBeenSet =
false;
331 bool m_trailerCountHasBeenSet =
false;
334 bool m_travelModeHasBeenSet =
false;
337 bool m_truckRoadTypeHasBeenSet =
false;
340 bool m_truckTypeHasBeenSet =
false;
343 bool m_tunnelRestrictionCodeHasBeenSet =
false;
void SetMaxWeight(RouteWeightConstraint &&value)
RouteViolatedConstraints & WithMaxWeight(RouteWeightConstraint &&value)
bool MaxLengthHasBeenSet() const
RouteViolatedConstraints & WithTrailerCount(RouteNoticeDetailRange &&value)
void SetTrailerCount(const RouteNoticeDetailRange &value)
RouteViolatedConstraints & WithTruckRoadType(const char *value)
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
void SetTunnelRestrictionCode(const Aws::String &value)
void SetTruckType(RouteTruckType &&value)
RouteViolatedConstraints & WithMaxWidth(long long value)
bool TravelModeHasBeenSet() const
void SetTruckRoadType(Aws::String &&value)
void SetRestrictedTimes(Aws::String &&value)
RouteViolatedConstraints & WithTunnelRestrictionCode(const Aws::String &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 SetOccupancy(RouteNoticeDetailRange &&value)
RouteViolatedConstraints & WithTunnelRestrictionCode(const char *value)
RouteViolatedConstraints & WithMaxPayloadCapacity(long long value)
void SetTruckType(const RouteTruckType &value)
const Aws::String & GetRestrictedTimes() const
long long GetMaxHeight() const
void SetTimeDependent(bool value)
const RouteTruckType & GetTruckType() const
void SetTrailerCount(RouteNoticeDetailRange &&value)
void SetTravelMode(bool value)
void SetMaxHeight(long long value)
bool MaxWeightPerAxleHasBeenSet() const
RouteViolatedConstraints & WithMaxWeightPerAxleGroup(WeightPerAxleGroup &&value)
bool AllHazardsRestrictedHasBeenSet() const
void SetTunnelRestrictionCode(Aws::String &&value)
void SetMaxWeight(const RouteWeightConstraint &value)
bool HazardousCargosHasBeenSet() const
const RouteNoticeDetailRange & GetOccupancy() const
RouteViolatedConstraints & WithTravelMode(bool value)
RouteViolatedConstraints & WithMaxHeight(long long value)
RouteViolatedConstraints & WithTruckType(RouteTruckType &&value)
RouteViolatedConstraints & WithMaxWeightPerAxle(long long value)
void SetMaxWeightPerAxleGroup(WeightPerAxleGroup &&value)
RouteViolatedConstraints & WithAxleCount(RouteNoticeDetailRange &&value)
bool MaxWeightPerAxleGroupHasBeenSet() const
RouteViolatedConstraints & WithRestrictedTimes(Aws::String &&value)
bool AxleCountHasBeenSet() const
void SetAxleCount(RouteNoticeDetailRange &&value)
const RouteWeightConstraint & GetMaxWeight() const
bool TimeDependentHasBeenSet() const
void SetHazardousCargos(const Aws::Vector< RouteHazardousCargoType > &value)
RouteViolatedConstraints & WithHazardousCargos(const Aws::Vector< RouteHazardousCargoType > &value)
bool OccupancyHasBeenSet() const
RouteViolatedConstraints & WithTimeDependent(bool value)
long long GetMaxWidth() const
void SetMaxWeightPerAxleGroup(const WeightPerAxleGroup &value)
RouteViolatedConstraints & WithAxleCount(const RouteNoticeDetailRange &value)
RouteViolatedConstraints & WithTruckRoadType(Aws::String &&value)
AWS_GEOROUTES_API RouteViolatedConstraints()
RouteViolatedConstraints & WithRestrictedTimes(const char *value)
void SetRestrictedTimes(const Aws::String &value)
void SetTruckRoadType(const Aws::String &value)
const WeightPerAxleGroup & GetMaxWeightPerAxleGroup() const
const RouteNoticeDetailRange & GetAxleCount() const
RouteViolatedConstraints & AddHazardousCargos(const RouteHazardousCargoType &value)
bool MaxPayloadCapacityHasBeenSet() const
AWS_GEOROUTES_API RouteViolatedConstraints(Aws::Utils::Json::JsonView jsonValue)
void SetTunnelRestrictionCode(const char *value)
RouteViolatedConstraints & WithTunnelRestrictionCode(Aws::String &&value)
RouteViolatedConstraints & WithMaxWeight(const RouteWeightConstraint &value)
AWS_GEOROUTES_API RouteViolatedConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAxleCount(const RouteNoticeDetailRange &value)
RouteViolatedConstraints & WithMaxLength(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHazardousCargos(Aws::Vector< RouteHazardousCargoType > &&value)
RouteViolatedConstraints & WithOccupancy(RouteNoticeDetailRange &&value)
void SetTruckRoadType(const char *value)
RouteViolatedConstraints & WithMaxWeightPerAxleGroup(const WeightPerAxleGroup &value)
const Aws::Vector< RouteHazardousCargoType > & GetHazardousCargos() const
RouteViolatedConstraints & WithTruckType(const RouteTruckType &value)
RouteViolatedConstraints & AddHazardousCargos(RouteHazardousCargoType &&value)
bool TrailerCountHasBeenSet() const
bool MaxWeightHasBeenSet() const
RouteViolatedConstraints & WithRestrictedTimes(const Aws::String &value)
void SetOccupancy(const RouteNoticeDetailRange &value)
RouteViolatedConstraints & WithTrailerCount(const RouteNoticeDetailRange &value)
RouteViolatedConstraints & WithTruckRoadType(const Aws::String &value)
bool GetTimeDependent() const
RouteViolatedConstraints & WithHazardousCargos(Aws::Vector< RouteHazardousCargoType > &&value)
long long GetMaxPayloadCapacity() const
void SetRestrictedTimes(const char *value)
long long GetMaxLength() const
RouteViolatedConstraints & WithOccupancy(const RouteNoticeDetailRange &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue