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>
150 m_functionalClassificationHasBeenSet =
true;
151 m_functionalClassification = value;
166 m_geometryOffsetHasBeenSet =
true;
167 m_geometryOffset = value;
182 template <
typename Inc
identsT = Aws::Vector<
int>>
184 m_incidentsHasBeenSet =
true;
185 m_incidents = std::forward<IncidentsT>(value);
187 template <
typename Inc
identsT = Aws::Vector<
int>>
193 m_incidentsHasBeenSet =
true;
194 m_incidents.push_back(value);
205 template <
typename NamesT = Aws::Vector<LocalizedString>>
207 m_namesHasBeenSet =
true;
208 m_names = std::forward<NamesT>(value);
210 template <
typename NamesT = Aws::Vector<LocalizedString>>
212 SetNames(std::forward<NamesT>(value));
215 template <
typename NamesT = LocalizedString>
217 m_namesHasBeenSet =
true;
218 m_names.emplace_back(std::forward<NamesT>(value));
229 template <
typename PedestrianAccessT = Aws::Vector<RouteSpanPedestrianAccessAttribute>>
231 m_pedestrianAccessHasBeenSet =
true;
232 m_pedestrianAccess = std::forward<PedestrianAccessT>(value);
234 template <
typename PedestrianAccessT = Aws::Vector<RouteSpanPedestrianAccessAttribute>>
240 m_pedestrianAccessHasBeenSet =
true;
241 m_pedestrianAccess.push_back(value);
253 template <
typename RegionT = Aws::String>
255 m_regionHasBeenSet =
true;
256 m_region = std::forward<RegionT>(value);
258 template <
typename RegionT = Aws::String>
271 template <
typename RoadAttributesT = Aws::Vector<RouteSpanRoadAttribute>>
273 m_roadAttributesHasBeenSet =
true;
274 m_roadAttributes = std::forward<RoadAttributesT>(value);
276 template <
typename RoadAttributesT = Aws::Vector<RouteSpanRoadAttribute>>
282 m_roadAttributesHasBeenSet =
true;
283 m_roadAttributes.push_back(value);
294 template <
typename RouteNumbersT = Aws::Vector<RouteNumber>>
296 m_routeNumbersHasBeenSet =
true;
297 m_routeNumbers = std::forward<RouteNumbersT>(value);
299 template <
typename RouteNumbersT = Aws::Vector<RouteNumber>>
304 template <
typename RouteNumbersT = RouteNumber>
306 m_routeNumbersHasBeenSet =
true;
307 m_routeNumbers.emplace_back(std::forward<RouteNumbersT>(value));
319 template <
typename SpeedLimitT = RouteSpanSpeedLimitDetails>
321 m_speedLimitHasBeenSet =
true;
322 m_speedLimit = std::forward<SpeedLimitT>(value);
324 template <
typename SpeedLimitT = RouteSpanSpeedLimitDetails>
339 m_typicalDurationHasBeenSet =
true;
340 m_typicalDuration = value;
348 long long m_bestCaseDuration{0};
352 long long m_distance{0};
354 long long m_duration{0};
356 RouteSpanDynamicSpeedDetails m_dynamicSpeed;
358 int m_functionalClassification{0};
360 int m_geometryOffset{0};
374 RouteSpanSpeedLimitDetails m_speedLimit;
376 long long m_typicalDuration{0};
377 bool m_bestCaseDurationHasBeenSet =
false;
378 bool m_countryHasBeenSet =
false;
379 bool m_distanceHasBeenSet =
false;
380 bool m_durationHasBeenSet =
false;
381 bool m_dynamicSpeedHasBeenSet =
false;
382 bool m_functionalClassificationHasBeenSet =
false;
383 bool m_geometryOffsetHasBeenSet =
false;
384 bool m_incidentsHasBeenSet =
false;
385 bool m_namesHasBeenSet =
false;
386 bool m_pedestrianAccessHasBeenSet =
false;
387 bool m_regionHasBeenSet =
false;
388 bool m_roadAttributesHasBeenSet =
false;
389 bool m_routeNumbersHasBeenSet =
false;
390 bool m_speedLimitHasBeenSet =
false;
391 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