7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePedestrianArrival.h>
9#include <aws/geo-routes/model/RoutePedestrianDeparture.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/RoutePedestrianSummary.h>
12#include <aws/geo-routes/model/RoutePedestrianNotice.h>
13#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
14#include <aws/geo-routes/model/RoutePedestrianSpan.h>
15#include <aws/geo-routes/model/RoutePedestrianTravelStep.h>
53 template<
typename ArrivalT = RoutePedestrianArrival>
54 void SetArrival(ArrivalT&& value) { m_arrivalHasBeenSet =
true; m_arrival = std::forward<ArrivalT>(value); }
55 template<
typename ArrivalT = RoutePedestrianArrival>
65 template<
typename DepartureT = RoutePedestrianDeparture>
66 void SetDeparture(DepartureT&& value) { m_departureHasBeenSet =
true; m_departure = std::forward<DepartureT>(value); }
67 template<
typename DepartureT = RoutePedestrianDeparture>
78 template<
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
79 void SetNotices(NoticesT&& value) { m_noticesHasBeenSet =
true; m_notices = std::forward<NoticesT>(value); }
80 template<
typename NoticesT = Aws::Vector<RoutePedestrianNotice>>
82 template<
typename NoticesT = RoutePedestrianNotice>
93 template<
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
94 void SetPassThroughWaypoints(PassThroughWaypointsT&& value) { m_passThroughWaypointsHasBeenSet =
true; m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value); }
95 template<
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
97 template<
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
107 template<
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
108 void SetSpans(SpansT&& value) { m_spansHasBeenSet =
true; m_spans = std::forward<SpansT>(value); }
109 template<
typename SpansT = Aws::Vector<RoutePedestrianSpan>>
111 template<
typename SpansT = RoutePedestrianSpan>
121 template<
typename SummaryT = RoutePedestrianSummary>
122 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
123 template<
typename SummaryT = RoutePedestrianSummary>
134 template<
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
135 void SetTravelSteps(TravelStepsT&& value) { m_travelStepsHasBeenSet =
true; m_travelSteps = std::forward<TravelStepsT>(value); }
136 template<
typename TravelStepsT = Aws::Vector<RoutePedestrianTravelStep>>
138 template<
typename TravelStepsT = RoutePedestrianTravelStep>
144 bool m_arrivalHasBeenSet =
false;
147 bool m_departureHasBeenSet =
false;
150 bool m_noticesHasBeenSet =
false;
153 bool m_passThroughWaypointsHasBeenSet =
false;
156 bool m_spansHasBeenSet =
false;
159 bool m_summaryHasBeenSet =
false;
162 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