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/LocalizedString.h>
11#include <aws/geo-routes/model/RouteNumber.h>
12#include <aws/geo-routes/model/RouteSpanDynamicSpeedDetails.h>
13#include <aws/geo-routes/model/RouteSpanPedestrianAccessAttribute.h>
14#include <aws/geo-routes/model/RouteSpanRoadAttribute.h>
15#include <aws/geo-routes/model/RouteSpanSpeedLimitDetails.h>
50 m_bestCaseDurationHasBeenSet =
true;
51 m_bestCaseDuration = value;
65 template <
typename CountryT = Aws::String>
67 m_countryHasBeenSet =
true;
68 m_country = std::forward<CountryT>(value);
70 template <
typename CountryT = Aws::String>
85 m_distanceHasBeenSet =
true;
103 m_durationHasBeenSet =
true;
119 template <
typename DynamicSpeedT = RouteSpanDynamicSpeedDetails>
121 m_dynamicSpeedHasBeenSet =
true;
122 m_dynamicSpeed = std::forward<DynamicSpeedT>(value);
124 template <
typename DynamicSpeedT = RouteSpanDynamicSpeedDetails>
138 m_functionalClassificationHasBeenSet =
true;
139 m_functionalClassification = value;
154 m_geometryOffsetHasBeenSet =
true;
155 m_geometryOffset = value;
170 template <
typename Inc
identsT = Aws::Vector<
int>>
172 m_incidentsHasBeenSet =
true;
173 m_incidents = std::forward<IncidentsT>(value);
175 template <
typename Inc
identsT = Aws::Vector<
int>>
181 m_incidentsHasBeenSet =
true;
182 m_incidents.push_back(value);
193 template <
typename NamesT = Aws::Vector<LocalizedString>>
195 m_namesHasBeenSet =
true;
196 m_names = std::forward<NamesT>(value);
198 template <
typename NamesT = Aws::Vector<LocalizedString>>
200 SetNames(std::forward<NamesT>(value));
203 template <
typename NamesT = LocalizedString>
205 m_namesHasBeenSet =
true;
206 m_names.emplace_back(std::forward<NamesT>(value));
217 template <
typename PedestrianAccessT = Aws::Vector<RouteSpanPedestrianAccessAttribute>>
219 m_pedestrianAccessHasBeenSet =
true;
220 m_pedestrianAccess = std::forward<PedestrianAccessT>(value);
222 template <
typename PedestrianAccessT = Aws::Vector<RouteSpanPedestrianAccessAttribute>>
228 m_pedestrianAccessHasBeenSet =
true;
229 m_pedestrianAccess.push_back(value);
241 template <
typename RegionT = Aws::String>
243 m_regionHasBeenSet =
true;
244 m_region = std::forward<RegionT>(value);
246 template <
typename RegionT = Aws::String>
259 template <
typename RoadAttributesT = Aws::Vector<RouteSpanRoadAttribute>>
261 m_roadAttributesHasBeenSet =
true;
262 m_roadAttributes = std::forward<RoadAttributesT>(value);
264 template <
typename RoadAttributesT = Aws::Vector<RouteSpanRoadAttribute>>
270 m_roadAttributesHasBeenSet =
true;
271 m_roadAttributes.push_back(value);
282 template <
typename RouteNumbersT = Aws::Vector<RouteNumber>>
284 m_routeNumbersHasBeenSet =
true;
285 m_routeNumbers = std::forward<RouteNumbersT>(value);
287 template <
typename RouteNumbersT = Aws::Vector<RouteNumber>>
292 template <
typename RouteNumbersT = RouteNumber>
294 m_routeNumbersHasBeenSet =
true;
295 m_routeNumbers.emplace_back(std::forward<RouteNumbersT>(value));
307 template <
typename SpeedLimitT = RouteSpanSpeedLimitDetails>
309 m_speedLimitHasBeenSet =
true;
310 m_speedLimit = std::forward<SpeedLimitT>(value);
312 template <
typename SpeedLimitT = RouteSpanSpeedLimitDetails>
327 m_typicalDurationHasBeenSet =
true;
328 m_typicalDuration = value;
336 long long m_bestCaseDuration{0};
340 long long m_distance{0};
342 long long m_duration{0};
344 RouteSpanDynamicSpeedDetails m_dynamicSpeed;
346 int m_functionalClassification{0};
348 int m_geometryOffset{0};
362 RouteSpanSpeedLimitDetails m_speedLimit;
364 long long m_typicalDuration{0};
365 bool m_bestCaseDurationHasBeenSet =
false;
366 bool m_countryHasBeenSet =
false;
367 bool m_distanceHasBeenSet =
false;
368 bool m_durationHasBeenSet =
false;
369 bool m_dynamicSpeedHasBeenSet =
false;
370 bool m_functionalClassificationHasBeenSet =
false;
371 bool m_geometryOffsetHasBeenSet =
false;
372 bool m_incidentsHasBeenSet =
false;
373 bool m_namesHasBeenSet =
false;
374 bool m_pedestrianAccessHasBeenSet =
false;
375 bool m_regionHasBeenSet =
false;
376 bool m_roadAttributesHasBeenSet =
false;
377 bool m_routeNumbersHasBeenSet =
false;
378 bool m_speedLimitHasBeenSet =
false;
379 bool m_typicalDurationHasBeenSet =
false;
RoutePedestrianSpan & WithDistance(long long value)
RoutePedestrianSpan & WithNames(NamesT &&value)
bool BestCaseDurationHasBeenSet() const
RoutePedestrianSpan & AddIncidents(int value)
void SetFunctionalClassification(int value)
const Aws::Vector< RouteSpanRoadAttribute > & GetRoadAttributes() const
void SetBestCaseDuration(long long value)
void SetRegion(RegionT &&value)
bool CountryHasBeenSet() const
void SetNames(NamesT &&value)
RoutePedestrianSpan & WithCountry(CountryT &&value)
const Aws::Vector< int > & GetIncidents() const
bool DistanceHasBeenSet() const
void SetIncidents(IncidentsT &&value)
RoutePedestrianSpan & WithIncidents(IncidentsT &&value)
RoutePedestrianSpan & WithFunctionalClassification(int value)
const Aws::Vector< RouteNumber > & GetRouteNumbers() const
RoutePedestrianSpan & WithDuration(long long value)
int GetFunctionalClassification() const
bool NamesHasBeenSet() const
bool DurationHasBeenSet() const
bool PedestrianAccessHasBeenSet() const
RoutePedestrianSpan & AddNames(NamesT &&value)
AWS_GEOROUTES_API RoutePedestrianSpan & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianSpan & WithBestCaseDuration(long long value)
void SetGeometryOffset(int value)
const Aws::String & GetCountry() const
RoutePedestrianSpan & AddRoadAttributes(RouteSpanRoadAttribute value)
const RouteSpanDynamicSpeedDetails & GetDynamicSpeed() const
bool GeometryOffsetHasBeenSet() const
bool RoadAttributesHasBeenSet() const
const RouteSpanSpeedLimitDetails & GetSpeedLimit() const
RoutePedestrianSpan & WithRegion(RegionT &&value)
long long GetDistance() const
long long GetTypicalDuration() const
void SetDuration(long long value)
const Aws::Vector< RouteSpanPedestrianAccessAttribute > & GetPedestrianAccess() const
void SetRouteNumbers(RouteNumbersT &&value)
bool FunctionalClassificationHasBeenSet() const
RoutePedestrianSpan & WithGeometryOffset(int value)
int GetGeometryOffset() const
RoutePedestrianSpan & AddPedestrianAccess(RouteSpanPedestrianAccessAttribute value)
bool IncidentsHasBeenSet() const
RoutePedestrianSpan & WithSpeedLimit(SpeedLimitT &&value)
RoutePedestrianSpan & WithPedestrianAccess(PedestrianAccessT &&value)
RoutePedestrianSpan & WithRoadAttributes(RoadAttributesT &&value)
RoutePedestrianSpan & WithRouteNumbers(RouteNumbersT &&value)
void SetRoadAttributes(RoadAttributesT &&value)
void SetSpeedLimit(SpeedLimitT &&value)
bool RegionHasBeenSet() const
void SetPedestrianAccess(PedestrianAccessT &&value)
bool DynamicSpeedHasBeenSet() const
AWS_GEOROUTES_API RoutePedestrianSpan(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianSpan & WithTypicalDuration(long long value)
RoutePedestrianSpan & WithDynamicSpeed(DynamicSpeedT &&value)
void SetTypicalDuration(long long value)
bool TypicalDurationHasBeenSet() const
AWS_GEOROUTES_API RoutePedestrianSpan()=default
bool SpeedLimitHasBeenSet() const
void SetDynamicSpeed(DynamicSpeedT &&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
long long GetBestCaseDuration() const
RoutePedestrianSpan & AddRouteNumbers(RouteNumbersT &&value)
void SetCountry(CountryT &&value)
void SetDistance(long long value)
bool RouteNumbersHasBeenSet() const
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