7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
10#include <aws/geo-routes/model/RoutePedestrianAfterTravelStep.h>
11#include <aws/geo-routes/model/RoutePedestrianArrival.h>
12#include <aws/geo-routes/model/RoutePedestrianDeparture.h>
13#include <aws/geo-routes/model/RoutePedestrianNotice.h>
14#include <aws/geo-routes/model/RoutePedestrianSpan.h>
15#include <aws/geo-routes/model/RoutePedestrianSummary.h>
16#include <aws/geo-routes/model/RoutePedestrianTravelStep.h>
49 template <
typename AfterTravelStepsT = Aws::Vector<RoutePedestrianAfterTravelStep>>
51 m_afterTravelStepsHasBeenSet =
true;
52 m_afterTravelSteps = std::forward<AfterTravelStepsT>(value);
54 template <
typename AfterTravelStepsT = Aws::Vector<RoutePedestrianAfterTravelStep>>
59 template <
typename AfterTravelStepsT = RoutePedestrianAfterTravelStep>
61 m_afterTravelStepsHasBeenSet =
true;
62 m_afterTravelSteps.emplace_back(std::forward<AfterTravelStepsT>(value));
73 template <
typename ArrivalT = RoutePedestrianArrival>
75 m_arrivalHasBeenSet =
true;
76 m_arrival = std::forward<ArrivalT>(value);
78 template <
typename ArrivalT = RoutePedestrianArrival>
91 template <
typename DepartureT = RoutePedestrianDeparture>
93 m_departureHasBeenSet =
true;
94 m_departure = std::forward<DepartureT>(value);
96 template <
typename DepartureT = RoutePedestrianDeparture>
113 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
115 m_noticesHasBeenSet =
true;
116 m_notices = std::forward<NoticesT>(value);
118 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
123 template <
typename NoticesT = RoutePedestrianNotice>
125 m_noticesHasBeenSet =
true;
126 m_notices.emplace_back(std::forward<NoticesT>(value));
138 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
140 m_passThroughWaypointsHasBeenSet =
true;
141 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
143 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
148 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
150 m_passThroughWaypointsHasBeenSet =
true;
151 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
166 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
168 m_spansHasBeenSet =
true;
169 m_spans = std::forward<SpansT>(value);
171 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
173 SetSpans(std::forward<SpansT>(value));
176 template <
typename SpansT = RoutePedestrianSpan>
178 m_spansHasBeenSet =
true;
179 m_spans.emplace_back(std::forward<SpansT>(value));
190 template <
typename SummaryT = RoutePedestrianSummary>
192 m_summaryHasBeenSet =
true;
193 m_summary = std::forward<SummaryT>(value);
195 template <
typename SummaryT = RoutePedestrianSummary>
209 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
211 m_travelStepsHasBeenSet =
true;
212 m_travelSteps = std::forward<TravelStepsT>(value);
214 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
219 template <
typename TravelStepsT = RoutePedestrianTravelStep>
221 m_travelStepsHasBeenSet =
true;
222 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
242 bool m_afterTravelStepsHasBeenSet =
false;
243 bool m_arrivalHasBeenSet =
false;
244 bool m_departureHasBeenSet =
false;
245 bool m_noticesHasBeenSet =
false;
246 bool m_passThroughWaypointsHasBeenSet =
false;
247 bool m_spansHasBeenSet =
false;
248 bool m_summaryHasBeenSet =
false;
249 bool m_travelStepsHasBeenSet =
false;
RoutePedestrianLegDetails & AddSpans(SpansT &&value)
const RoutePedestrianDeparture & GetDeparture() const
RoutePedestrianLegDetails & WithNotices(NoticesT &&value)
RoutePedestrianLegDetails & WithSpans(SpansT &&value)
RoutePedestrianLegDetails & WithTravelSteps(TravelStepsT &&value)
bool SpansHasBeenSet() const
const Aws::Vector< RoutePedestrianNotice > & GetNotices() const
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
bool PassThroughWaypointsHasBeenSet() const
bool DepartureHasBeenSet() const
bool SummaryHasBeenSet() const
void SetSpans(SpansT &&value)
const RoutePedestrianSummary & GetSummary() const
AWS_GEOROUTES_API RoutePedestrianLegDetails()=default
void SetTravelSteps(TravelStepsT &&value)
void SetDeparture(DepartureT &&value)
RoutePedestrianLegDetails & AddNotices(NoticesT &&value)
void SetArrival(ArrivalT &&value)
RoutePedestrianLegDetails & AddAfterTravelSteps(AfterTravelStepsT &&value)
bool TravelStepsHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoutePedestrianLegDetails & AddPassThroughWaypoints(PassThroughWaypointsT &&value)
RoutePedestrianLegDetails & WithDeparture(DepartureT &&value)
AWS_GEOROUTES_API RoutePedestrianLegDetails(Aws::Utils::Json::JsonView jsonValue)
bool ArrivalHasBeenSet() const
bool AfterTravelStepsHasBeenSet() const
const Aws::Vector< RoutePedestrianAfterTravelStep > & GetAfterTravelSteps() const
const Aws::Vector< RoutePedestrianSpan > & GetSpans() const
RoutePedestrianLegDetails & AddTravelSteps(TravelStepsT &&value)
RoutePedestrianLegDetails & WithAfterTravelSteps(AfterTravelStepsT &&value)
RoutePedestrianLegDetails & WithArrival(ArrivalT &&value)
const Aws::Vector< RoutePedestrianTravelStep > & GetTravelSteps() const
bool NoticesHasBeenSet() const
void SetAfterTravelSteps(AfterTravelStepsT &&value)
AWS_GEOROUTES_API RoutePedestrianLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RoutePedestrianArrival & GetArrival() const
RoutePedestrianLegDetails & WithPassThroughWaypoints(PassThroughWaypointsT &&value)
void SetSummary(SummaryT &&value)
void SetPassThroughWaypoints(PassThroughWaypointsT &&value)
void SetNotices(NoticesT &&value)
RoutePedestrianLegDetails & WithSummary(SummaryT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue