AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianSpan.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace GeoRoutes
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_GEOROUTES_API RoutePedestrianSpan();
43 AWS_GEOROUTES_API RoutePedestrianSpan(Aws::Utils::Json::JsonView jsonValue);
45 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline long long GetBestCaseDuration() const{ return m_bestCaseDuration; }
54 inline bool BestCaseDurationHasBeenSet() const { return m_bestCaseDurationHasBeenSet; }
55 inline void SetBestCaseDuration(long long value) { m_bestCaseDurationHasBeenSet = true; m_bestCaseDuration = value; }
56 inline RoutePedestrianSpan& WithBestCaseDuration(long long value) { SetBestCaseDuration(value); return *this;}
58
60
63 inline const Aws::String& GetCountry() const{ return m_country; }
64 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
65 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
66 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
67 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
68 inline RoutePedestrianSpan& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
69 inline RoutePedestrianSpan& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
70 inline RoutePedestrianSpan& WithCountry(const char* value) { SetCountry(value); return *this;}
72
74
78 inline long long GetDistance() const{ return m_distance; }
79 inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; }
80 inline void SetDistance(long long value) { m_distanceHasBeenSet = true; m_distance = value; }
81 inline RoutePedestrianSpan& WithDistance(long long value) { SetDistance(value); return *this;}
83
85
90 inline long long GetDuration() const{ return m_duration; }
91 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
92 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
93 inline RoutePedestrianSpan& WithDuration(long long value) { SetDuration(value); return *this;}
95
97
101 inline const RouteSpanDynamicSpeedDetails& GetDynamicSpeed() const{ return m_dynamicSpeed; }
102 inline bool DynamicSpeedHasBeenSet() const { return m_dynamicSpeedHasBeenSet; }
103 inline void SetDynamicSpeed(const RouteSpanDynamicSpeedDetails& value) { m_dynamicSpeedHasBeenSet = true; m_dynamicSpeed = value; }
104 inline void SetDynamicSpeed(RouteSpanDynamicSpeedDetails&& value) { m_dynamicSpeedHasBeenSet = true; m_dynamicSpeed = std::move(value); }
106 inline RoutePedestrianSpan& WithDynamicSpeed(RouteSpanDynamicSpeedDetails&& value) { SetDynamicSpeed(std::move(value)); return *this;}
108
110
113 inline int GetFunctionalClassification() const{ return m_functionalClassification; }
114 inline bool FunctionalClassificationHasBeenSet() const { return m_functionalClassificationHasBeenSet; }
115 inline void SetFunctionalClassification(int value) { m_functionalClassificationHasBeenSet = true; m_functionalClassification = value; }
118
120
123 inline int GetGeometryOffset() const{ return m_geometryOffset; }
124 inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; }
125 inline void SetGeometryOffset(int value) { m_geometryOffsetHasBeenSet = true; m_geometryOffset = value; }
126 inline RoutePedestrianSpan& WithGeometryOffset(int value) { SetGeometryOffset(value); return *this;}
128
130
134 inline const Aws::Vector<int>& GetIncidents() const{ return m_incidents; }
135 inline bool IncidentsHasBeenSet() const { return m_incidentsHasBeenSet; }
136 inline void SetIncidents(const Aws::Vector<int>& value) { m_incidentsHasBeenSet = true; m_incidents = value; }
137 inline void SetIncidents(Aws::Vector<int>&& value) { m_incidentsHasBeenSet = true; m_incidents = std::move(value); }
138 inline RoutePedestrianSpan& WithIncidents(const Aws::Vector<int>& value) { SetIncidents(value); return *this;}
139 inline RoutePedestrianSpan& WithIncidents(Aws::Vector<int>&& value) { SetIncidents(std::move(value)); return *this;}
140 inline RoutePedestrianSpan& AddIncidents(int value) { m_incidentsHasBeenSet = true; m_incidents.push_back(value); return *this; }
142
144
147 inline const Aws::Vector<LocalizedString>& GetNames() const{ return m_names; }
148 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
149 inline void SetNames(const Aws::Vector<LocalizedString>& value) { m_namesHasBeenSet = true; m_names = value; }
150 inline void SetNames(Aws::Vector<LocalizedString>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
151 inline RoutePedestrianSpan& WithNames(const Aws::Vector<LocalizedString>& value) { SetNames(value); return *this;}
152 inline RoutePedestrianSpan& WithNames(Aws::Vector<LocalizedString>&& value) { SetNames(std::move(value)); return *this;}
153 inline RoutePedestrianSpan& AddNames(const LocalizedString& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
154 inline RoutePedestrianSpan& AddNames(LocalizedString&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
156
158
161 inline const Aws::Vector<RouteSpanPedestrianAccessAttribute>& GetPedestrianAccess() const{ return m_pedestrianAccess; }
162 inline bool PedestrianAccessHasBeenSet() const { return m_pedestrianAccessHasBeenSet; }
163 inline void SetPedestrianAccess(const Aws::Vector<RouteSpanPedestrianAccessAttribute>& value) { m_pedestrianAccessHasBeenSet = true; m_pedestrianAccess = value; }
164 inline void SetPedestrianAccess(Aws::Vector<RouteSpanPedestrianAccessAttribute>&& value) { m_pedestrianAccessHasBeenSet = true; m_pedestrianAccess = std::move(value); }
167 inline RoutePedestrianSpan& AddPedestrianAccess(const RouteSpanPedestrianAccessAttribute& value) { m_pedestrianAccessHasBeenSet = true; m_pedestrianAccess.push_back(value); return *this; }
168 inline RoutePedestrianSpan& AddPedestrianAccess(RouteSpanPedestrianAccessAttribute&& value) { m_pedestrianAccessHasBeenSet = true; m_pedestrianAccess.push_back(std::move(value)); return *this; }
170
172
176 inline const Aws::String& GetRegion() const{ return m_region; }
177 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
178 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
179 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
180 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
181 inline RoutePedestrianSpan& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
182 inline RoutePedestrianSpan& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
183 inline RoutePedestrianSpan& WithRegion(const char* value) { SetRegion(value); return *this;}
185
187
190 inline const Aws::Vector<RouteSpanRoadAttribute>& GetRoadAttributes() const{ return m_roadAttributes; }
191 inline bool RoadAttributesHasBeenSet() const { return m_roadAttributesHasBeenSet; }
192 inline void SetRoadAttributes(const Aws::Vector<RouteSpanRoadAttribute>& value) { m_roadAttributesHasBeenSet = true; m_roadAttributes = value; }
193 inline void SetRoadAttributes(Aws::Vector<RouteSpanRoadAttribute>&& value) { m_roadAttributesHasBeenSet = true; m_roadAttributes = std::move(value); }
196 inline RoutePedestrianSpan& AddRoadAttributes(const RouteSpanRoadAttribute& value) { m_roadAttributesHasBeenSet = true; m_roadAttributes.push_back(value); return *this; }
197 inline RoutePedestrianSpan& AddRoadAttributes(RouteSpanRoadAttribute&& value) { m_roadAttributesHasBeenSet = true; m_roadAttributes.push_back(std::move(value)); return *this; }
199
201
204 inline const Aws::Vector<RouteNumber>& GetRouteNumbers() const{ return m_routeNumbers; }
205 inline bool RouteNumbersHasBeenSet() const { return m_routeNumbersHasBeenSet; }
206 inline void SetRouteNumbers(const Aws::Vector<RouteNumber>& value) { m_routeNumbersHasBeenSet = true; m_routeNumbers = value; }
207 inline void SetRouteNumbers(Aws::Vector<RouteNumber>&& value) { m_routeNumbersHasBeenSet = true; m_routeNumbers = std::move(value); }
209 inline RoutePedestrianSpan& WithRouteNumbers(Aws::Vector<RouteNumber>&& value) { SetRouteNumbers(std::move(value)); return *this;}
210 inline RoutePedestrianSpan& AddRouteNumbers(const RouteNumber& value) { m_routeNumbersHasBeenSet = true; m_routeNumbers.push_back(value); return *this; }
211 inline RoutePedestrianSpan& AddRouteNumbers(RouteNumber&& value) { m_routeNumbersHasBeenSet = true; m_routeNumbers.push_back(std::move(value)); return *this; }
213
215
219 inline const RouteSpanSpeedLimitDetails& GetSpeedLimit() const{ return m_speedLimit; }
220 inline bool SpeedLimitHasBeenSet() const { return m_speedLimitHasBeenSet; }
221 inline void SetSpeedLimit(const RouteSpanSpeedLimitDetails& value) { m_speedLimitHasBeenSet = true; m_speedLimit = value; }
222 inline void SetSpeedLimit(RouteSpanSpeedLimitDetails&& value) { m_speedLimitHasBeenSet = true; m_speedLimit = std::move(value); }
223 inline RoutePedestrianSpan& WithSpeedLimit(const RouteSpanSpeedLimitDetails& value) { SetSpeedLimit(value); return *this;}
224 inline RoutePedestrianSpan& WithSpeedLimit(RouteSpanSpeedLimitDetails&& value) { SetSpeedLimit(std::move(value)); return *this;}
226
228
232 inline long long GetTypicalDuration() const{ return m_typicalDuration; }
233 inline bool TypicalDurationHasBeenSet() const { return m_typicalDurationHasBeenSet; }
234 inline void SetTypicalDuration(long long value) { m_typicalDurationHasBeenSet = true; m_typicalDuration = value; }
235 inline RoutePedestrianSpan& WithTypicalDuration(long long value) { SetTypicalDuration(value); return *this;}
237 private:
238
239 long long m_bestCaseDuration;
240 bool m_bestCaseDurationHasBeenSet = false;
241
242 Aws::String m_country;
243 bool m_countryHasBeenSet = false;
244
245 long long m_distance;
246 bool m_distanceHasBeenSet = false;
247
248 long long m_duration;
249 bool m_durationHasBeenSet = false;
250
251 RouteSpanDynamicSpeedDetails m_dynamicSpeed;
252 bool m_dynamicSpeedHasBeenSet = false;
253
254 int m_functionalClassification;
255 bool m_functionalClassificationHasBeenSet = false;
256
257 int m_geometryOffset;
258 bool m_geometryOffsetHasBeenSet = false;
259
260 Aws::Vector<int> m_incidents;
261 bool m_incidentsHasBeenSet = false;
262
264 bool m_namesHasBeenSet = false;
265
267 bool m_pedestrianAccessHasBeenSet = false;
268
269 Aws::String m_region;
270 bool m_regionHasBeenSet = false;
271
273 bool m_roadAttributesHasBeenSet = false;
274
275 Aws::Vector<RouteNumber> m_routeNumbers;
276 bool m_routeNumbersHasBeenSet = false;
277
278 RouteSpanSpeedLimitDetails m_speedLimit;
279 bool m_speedLimitHasBeenSet = false;
280
281 long long m_typicalDuration;
282 bool m_typicalDurationHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace GeoRoutes
287} // namespace Aws
RoutePedestrianSpan & WithDistance(long long value)
RoutePedestrianSpan & AddIncidents(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)
RoutePedestrianSpan & AddNames(const LocalizedString &value)
RoutePedestrianSpan & WithPedestrianAccess(const Aws::Vector< RouteSpanPedestrianAccessAttribute > &value)
RoutePedestrianSpan & WithDynamicSpeed(const RouteSpanDynamicSpeedDetails &value)
const Aws::Vector< int > & GetIncidents() const
RoutePedestrianSpan & WithFunctionalClassification(int value)
void SetRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
const Aws::Vector< RouteNumber > & GetRouteNumbers() const
RoutePedestrianSpan & WithDuration(long long value)
RoutePedestrianSpan & WithSpeedLimit(const RouteSpanSpeedLimitDetails &value)
RoutePedestrianSpan & WithPedestrianAccess(Aws::Vector< RouteSpanPedestrianAccessAttribute > &&value)
void SetDynamicSpeed(const RouteSpanDynamicSpeedDetails &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)
RoutePedestrianSpan & WithRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
RoutePedestrianSpan & WithRegion(const Aws::String &value)
void SetCountry(const Aws::String &value)
const RouteSpanDynamicSpeedDetails & GetDynamicSpeed() const
void SetRoadAttributes(const Aws::Vector< RouteSpanRoadAttribute > &value)
const RouteSpanSpeedLimitDetails & GetSpeedLimit() const
RoutePedestrianSpan & WithRoadAttributes(Aws::Vector< RouteSpanRoadAttribute > &&value)
const Aws::Vector< RouteSpanPedestrianAccessAttribute > & GetPedestrianAccess() const
RoutePedestrianSpan & AddRouteNumbers(const RouteNumber &value)
void SetSpeedLimit(const RouteSpanSpeedLimitDetails &value)
RoutePedestrianSpan & WithGeometryOffset(int value)
RoutePedestrianSpan & AddPedestrianAccess(const RouteSpanPedestrianAccessAttribute &value)
RoutePedestrianSpan & WithSpeedLimit(RouteSpanSpeedLimitDetails &&value)
void SetIncidents(const Aws::Vector< int > &value)
RoutePedestrianSpan & WithRouteNumbers(Aws::Vector< RouteNumber > &&value)
RoutePedestrianSpan & AddNames(LocalizedString &&value)
RoutePedestrianSpan & WithRegion(Aws::String &&value)
RoutePedestrianSpan & WithNames(Aws::Vector< LocalizedString > &&value)
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)
RoutePedestrianSpan & WithIncidents(Aws::Vector< int > &&value)
RoutePedestrianSpan & WithNames(const Aws::Vector< LocalizedString > &value)
RoutePedestrianSpan & WithRouteNumbers(const Aws::Vector< RouteNumber > &value)
RoutePedestrianSpan & WithCountry(Aws::String &&value)
RoutePedestrianSpan & WithCountry(const Aws::String &value)
const Aws::Vector< LocalizedString > & GetNames() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpeedLimit(RouteSpanSpeedLimitDetails &&value)
RoutePedestrianSpan & WithIncidents(const Aws::Vector< int > &value)
RoutePedestrianSpan & WithCountry(const char *value)
RoutePedestrianSpan & WithRegion(const char *value)
void SetRouteNumbers(const Aws::Vector< RouteNumber > &value)
void SetPedestrianAccess(const Aws::Vector< RouteSpanPedestrianAccessAttribute > &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