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/RoutePedestrianArrival.h>
11#include <aws/geo-routes/model/RoutePedestrianDeparture.h>
12#include <aws/geo-routes/model/RoutePedestrianNotice.h>
13#include <aws/geo-routes/model/RoutePedestrianSpan.h>
14#include <aws/geo-routes/model/RoutePedestrianSummary.h>
15#include <aws/geo-routes/model/RoutePedestrianTravelStep.h>
47 template <
typename ArrivalT = RoutePedestrianArrival>
49 m_arrivalHasBeenSet =
true;
50 m_arrival = std::forward<ArrivalT>(value);
52 template <
typename ArrivalT = RoutePedestrianArrival>
65 template <
typename DepartureT = RoutePedestrianDeparture>
67 m_departureHasBeenSet =
true;
68 m_departure = std::forward<DepartureT>(value);
70 template <
typename DepartureT = RoutePedestrianDeparture>
87 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
89 m_noticesHasBeenSet =
true;
90 m_notices = std::forward<NoticesT>(value);
92 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
97 template <
typename NoticesT = RoutePedestrianNotice>
99 m_noticesHasBeenSet =
true;
100 m_notices.emplace_back(std::forward<NoticesT>(value));
112 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
114 m_passThroughWaypointsHasBeenSet =
true;
115 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
117 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
122 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
124 m_passThroughWaypointsHasBeenSet =
true;
125 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
140 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
142 m_spansHasBeenSet =
true;
143 m_spans = std::forward<SpansT>(value);
145 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
147 SetSpans(std::forward<SpansT>(value));
150 template <
typename SpansT = RoutePedestrianSpan>
152 m_spansHasBeenSet =
true;
153 m_spans.emplace_back(std::forward<SpansT>(value));
164 template <
typename SummaryT = RoutePedestrianSummary>
166 m_summaryHasBeenSet =
true;
167 m_summary = std::forward<SummaryT>(value);
169 template <
typename SummaryT = RoutePedestrianSummary>
183 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
185 m_travelStepsHasBeenSet =
true;
186 m_travelSteps = std::forward<TravelStepsT>(value);
188 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
193 template <
typename TravelStepsT = RoutePedestrianTravelStep>
195 m_travelStepsHasBeenSet =
true;
196 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
214 bool m_arrivalHasBeenSet =
false;
215 bool m_departureHasBeenSet =
false;
216 bool m_noticesHasBeenSet =
false;
217 bool m_passThroughWaypointsHasBeenSet =
false;
218 bool m_spansHasBeenSet =
false;
219 bool m_summaryHasBeenSet =
false;
220 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)
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
const Aws::Vector< RoutePedestrianSpan > & GetSpans() const
RoutePedestrianLegDetails & AddTravelSteps(TravelStepsT &&value)
RoutePedestrianLegDetails & WithArrival(ArrivalT &&value)
const Aws::Vector< RoutePedestrianTravelStep > & GetTravelSteps() const
bool NoticesHasBeenSet() const
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