AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianTravelStep.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteContinueStepDetails.h>
9#include <aws/geo-routes/model/RouteRoad.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/geo-routes/model/RouteKeepStepDetails.h>
13#include <aws/geo-routes/model/RouteRoundaboutEnterStepDetails.h>
14#include <aws/geo-routes/model/RouteRoundaboutExitStepDetails.h>
15#include <aws/geo-routes/model/RouteRoundaboutPassStepDetails.h>
16#include <aws/geo-routes/model/RouteSignpost.h>
17#include <aws/geo-routes/model/RouteTurnStepDetails.h>
18#include <aws/geo-routes/model/RoutePedestrianTravelStepType.h>
19#include <aws/geo-routes/model/LocalizedString.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace GeoRoutes
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_GEOROUTES_API RoutePedestrianTravelStep();
49 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const RouteContinueStepDetails& GetContinueStepDetails() const{ return m_continueStepDetails; }
57 inline bool ContinueStepDetailsHasBeenSet() const { return m_continueStepDetailsHasBeenSet; }
58 inline void SetContinueStepDetails(const RouteContinueStepDetails& value) { m_continueStepDetailsHasBeenSet = true; m_continueStepDetails = value; }
59 inline void SetContinueStepDetails(RouteContinueStepDetails&& value) { m_continueStepDetailsHasBeenSet = true; m_continueStepDetails = std::move(value); }
63
65
68 inline const RouteRoad& GetCurrentRoad() const{ return m_currentRoad; }
69 inline bool CurrentRoadHasBeenSet() const { return m_currentRoadHasBeenSet; }
70 inline void SetCurrentRoad(const RouteRoad& value) { m_currentRoadHasBeenSet = true; m_currentRoad = value; }
71 inline void SetCurrentRoad(RouteRoad&& value) { m_currentRoadHasBeenSet = true; m_currentRoad = std::move(value); }
72 inline RoutePedestrianTravelStep& WithCurrentRoad(const RouteRoad& value) { SetCurrentRoad(value); return *this;}
73 inline RoutePedestrianTravelStep& WithCurrentRoad(RouteRoad&& value) { SetCurrentRoad(std::move(value)); return *this;}
75
77
80 inline long long GetDistance() const{ return m_distance; }
81 inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; }
82 inline void SetDistance(long long value) { m_distanceHasBeenSet = true; m_distance = value; }
83 inline RoutePedestrianTravelStep& WithDistance(long long value) { SetDistance(value); return *this;}
85
87
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 RoutePedestrianTravelStep& WithDuration(long long value) { SetDuration(value); return *this;}
95
97
100 inline const Aws::Vector<LocalizedString>& GetExitNumber() const{ return m_exitNumber; }
101 inline bool ExitNumberHasBeenSet() const { return m_exitNumberHasBeenSet; }
102 inline void SetExitNumber(const Aws::Vector<LocalizedString>& value) { m_exitNumberHasBeenSet = true; m_exitNumber = value; }
103 inline void SetExitNumber(Aws::Vector<LocalizedString>&& value) { m_exitNumberHasBeenSet = true; m_exitNumber = std::move(value); }
105 inline RoutePedestrianTravelStep& WithExitNumber(Aws::Vector<LocalizedString>&& value) { SetExitNumber(std::move(value)); return *this;}
106 inline RoutePedestrianTravelStep& AddExitNumber(const LocalizedString& value) { m_exitNumberHasBeenSet = true; m_exitNumber.push_back(value); return *this; }
107 inline RoutePedestrianTravelStep& AddExitNumber(LocalizedString&& value) { m_exitNumberHasBeenSet = true; m_exitNumber.push_back(std::move(value)); return *this; }
109
111
114 inline int GetGeometryOffset() const{ return m_geometryOffset; }
115 inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; }
116 inline void SetGeometryOffset(int value) { m_geometryOffsetHasBeenSet = true; m_geometryOffset = value; }
117 inline RoutePedestrianTravelStep& WithGeometryOffset(int value) { SetGeometryOffset(value); return *this;}
119
121
125 inline const Aws::String& GetInstruction() const{ return m_instruction; }
126 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
127 inline void SetInstruction(const Aws::String& value) { m_instructionHasBeenSet = true; m_instruction = value; }
128 inline void SetInstruction(Aws::String&& value) { m_instructionHasBeenSet = true; m_instruction = std::move(value); }
129 inline void SetInstruction(const char* value) { m_instructionHasBeenSet = true; m_instruction.assign(value); }
130 inline RoutePedestrianTravelStep& WithInstruction(const Aws::String& value) { SetInstruction(value); return *this;}
131 inline RoutePedestrianTravelStep& WithInstruction(Aws::String&& value) { SetInstruction(std::move(value)); return *this;}
132 inline RoutePedestrianTravelStep& WithInstruction(const char* value) { SetInstruction(value); return *this;}
134
136
139 inline const RouteKeepStepDetails& GetKeepStepDetails() const{ return m_keepStepDetails; }
140 inline bool KeepStepDetailsHasBeenSet() const { return m_keepStepDetailsHasBeenSet; }
141 inline void SetKeepStepDetails(const RouteKeepStepDetails& value) { m_keepStepDetailsHasBeenSet = true; m_keepStepDetails = value; }
142 inline void SetKeepStepDetails(RouteKeepStepDetails&& value) { m_keepStepDetailsHasBeenSet = true; m_keepStepDetails = std::move(value); }
146
148
151 inline const RouteRoad& GetNextRoad() const{ return m_nextRoad; }
152 inline bool NextRoadHasBeenSet() const { return m_nextRoadHasBeenSet; }
153 inline void SetNextRoad(const RouteRoad& value) { m_nextRoadHasBeenSet = true; m_nextRoad = value; }
154 inline void SetNextRoad(RouteRoad&& value) { m_nextRoadHasBeenSet = true; m_nextRoad = std::move(value); }
155 inline RoutePedestrianTravelStep& WithNextRoad(const RouteRoad& value) { SetNextRoad(value); return *this;}
156 inline RoutePedestrianTravelStep& WithNextRoad(RouteRoad&& value) { SetNextRoad(std::move(value)); return *this;}
158
160
163 inline const RouteRoundaboutEnterStepDetails& GetRoundaboutEnterStepDetails() const{ return m_roundaboutEnterStepDetails; }
164 inline bool RoundaboutEnterStepDetailsHasBeenSet() const { return m_roundaboutEnterStepDetailsHasBeenSet; }
165 inline void SetRoundaboutEnterStepDetails(const RouteRoundaboutEnterStepDetails& value) { m_roundaboutEnterStepDetailsHasBeenSet = true; m_roundaboutEnterStepDetails = value; }
166 inline void SetRoundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails&& value) { m_roundaboutEnterStepDetailsHasBeenSet = true; m_roundaboutEnterStepDetails = std::move(value); }
170
172
175 inline const RouteRoundaboutExitStepDetails& GetRoundaboutExitStepDetails() const{ return m_roundaboutExitStepDetails; }
176 inline bool RoundaboutExitStepDetailsHasBeenSet() const { return m_roundaboutExitStepDetailsHasBeenSet; }
177 inline void SetRoundaboutExitStepDetails(const RouteRoundaboutExitStepDetails& value) { m_roundaboutExitStepDetailsHasBeenSet = true; m_roundaboutExitStepDetails = value; }
178 inline void SetRoundaboutExitStepDetails(RouteRoundaboutExitStepDetails&& value) { m_roundaboutExitStepDetailsHasBeenSet = true; m_roundaboutExitStepDetails = std::move(value); }
182
184
187 inline const RouteRoundaboutPassStepDetails& GetRoundaboutPassStepDetails() const{ return m_roundaboutPassStepDetails; }
188 inline bool RoundaboutPassStepDetailsHasBeenSet() const { return m_roundaboutPassStepDetailsHasBeenSet; }
189 inline void SetRoundaboutPassStepDetails(const RouteRoundaboutPassStepDetails& value) { m_roundaboutPassStepDetailsHasBeenSet = true; m_roundaboutPassStepDetails = value; }
190 inline void SetRoundaboutPassStepDetails(RouteRoundaboutPassStepDetails&& value) { m_roundaboutPassStepDetailsHasBeenSet = true; m_roundaboutPassStepDetails = std::move(value); }
194
196
200 inline const RouteSignpost& GetSignpost() const{ return m_signpost; }
201 inline bool SignpostHasBeenSet() const { return m_signpostHasBeenSet; }
202 inline void SetSignpost(const RouteSignpost& value) { m_signpostHasBeenSet = true; m_signpost = value; }
203 inline void SetSignpost(RouteSignpost&& value) { m_signpostHasBeenSet = true; m_signpost = std::move(value); }
204 inline RoutePedestrianTravelStep& WithSignpost(const RouteSignpost& value) { SetSignpost(value); return *this;}
205 inline RoutePedestrianTravelStep& WithSignpost(RouteSignpost&& value) { SetSignpost(std::move(value)); return *this;}
207
209
212 inline const RouteTurnStepDetails& GetTurnStepDetails() const{ return m_turnStepDetails; }
213 inline bool TurnStepDetailsHasBeenSet() const { return m_turnStepDetailsHasBeenSet; }
214 inline void SetTurnStepDetails(const RouteTurnStepDetails& value) { m_turnStepDetailsHasBeenSet = true; m_turnStepDetails = value; }
215 inline void SetTurnStepDetails(RouteTurnStepDetails&& value) { m_turnStepDetailsHasBeenSet = true; m_turnStepDetails = std::move(value); }
219
221
224 inline const RoutePedestrianTravelStepType& GetType() const{ return m_type; }
225 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
226 inline void SetType(const RoutePedestrianTravelStepType& value) { m_typeHasBeenSet = true; m_type = value; }
227 inline void SetType(RoutePedestrianTravelStepType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
228 inline RoutePedestrianTravelStep& WithType(const RoutePedestrianTravelStepType& value) { SetType(value); return *this;}
229 inline RoutePedestrianTravelStep& WithType(RoutePedestrianTravelStepType&& value) { SetType(std::move(value)); return *this;}
231 private:
232
233 RouteContinueStepDetails m_continueStepDetails;
234 bool m_continueStepDetailsHasBeenSet = false;
235
236 RouteRoad m_currentRoad;
237 bool m_currentRoadHasBeenSet = false;
238
239 long long m_distance;
240 bool m_distanceHasBeenSet = false;
241
242 long long m_duration;
243 bool m_durationHasBeenSet = false;
244
245 Aws::Vector<LocalizedString> m_exitNumber;
246 bool m_exitNumberHasBeenSet = false;
247
248 int m_geometryOffset;
249 bool m_geometryOffsetHasBeenSet = false;
250
251 Aws::String m_instruction;
252 bool m_instructionHasBeenSet = false;
253
254 RouteKeepStepDetails m_keepStepDetails;
255 bool m_keepStepDetailsHasBeenSet = false;
256
257 RouteRoad m_nextRoad;
258 bool m_nextRoadHasBeenSet = false;
259
260 RouteRoundaboutEnterStepDetails m_roundaboutEnterStepDetails;
261 bool m_roundaboutEnterStepDetailsHasBeenSet = false;
262
263 RouteRoundaboutExitStepDetails m_roundaboutExitStepDetails;
264 bool m_roundaboutExitStepDetailsHasBeenSet = false;
265
266 RouteRoundaboutPassStepDetails m_roundaboutPassStepDetails;
267 bool m_roundaboutPassStepDetailsHasBeenSet = false;
268
269 RouteSignpost m_signpost;
270 bool m_signpostHasBeenSet = false;
271
272 RouteTurnStepDetails m_turnStepDetails;
273 bool m_turnStepDetailsHasBeenSet = false;
274
276 bool m_typeHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace GeoRoutes
281} // namespace Aws
RoutePedestrianTravelStep & WithGeometryOffset(int value)
void SetKeepStepDetails(const RouteKeepStepDetails &value)
RoutePedestrianTravelStep & WithCurrentRoad(RouteRoad &&value)
const RouteKeepStepDetails & GetKeepStepDetails() const
RoutePedestrianTravelStep & WithExitNumber(const Aws::Vector< LocalizedString > &value)
RoutePedestrianTravelStep & WithSignpost(const RouteSignpost &value)
const RouteRoundaboutPassStepDetails & GetRoundaboutPassStepDetails() const
void SetContinueStepDetails(const RouteContinueStepDetails &value)
RoutePedestrianTravelStep & WithContinueStepDetails(RouteContinueStepDetails &&value)
RoutePedestrianTravelStep & WithRoundaboutPassStepDetails(RouteRoundaboutPassStepDetails &&value)
RoutePedestrianTravelStep & WithRoundaboutExitStepDetails(RouteRoundaboutExitStepDetails &&value)
RoutePedestrianTravelStep & WithContinueStepDetails(const RouteContinueStepDetails &value)
AWS_GEOROUTES_API RoutePedestrianTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteTurnStepDetails & GetTurnStepDetails() const
RoutePedestrianTravelStep & WithSignpost(RouteSignpost &&value)
RoutePedestrianTravelStep & WithKeepStepDetails(const RouteKeepStepDetails &value)
void SetExitNumber(Aws::Vector< LocalizedString > &&value)
RoutePedestrianTravelStep & WithNextRoad(RouteRoad &&value)
void SetRoundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails &&value)
void SetRoundaboutPassStepDetails(RouteRoundaboutPassStepDetails &&value)
void SetType(const RoutePedestrianTravelStepType &value)
void SetType(RoutePedestrianTravelStepType &&value)
const RoutePedestrianTravelStepType & GetType() const
RoutePedestrianTravelStep & WithInstruction(Aws::String &&value)
RoutePedestrianTravelStep & WithNextRoad(const RouteRoad &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoutePedestrianTravelStep & WithCurrentRoad(const RouteRoad &value)
RoutePedestrianTravelStep & WithExitNumber(Aws::Vector< LocalizedString > &&value)
RoutePedestrianTravelStep & WithRoundaboutEnterStepDetails(RouteRoundaboutEnterStepDetails &&value)
RoutePedestrianTravelStep & WithType(const RoutePedestrianTravelStepType &value)
RoutePedestrianTravelStep & WithKeepStepDetails(RouteKeepStepDetails &&value)
void SetContinueStepDetails(RouteContinueStepDetails &&value)
RoutePedestrianTravelStep & WithTurnStepDetails(const RouteTurnStepDetails &value)
RoutePedestrianTravelStep & AddExitNumber(const LocalizedString &value)
void SetRoundaboutPassStepDetails(const RouteRoundaboutPassStepDetails &value)
AWS_GEOROUTES_API RoutePedestrianTravelStep(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianTravelStep & WithRoundaboutPassStepDetails(const RouteRoundaboutPassStepDetails &value)
const RouteContinueStepDetails & GetContinueStepDetails() const
RoutePedestrianTravelStep & WithType(RoutePedestrianTravelStepType &&value)
RoutePedestrianTravelStep & WithRoundaboutExitStepDetails(const RouteRoundaboutExitStepDetails &value)
RoutePedestrianTravelStep & WithDuration(long long value)
void SetRoundaboutExitStepDetails(const RouteRoundaboutExitStepDetails &value)
const RouteRoundaboutEnterStepDetails & GetRoundaboutEnterStepDetails() const
void SetRoundaboutEnterStepDetails(const RouteRoundaboutEnterStepDetails &value)
void SetRoundaboutExitStepDetails(RouteRoundaboutExitStepDetails &&value)
RoutePedestrianTravelStep & WithInstruction(const char *value)
const Aws::Vector< LocalizedString > & GetExitNumber() const
RoutePedestrianTravelStep & AddExitNumber(LocalizedString &&value)
RoutePedestrianTravelStep & WithRoundaboutEnterStepDetails(const RouteRoundaboutEnterStepDetails &value)
void SetExitNumber(const Aws::Vector< LocalizedString > &value)
RoutePedestrianTravelStep & WithDistance(long long value)
RoutePedestrianTravelStep & WithInstruction(const Aws::String &value)
RoutePedestrianTravelStep & WithTurnStepDetails(RouteTurnStepDetails &&value)
void SetTurnStepDetails(const RouteTurnStepDetails &value)
const RouteRoundaboutExitStepDetails & GetRoundaboutExitStepDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue