7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteSpanDynamicSpeedDetails.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/RouteSpanSpeedLimitDetails.h>
12#include <aws/geo-routes/model/LocalizedString.h>
13#include <aws/geo-routes/model/RouteSpanPedestrianAccessAttribute.h>
14#include <aws/geo-routes/model/RouteSpanRoadAttribute.h>
15#include <aws/geo-routes/model/RouteNumber.h>
55 inline void SetBestCaseDuration(
long long value) { m_bestCaseDurationHasBeenSet =
true; m_bestCaseDuration = value; }
67 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
80 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
92 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
125 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
180 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
234 inline void SetTypicalDuration(
long long value) { m_typicalDurationHasBeenSet =
true; m_typicalDuration = value; }
239 long long m_bestCaseDuration;
240 bool m_bestCaseDurationHasBeenSet =
false;
243 bool m_countryHasBeenSet =
false;
245 long long m_distance;
246 bool m_distanceHasBeenSet =
false;
248 long long m_duration;
249 bool m_durationHasBeenSet =
false;
252 bool m_dynamicSpeedHasBeenSet =
false;
254 int m_functionalClassification;
255 bool m_functionalClassificationHasBeenSet =
false;
257 int m_geometryOffset;
258 bool m_geometryOffsetHasBeenSet =
false;
261 bool m_incidentsHasBeenSet =
false;
264 bool m_namesHasBeenSet =
false;
267 bool m_pedestrianAccessHasBeenSet =
false;
270 bool m_regionHasBeenSet =
false;
273 bool m_roadAttributesHasBeenSet =
false;
276 bool m_routeNumbersHasBeenSet =
false;
279 bool m_speedLimitHasBeenSet =
false;
281 long long m_typicalDuration;
282 bool m_typicalDurationHasBeenSet =
false;
RoutePedestrianSpan & WithDistance(long long value)
bool BestCaseDurationHasBeenSet() const
RoutePedestrianSpan & AddIncidents(int value)
void SetFunctionalClassification(int value)
RoutePedestrianSpan & AddPedestrianAccess(RouteSpanPedestrianAccessAttribute &&value)
void SetNames(Aws::Vector< LocalizedString > &&value)
const Aws::Vector< RouteSpanRoadAttribute > & GetRoadAttributes() const
RoutePedestrianSpan & WithDynamicSpeed(RouteSpanDynamicSpeedDetails &&value)
void SetDynamicSpeed(RouteSpanDynamicSpeedDetails &&value)
void SetBestCaseDuration(long long value)
RoutePedestrianSpan & AddNames(const LocalizedString &value)
RoutePedestrianSpan & WithPedestrianAccess(const Aws::Vector< RouteSpanPedestrianAccessAttribute > &value)
RoutePedestrianSpan & WithDynamicSpeed(const RouteSpanDynamicSpeedDetails &value)
bool CountryHasBeenSet() const
const Aws::Vector< int > & GetIncidents() const
bool DistanceHasBeenSet() const
RoutePedestrianSpan & WithFunctionalClassification(int value)
void SetRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
const Aws::Vector< RouteNumber > & GetRouteNumbers() const
RoutePedestrianSpan & WithDuration(long long value)
int GetFunctionalClassification() const
bool NamesHasBeenSet() const
RoutePedestrianSpan & WithSpeedLimit(const RouteSpanSpeedLimitDetails &value)
bool DurationHasBeenSet() const
bool PedestrianAccessHasBeenSet() const
RoutePedestrianSpan & WithPedestrianAccess(Aws::Vector< RouteSpanPedestrianAccessAttribute > &&value)
void SetDynamicSpeed(const RouteSpanDynamicSpeedDetails &value)
void SetCountry(Aws::String &&value)
AWS_GEOROUTES_API RoutePedestrianSpan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPedestrianAccess(Aws::Vector< RouteSpanPedestrianAccessAttribute > &&value)
void SetRouteNumbers(Aws::Vector< RouteNumber > &&value)
RoutePedestrianSpan & WithBestCaseDuration(long long value)
void SetIncidents(Aws::Vector< int > &&value)
void SetGeometryOffset(int value)
const Aws::String & GetCountry() const
RoutePedestrianSpan & WithRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
void SetRegion(const Aws::String &value)
RoutePedestrianSpan & WithRegion(const Aws::String &value)
void SetCountry(const Aws::String &value)
const RouteSpanDynamicSpeedDetails & GetDynamicSpeed() const
AWS_GEOROUTES_API RoutePedestrianSpan()
bool GeometryOffsetHasBeenSet() const
bool RoadAttributesHasBeenSet() const
void SetRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
const RouteSpanSpeedLimitDetails & GetSpeedLimit() const
void SetRegion(const char *value)
RoutePedestrianSpan & WithRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
long long GetDistance() const
long long GetTypicalDuration() const
void SetDuration(long long value)
const Aws::Vector< RouteSpanPedestrianAccessAttribute > & GetPedestrianAccess() const
RoutePedestrianSpan & AddRouteNumbers(const RouteNumber &value)
void SetSpeedLimit(const RouteSpanSpeedLimitDetails &value)
bool FunctionalClassificationHasBeenSet() const
RoutePedestrianSpan & WithGeometryOffset(int value)
RoutePedestrianSpan & AddPedestrianAccess(const RouteSpanPedestrianAccessAttribute &value)
RoutePedestrianSpan & WithSpeedLimit(RouteSpanSpeedLimitDetails &&value)
int GetGeometryOffset() const
void SetIncidents(const Aws::Vector< int > &value)
bool IncidentsHasBeenSet() const
RoutePedestrianSpan & WithRouteNumbers(Aws::Vector< RouteNumber > &&value)
void SetRegion(Aws::String &&value)
RoutePedestrianSpan & AddNames(LocalizedString &&value)
bool RegionHasBeenSet() const
RoutePedestrianSpan & WithRegion(Aws::String &&value)
RoutePedestrianSpan & WithNames(Aws::Vector< LocalizedString > &&value)
bool DynamicSpeedHasBeenSet() const
RoutePedestrianSpan & AddRoadAttributes(RouteSpanRoadAttribute &&value)
AWS_GEOROUTES_API RoutePedestrianSpan(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianSpan & AddRoadAttributes(const RouteSpanRoadAttribute &value)
RoutePedestrianSpan & AddRouteNumbers(RouteNumber &&value)
RoutePedestrianSpan & WithTypicalDuration(long long value)
void SetNames(const Aws::Vector< LocalizedString > &value)
void SetTypicalDuration(long long value)
void SetCountry(const char *value)
RoutePedestrianSpan & WithIncidents(Aws::Vector< int > &&value)
bool TypicalDurationHasBeenSet() const
RoutePedestrianSpan & WithNames(const Aws::Vector< LocalizedString > &value)
RoutePedestrianSpan & WithRouteNumbers(const Aws::Vector< RouteNumber > &value)
bool SpeedLimitHasBeenSet() const
RoutePedestrianSpan & WithCountry(Aws::String &&value)
RoutePedestrianSpan & WithCountry(const Aws::String &value)
const Aws::String & GetRegion() const
const Aws::Vector< LocalizedString > & GetNames() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetDuration() const
void SetSpeedLimit(RouteSpanSpeedLimitDetails &&value)
long long GetBestCaseDuration() const
RoutePedestrianSpan & WithIncidents(const Aws::Vector< int > &value)
RoutePedestrianSpan & WithCountry(const char *value)
RoutePedestrianSpan & WithRegion(const char *value)
void SetDistance(long long value)
void SetRouteNumbers(const Aws::Vector< RouteNumber > &value)
bool RouteNumbersHasBeenSet() const
void SetPedestrianAccess(const Aws::Vector< RouteSpanPedestrianAccessAttribute > &value)
RouteSpanPedestrianAccessAttribute
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue