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>
84 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
86 m_noticesHasBeenSet =
true;
87 m_notices = std::forward<NoticesT>(value);
89 template <
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
94 template <
typename NoticesT = RoutePedestrianNotice>
96 m_noticesHasBeenSet =
true;
97 m_notices.emplace_back(std::forward<NoticesT>(value));
109 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
111 m_passThroughWaypointsHasBeenSet =
true;
112 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
114 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
119 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
121 m_passThroughWaypointsHasBeenSet =
true;
122 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
133 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
135 m_spansHasBeenSet =
true;
136 m_spans = std::forward<SpansT>(value);
138 template <
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
140 SetSpans(std::forward<SpansT>(value));
143 template <
typename SpansT = RoutePedestrianSpan>
145 m_spansHasBeenSet =
true;
146 m_spans.emplace_back(std::forward<SpansT>(value));
157 template <
typename SummaryT = RoutePedestrianSummary>
159 m_summaryHasBeenSet =
true;
160 m_summary = std::forward<SummaryT>(value);
162 template <
typename SummaryT = RoutePedestrianSummary>
176 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
178 m_travelStepsHasBeenSet =
true;
179 m_travelSteps = std::forward<TravelStepsT>(value);
181 template <
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
186 template <
typename TravelStepsT = RoutePedestrianTravelStep>
188 m_travelStepsHasBeenSet =
true;
189 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
207 bool m_arrivalHasBeenSet =
false;
208 bool m_departureHasBeenSet =
false;
209 bool m_noticesHasBeenSet =
false;
210 bool m_passThroughWaypointsHasBeenSet =
false;
211 bool m_spansHasBeenSet =
false;
212 bool m_summaryHasBeenSet =
false;
213 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