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>
58 template<
typename ContinueStepDetailsT = RouteContinueStepDetails>
59 void SetContinueStepDetails(ContinueStepDetailsT&& value) { m_continueStepDetailsHasBeenSet =
true; m_continueStepDetails = std::forward<ContinueStepDetailsT>(value); }
60 template<
typename ContinueStepDetailsT = RouteContinueStepDetails>
70 template<
typename CurrentRoadT = RouteRoad>
71 void SetCurrentRoad(CurrentRoadT&& value) { m_currentRoadHasBeenSet =
true; m_currentRoad = std::forward<CurrentRoadT>(value); }
72 template<
typename CurrentRoadT = RouteRoad>
82 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; }
102 template<
typename ExitNumberT = Aws::Vector<LocalizedString>>
103 void SetExitNumber(ExitNumberT&& value) { m_exitNumberHasBeenSet =
true; m_exitNumber = std::forward<ExitNumberT>(value); }
104 template<
typename ExitNumberT = Aws::Vector<LocalizedString>>
106 template<
typename ExitNumberT = LocalizedString>
116 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
127 template<
typename InstructionT = Aws::String>
128 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
129 template<
typename InstructionT = Aws::String>
139 template<
typename KeepStepDetailsT = RouteKeepStepDetails>
140 void SetKeepStepDetails(KeepStepDetailsT&& value) { m_keepStepDetailsHasBeenSet =
true; m_keepStepDetails = std::forward<KeepStepDetailsT>(value); }
141 template<
typename KeepStepDetailsT = RouteKeepStepDetails>
151 template<
typename NextRoadT = RouteRoad>
152 void SetNextRoad(NextRoadT&& value) { m_nextRoadHasBeenSet =
true; m_nextRoad = std::forward<NextRoadT>(value); }
153 template<
typename NextRoadT = RouteRoad>
163 template<
typename RoundaboutEnterStepDetailsT = RouteRoundaboutEnterStepDetails>
164 void SetRoundaboutEnterStepDetails(RoundaboutEnterStepDetailsT&& value) { m_roundaboutEnterStepDetailsHasBeenSet =
true; m_roundaboutEnterStepDetails = std::forward<RoundaboutEnterStepDetailsT>(value); }
165 template<
typename RoundaboutEnterStepDetailsT = RouteRoundaboutEnterStepDetails>
175 template<
typename RoundaboutExitStepDetailsT = RouteRoundaboutExitStepDetails>
176 void SetRoundaboutExitStepDetails(RoundaboutExitStepDetailsT&& value) { m_roundaboutExitStepDetailsHasBeenSet =
true; m_roundaboutExitStepDetails = std::forward<RoundaboutExitStepDetailsT>(value); }
177 template<
typename RoundaboutExitStepDetailsT = RouteRoundaboutExitStepDetails>
187 template<
typename RoundaboutPassStepDetailsT = RouteRoundaboutPassStepDetails>
188 void SetRoundaboutPassStepDetails(RoundaboutPassStepDetailsT&& value) { m_roundaboutPassStepDetailsHasBeenSet =
true; m_roundaboutPassStepDetails = std::forward<RoundaboutPassStepDetailsT>(value); }
189 template<
typename RoundaboutPassStepDetailsT = RouteRoundaboutPassStepDetails>
200 template<
typename SignpostT = RouteSignpost>
201 void SetSignpost(SignpostT&& value) { m_signpostHasBeenSet =
true; m_signpost = std::forward<SignpostT>(value); }
202 template<
typename SignpostT = RouteSignpost>
212 template<
typename TurnStepDetailsT = RouteTurnStepDetails>
213 void SetTurnStepDetails(TurnStepDetailsT&& value) { m_turnStepDetailsHasBeenSet =
true; m_turnStepDetails = std::forward<TurnStepDetailsT>(value); }
214 template<
typename TurnStepDetailsT = RouteTurnStepDetails>
230 bool m_continueStepDetailsHasBeenSet =
false;
233 bool m_currentRoadHasBeenSet =
false;
235 long long m_distance{0};
236 bool m_distanceHasBeenSet =
false;
238 long long m_duration{0};
239 bool m_durationHasBeenSet =
false;
242 bool m_exitNumberHasBeenSet =
false;
244 int m_geometryOffset{0};
245 bool m_geometryOffsetHasBeenSet =
false;
248 bool m_instructionHasBeenSet =
false;
250 RouteKeepStepDetails m_keepStepDetails;
251 bool m_keepStepDetailsHasBeenSet =
false;
253 RouteRoad m_nextRoad;
254 bool m_nextRoadHasBeenSet =
false;
256 RouteRoundaboutEnterStepDetails m_roundaboutEnterStepDetails;
257 bool m_roundaboutEnterStepDetailsHasBeenSet =
false;
259 RouteRoundaboutExitStepDetails m_roundaboutExitStepDetails;
260 bool m_roundaboutExitStepDetailsHasBeenSet =
false;
262 RouteRoundaboutPassStepDetails m_roundaboutPassStepDetails;
263 bool m_roundaboutPassStepDetailsHasBeenSet =
false;
265 RouteSignpost m_signpost;
266 bool m_signpostHasBeenSet =
false;
268 RouteTurnStepDetails m_turnStepDetails;
269 bool m_turnStepDetailsHasBeenSet =
false;
272 bool m_typeHasBeenSet =
false;
void SetDuration(long long value)
RoutePedestrianTravelStep & WithGeometryOffset(int value)
void SetExitNumber(ExitNumberT &&value)
bool GeometryOffsetHasBeenSet() const
const RouteSignpost & GetSignpost() const
RoutePedestrianTravelStep & WithRoundaboutExitStepDetails(RoundaboutExitStepDetailsT &&value)
long long GetDistance() const
void SetType(RoutePedestrianTravelStepType value)
const RouteKeepStepDetails & GetKeepStepDetails() const
void SetContinueStepDetails(ContinueStepDetailsT &&value)
void SetKeepStepDetails(KeepStepDetailsT &&value)
bool ExitNumberHasBeenSet() const
bool ContinueStepDetailsHasBeenSet() const
RoutePedestrianTravelStep & WithInstruction(InstructionT &&value)
const RouteRoundaboutPassStepDetails & GetRoundaboutPassStepDetails() const
RoutePedestrianTravelStep & WithType(RoutePedestrianTravelStepType value)
bool TypeHasBeenSet() const
RoutePedestrianTravelStep & WithSignpost(SignpostT &&value)
void SetRoundaboutEnterStepDetails(RoundaboutEnterStepDetailsT &&value)
bool RoundaboutEnterStepDetailsHasBeenSet() const
bool RoundaboutPassStepDetailsHasBeenSet() const
RoutePedestrianTravelStep & WithCurrentRoad(CurrentRoadT &&value)
AWS_GEOROUTES_API RoutePedestrianTravelStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteTurnStepDetails & GetTurnStepDetails() const
AWS_GEOROUTES_API RoutePedestrianTravelStep()=default
RoutePedestrianTravelStep & WithRoundaboutPassStepDetails(RoundaboutPassStepDetailsT &&value)
bool DistanceHasBeenSet() const
const Aws::String & GetInstruction() const
long long GetDuration() const
bool CurrentRoadHasBeenSet() const
bool SignpostHasBeenSet() const
void SetGeometryOffset(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstruction(InstructionT &&value)
bool DurationHasBeenSet() const
void SetTurnStepDetails(TurnStepDetailsT &&value)
void SetRoundaboutPassStepDetails(RoundaboutPassStepDetailsT &&value)
void SetCurrentRoad(CurrentRoadT &&value)
void SetRoundaboutExitStepDetails(RoundaboutExitStepDetailsT &&value)
RoutePedestrianTravelStep & WithContinueStepDetails(ContinueStepDetailsT &&value)
RoutePedestrianTravelStep & WithNextRoad(NextRoadT &&value)
AWS_GEOROUTES_API RoutePedestrianTravelStep(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianTravelStep & WithKeepStepDetails(KeepStepDetailsT &&value)
RoutePedestrianTravelStep & WithTurnStepDetails(TurnStepDetailsT &&value)
RoutePedestrianTravelStepType GetType() const
const RouteContinueStepDetails & GetContinueStepDetails() const
void SetSignpost(SignpostT &&value)
RoutePedestrianTravelStep & WithDuration(long long value)
bool KeepStepDetailsHasBeenSet() const
const RouteRoundaboutEnterStepDetails & GetRoundaboutEnterStepDetails() const
const RouteRoad & GetCurrentRoad() const
RoutePedestrianTravelStep & AddExitNumber(ExitNumberT &&value)
bool RoundaboutExitStepDetailsHasBeenSet() const
bool TurnStepDetailsHasBeenSet() const
RoutePedestrianTravelStep & WithExitNumber(ExitNumberT &&value)
bool NextRoadHasBeenSet() const
const RouteRoad & GetNextRoad() const
int GetGeometryOffset() const
bool InstructionHasBeenSet() const
const Aws::Vector< LocalizedString > & GetExitNumber() const
void SetNextRoad(NextRoadT &&value)
RoutePedestrianTravelStep & WithDistance(long long value)
RoutePedestrianTravelStep & WithRoundaboutEnterStepDetails(RoundaboutEnterStepDetailsT &&value)
void SetDistance(long long value)
const RouteRoundaboutExitStepDetails & GetRoundaboutExitStepDetails() const
RoutePedestrianTravelStepType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue