7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-routes/model/RouteSpanDynamicSpeedDetails.h>
11#include <aws/geo-routes/model/RouteSpanGateAttribute.h>
12#include <aws/geo-routes/model/RouteSpanRailwayCrossingAttribute.h>
13#include <aws/geo-routes/model/RouteSpanSpeedLimitDetails.h>
14#include <aws/geo-routes/model/RouteSpanCarAccessAttribute.h>
15#include <aws/geo-routes/model/LocalizedString.h>
16#include <aws/geo-routes/model/RouteSpanRoadAttribute.h>
17#include <aws/geo-routes/model/RouteNumber.h>
18#include <aws/geo-routes/model/RouteSpanScooterAccessAttribute.h>
19#include <aws/geo-routes/model/RouteSpanTruckAccessAttribute.h>
59 inline void SetBestCaseDuration(
long long value) { m_bestCaseDurationHasBeenSet =
true; m_bestCaseDuration = value; }
85 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
98 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
110 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
156 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
224 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
335 inline void SetTypicalDuration(
long long value) { m_typicalDurationHasBeenSet =
true; m_typicalDuration = value; }
353 long long m_bestCaseDuration;
354 bool m_bestCaseDurationHasBeenSet =
false;
357 bool m_carAccessHasBeenSet =
false;
360 bool m_countryHasBeenSet =
false;
362 long long m_distance;
363 bool m_distanceHasBeenSet =
false;
365 long long m_duration;
366 bool m_durationHasBeenSet =
false;
369 bool m_dynamicSpeedHasBeenSet =
false;
371 int m_functionalClassification;
372 bool m_functionalClassificationHasBeenSet =
false;
375 bool m_gateHasBeenSet =
false;
377 int m_geometryOffset;
378 bool m_geometryOffsetHasBeenSet =
false;
381 bool m_incidentsHasBeenSet =
false;
384 bool m_namesHasBeenSet =
false;
387 bool m_noticesHasBeenSet =
false;
390 bool m_railwayCrossingHasBeenSet =
false;
393 bool m_regionHasBeenSet =
false;
396 bool m_roadAttributesHasBeenSet =
false;
399 bool m_routeNumbersHasBeenSet =
false;
402 bool m_scooterAccessHasBeenSet =
false;
405 bool m_speedLimitHasBeenSet =
false;
408 bool m_tollSystemsHasBeenSet =
false;
411 bool m_truckAccessHasBeenSet =
false;
414 bool m_truckRoadTypesHasBeenSet =
false;
416 long long m_typicalDuration;
417 bool m_typicalDurationHasBeenSet =
false;
420 bool m_zonesHasBeenSet =
false;
void SetTruckRoadTypes(const Aws::Vector< int > &value)
RouteVehicleSpan & WithScooterAccess(const Aws::Vector< RouteSpanScooterAccessAttribute > &value)
void SetIncidents(const Aws::Vector< int > &value)
AWS_GEOROUTES_API RouteVehicleSpan()
RouteVehicleSpan & WithNames(Aws::Vector< LocalizedString > &&value)
RouteVehicleSpan & AddRouteNumbers(RouteNumber &&value)
AWS_GEOROUTES_API RouteVehicleSpan(Aws::Utils::Json::JsonView jsonValue)
bool ScooterAccessHasBeenSet() const
bool DurationHasBeenSet() const
void SetNames(const Aws::Vector< LocalizedString > &value)
RouteVehicleSpan & AddTruckRoadTypes(int value)
RouteVehicleSpan & AddNames(const LocalizedString &value)
void SetIncidents(Aws::Vector< int > &&value)
void SetGeometryOffset(int value)
RouteVehicleSpan & WithZones(Aws::Vector< int > &&value)
RouteVehicleSpan & WithDynamicSpeed(RouteSpanDynamicSpeedDetails &&value)
bool RegionHasBeenSet() const
RouteVehicleSpan & WithCountry(const char *value)
RouteVehicleSpan & WithBestCaseDuration(long long value)
void SetNotices(Aws::Vector< int > &&value)
RouteVehicleSpan & WithNotices(Aws::Vector< int > &&value)
RouteVehicleSpan & WithTruckRoadTypes(const Aws::Vector< int > &value)
void SetRailwayCrossing(const RouteSpanRailwayCrossingAttribute &value)
RouteVehicleSpan & WithIncidents(const Aws::Vector< int > &value)
void SetZones(const Aws::Vector< int > &value)
void SetCountry(Aws::String &&value)
RouteVehicleSpan & WithDynamicSpeed(const RouteSpanDynamicSpeedDetails &value)
const Aws::Vector< LocalizedString > & GetNames() const
void SetRouteNumbers(const Aws::Vector< RouteNumber > &value)
RouteVehicleSpan & WithRegion(const Aws::String &value)
bool FunctionalClassificationHasBeenSet() const
const RouteSpanSpeedLimitDetails & GetSpeedLimit() const
bool RouteNumbersHasBeenSet() const
bool DynamicSpeedHasBeenSet() const
RouteVehicleSpan & WithTruckAccess(Aws::Vector< RouteSpanTruckAccessAttribute > &&value)
RouteVehicleSpan & WithSpeedLimit(const RouteSpanSpeedLimitDetails &value)
bool TypicalDurationHasBeenSet() const
const Aws::Vector< RouteSpanRoadAttribute > & GetRoadAttributes() const
void SetDynamicSpeed(const RouteSpanDynamicSpeedDetails &value)
const Aws::Vector< int > & GetZones() const
RouteVehicleSpan & AddIncidents(int value)
RouteVehicleSpan & WithTypicalDuration(long long value)
void SetSpeedLimit(const RouteSpanSpeedLimitDetails &value)
void SetBestCaseDuration(long long value)
bool BestCaseDurationHasBeenSet() const
void SetRailwayCrossing(RouteSpanRailwayCrossingAttribute &&value)
bool RailwayCrossingHasBeenSet() const
RouteVehicleSpan & AddTollSystems(int value)
void SetScooterAccess(const Aws::Vector< RouteSpanScooterAccessAttribute > &value)
const Aws::Vector< int > & GetTruckRoadTypes() const
void SetDistance(long long value)
RouteVehicleSpan & WithRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
RouteVehicleSpan & WithRailwayCrossing(RouteSpanRailwayCrossingAttribute &&value)
bool ZonesHasBeenSet() const
void SetCarAccess(const Aws::Vector< RouteSpanCarAccessAttribute > &value)
RouteVehicleSpan & AddRouteNumbers(const RouteNumber &value)
RouteVehicleSpan & AddCarAccess(const RouteSpanCarAccessAttribute &value)
RouteVehicleSpan & AddScooterAccess(const RouteSpanScooterAccessAttribute &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RouteSpanTruckAccessAttribute > & GetTruckAccess() const
bool TollSystemsHasBeenSet() const
void SetTruckRoadTypes(Aws::Vector< int > &&value)
RouteVehicleSpan & AddTruckAccess(const RouteSpanTruckAccessAttribute &value)
RouteVehicleSpan & WithRailwayCrossing(const RouteSpanRailwayCrossingAttribute &value)
void SetZones(Aws::Vector< int > &&value)
bool GateHasBeenSet() const
RouteVehicleSpan & WithCarAccess(const Aws::Vector< RouteSpanCarAccessAttribute > &value)
bool TruckAccessHasBeenSet() const
AWS_GEOROUTES_API RouteVehicleSpan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCountry(const Aws::String &value)
void SetSpeedLimit(RouteSpanSpeedLimitDetails &&value)
RouteVehicleSpan & AddZones(int value)
void SetScooterAccess(Aws::Vector< RouteSpanScooterAccessAttribute > &&value)
RouteVehicleSpan & AddNames(LocalizedString &&value)
RouteVehicleSpan & WithRouteNumbers(Aws::Vector< RouteNumber > &&value)
void SetTruckAccess(const Aws::Vector< RouteSpanTruckAccessAttribute > &value)
const RouteSpanGateAttribute & GetGate() const
long long GetDistance() const
bool TruckRoadTypesHasBeenSet() const
long long GetTypicalDuration() const
RouteVehicleSpan & WithTruckAccess(const Aws::Vector< RouteSpanTruckAccessAttribute > &value)
const RouteSpanDynamicSpeedDetails & GetDynamicSpeed() const
void SetRegion(const Aws::String &value)
void SetGate(RouteSpanGateAttribute &&value)
RouteVehicleSpan & WithFunctionalClassification(int value)
bool CarAccessHasBeenSet() const
RouteVehicleSpan & WithGeometryOffset(int value)
void SetCountry(const char *value)
RouteVehicleSpan & WithRouteNumbers(const Aws::Vector< RouteNumber > &value)
bool IncidentsHasBeenSet() const
const Aws::String & GetRegion() const
bool NoticesHasBeenSet() const
RouteVehicleSpan & WithScooterAccess(Aws::Vector< RouteSpanScooterAccessAttribute > &&value)
const Aws::Vector< RouteSpanScooterAccessAttribute > & GetScooterAccess() const
void SetRouteNumbers(Aws::Vector< RouteNumber > &&value)
RouteVehicleSpan & WithSpeedLimit(RouteSpanSpeedLimitDetails &&value)
void SetTruckAccess(Aws::Vector< RouteSpanTruckAccessAttribute > &&value)
void SetRegion(Aws::String &&value)
RouteVehicleSpan & AddNotices(int value)
RouteVehicleSpan & AddScooterAccess(RouteSpanScooterAccessAttribute &&value)
RouteVehicleSpan & WithTollSystems(Aws::Vector< int > &&value)
RouteVehicleSpan & WithIncidents(Aws::Vector< int > &&value)
int GetFunctionalClassification() const
RouteVehicleSpan & WithDistance(long long value)
const RouteSpanRailwayCrossingAttribute & GetRailwayCrossing() const
void SetRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
RouteVehicleSpan & AddTruckAccess(RouteSpanTruckAccessAttribute &&value)
RouteVehicleSpan & WithRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
RouteVehicleSpan & WithNotices(const Aws::Vector< int > &value)
void SetFunctionalClassification(int value)
long long GetBestCaseDuration() const
const Aws::Vector< int > & GetNotices() const
RouteVehicleSpan & WithNames(const Aws::Vector< LocalizedString > &value)
const Aws::Vector< RouteSpanCarAccessAttribute > & GetCarAccess() const
RouteVehicleSpan & WithGate(const RouteSpanGateAttribute &value)
const Aws::String & GetCountry() const
bool DistanceHasBeenSet() const
void SetTypicalDuration(long long value)
RouteVehicleSpan & WithTruckRoadTypes(Aws::Vector< int > &&value)
const Aws::Vector< RouteNumber > & GetRouteNumbers() const
RouteVehicleSpan & AddCarAccess(RouteSpanCarAccessAttribute &&value)
const Aws::Vector< int > & GetIncidents() const
RouteVehicleSpan & WithZones(const Aws::Vector< int > &value)
const Aws::Vector< int > & GetTollSystems() const
void SetNames(Aws::Vector< LocalizedString > &&value)
bool SpeedLimitHasBeenSet() const
RouteVehicleSpan & WithTollSystems(const Aws::Vector< int > &value)
void SetDuration(long long value)
RouteVehicleSpan & WithRegion(const char *value)
RouteVehicleSpan & WithCountry(const Aws::String &value)
void SetDynamicSpeed(RouteSpanDynamicSpeedDetails &&value)
void SetGate(const RouteSpanGateAttribute &value)
RouteVehicleSpan & WithCountry(Aws::String &&value)
void SetTollSystems(const Aws::Vector< int > &value)
int GetGeometryOffset() const
long long GetDuration() const
void SetTollSystems(Aws::Vector< int > &&value)
void SetRegion(const char *value)
RouteVehicleSpan & WithGate(RouteSpanGateAttribute &&value)
bool NamesHasBeenSet() const
bool CountryHasBeenSet() const
void SetRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
RouteVehicleSpan & AddRoadAttributes(RouteSpanRoadAttribute &&value)
RouteVehicleSpan & WithRegion(Aws::String &&value)
void SetCarAccess(Aws::Vector< RouteSpanCarAccessAttribute > &&value)
void SetNotices(const Aws::Vector< int > &value)
bool GeometryOffsetHasBeenSet() const
RouteVehicleSpan & AddRoadAttributes(const RouteSpanRoadAttribute &value)
RouteVehicleSpan & WithDuration(long long value)
bool RoadAttributesHasBeenSet() const
RouteVehicleSpan & WithCarAccess(Aws::Vector< RouteSpanCarAccessAttribute > &&value)
RouteSpanCarAccessAttribute
RouteSpanRailwayCrossingAttribute
RouteSpanTruckAccessAttribute
RouteSpanScooterAccessAttribute
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue