7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteAttribution.h>
10#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
11#include <aws/geo-routes/model/RouteTransitAfterTravelStep.h>
12#include <aws/geo-routes/model/RouteTransitAgency.h>
13#include <aws/geo-routes/model/RouteTransitArrival.h>
14#include <aws/geo-routes/model/RouteTransitBeforeTravelStep.h>
15#include <aws/geo-routes/model/RouteTransitDeparture.h>
16#include <aws/geo-routes/model/RouteTransitIncident.h>
17#include <aws/geo-routes/model/RouteTransitIntermediateStop.h>
18#include <aws/geo-routes/model/RouteTransitNextDeparture.h>
19#include <aws/geo-routes/model/RouteTransitNotice.h>
20#include <aws/geo-routes/model/RouteTransitSpan.h>
21#include <aws/geo-routes/model/RouteTransitSummary.h>
22#include <aws/geo-routes/model/RouteTransitTransportModeDetails.h>
23#include <aws/geo-routes/model/RouteTransitTravelStep.h>
24#include <aws/geo-routes/model/RouteWebLink.h>
58 template <
typename AfterTravelStepsT = Aws::Vector<RouteTransitAfterTravelStep>>
60 m_afterTravelStepsHasBeenSet =
true;
61 m_afterTravelSteps = std::forward<AfterTravelStepsT>(value);
63 template <
typename AfterTravelStepsT = Aws::Vector<RouteTransitAfterTravelStep>>
68 template <
typename AfterTravelStepsT = RouteTransitAfterTravelStep>
70 m_afterTravelStepsHasBeenSet =
true;
71 m_afterTravelSteps.emplace_back(std::forward<AfterTravelStepsT>(value));
82 template <
typename AgencyT = RouteTransitAgency>
84 m_agencyHasBeenSet =
true;
85 m_agency = std::forward<AgencyT>(value);
87 template <
typename AgencyT = RouteTransitAgency>
100 template <
typename ArrivalT = RouteTransitArrival>
102 m_arrivalHasBeenSet =
true;
103 m_arrival = std::forward<ArrivalT>(value);
105 template <
typename ArrivalT = RouteTransitArrival>
118 template <
typename AttributionsT = Aws::Vector<RouteAttribution>>
120 m_attributionsHasBeenSet =
true;
121 m_attributions = std::forward<AttributionsT>(value);
123 template <
typename AttributionsT = Aws::Vector<RouteAttribution>>
128 template <
typename AttributionsT = RouteAttribution>
130 m_attributionsHasBeenSet =
true;
131 m_attributions.emplace_back(std::forward<AttributionsT>(value));
143 template <
typename BeforeTravelStepsT = Aws::Vector<RouteTransitBeforeTravelStep>>
145 m_beforeTravelStepsHasBeenSet =
true;
146 m_beforeTravelSteps = std::forward<BeforeTravelStepsT>(value);
148 template <
typename BeforeTravelStepsT = Aws::Vector<RouteTransitBeforeTravelStep>>
153 template <
typename BeforeTravelStepsT = RouteTransitBeforeTravelStep>
155 m_beforeTravelStepsHasBeenSet =
true;
156 m_beforeTravelSteps.emplace_back(std::forward<BeforeTravelStepsT>(value));
167 template <
typename BookingWebLinksT = Aws::Vector<RouteWebLink>>
169 m_bookingWebLinksHasBeenSet =
true;
170 m_bookingWebLinks = std::forward<BookingWebLinksT>(value);
172 template <
typename BookingWebLinksT = Aws::Vector<RouteWebLink>>
177 template <
typename BookingWebLinksT = RouteWebLink>
179 m_bookingWebLinksHasBeenSet =
true;
180 m_bookingWebLinks.emplace_back(std::forward<BookingWebLinksT>(value));
191 template <
typename DepartureT = RouteTransitDeparture>
193 m_departureHasBeenSet =
true;
194 m_departure = std::forward<DepartureT>(value);
196 template <
typename DepartureT = RouteTransitDeparture>
209 template <
typename Inc
identsT = Aws::Vector<RouteTransitInc
ident>>
211 m_incidentsHasBeenSet =
true;
212 m_incidents = std::forward<IncidentsT>(value);
214 template <
typename Inc
identsT = Aws::Vector<RouteTransitInc
ident>>
219 template <
typename Inc
identsT = RouteTransitInc
ident>
221 m_incidentsHasBeenSet =
true;
222 m_incidents.emplace_back(std::forward<IncidentsT>(value));
234 template <
typename IntermediateStopsT = Aws::Vector<RouteTransitIntermediateStop>>
236 m_intermediateStopsHasBeenSet =
true;
237 m_intermediateStops = std::forward<IntermediateStopsT>(value);
239 template <
typename IntermediateStopsT = Aws::Vector<RouteTransitIntermediateStop>>
244 template <
typename IntermediateStopsT = RouteTransitIntermediateStop>
246 m_intermediateStopsHasBeenSet =
true;
247 m_intermediateStops.emplace_back(std::forward<IntermediateStopsT>(value));
258 template <
typename NextDeparturesT = Aws::Vector<RouteTransitNextDeparture>>
260 m_nextDeparturesHasBeenSet =
true;
261 m_nextDepartures = std::forward<NextDeparturesT>(value);
263 template <
typename NextDeparturesT = Aws::Vector<RouteTransitNextDeparture>>
268 template <
typename NextDeparturesT = RouteTransitNextDeparture>
270 m_nextDeparturesHasBeenSet =
true;
271 m_nextDepartures.emplace_back(std::forward<NextDeparturesT>(value));
283 template <
typename NoticesT = Aws::Vector<RouteTransitNotice>>
285 m_noticesHasBeenSet =
true;
286 m_notices = std::forward<NoticesT>(value);
288 template <
typename NoticesT = Aws::Vector<RouteTransitNotice>>
293 template <
typename NoticesT = RouteTransitNotice>
295 m_noticesHasBeenSet =
true;
296 m_notices.emplace_back(std::forward<NoticesT>(value));
309 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
311 m_passThroughWaypointsHasBeenSet =
true;
312 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
314 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
319 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
321 m_passThroughWaypointsHasBeenSet =
true;
322 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
335 template <
typename SpansT = Aws::Vector<RouteTransitSpan>>
337 m_spansHasBeenSet =
true;
338 m_spans = std::forward<SpansT>(value);
340 template <
typename SpansT = Aws::Vector<RouteTransitSpan>>
342 SetSpans(std::forward<SpansT>(value));
345 template <
typename SpansT = RouteTransitSpan>
347 m_spansHasBeenSet =
true;
348 m_spans.emplace_back(std::forward<SpansT>(value));
359 template <
typename SummaryT = RouteTransitSummary>
361 m_summaryHasBeenSet =
true;
362 m_summary = std::forward<SummaryT>(value);
364 template <
typename SummaryT = RouteTransitSummary>
377 template <
typename TransportT = RouteTransitTransportModeDetails>
379 m_transportHasBeenSet =
true;
380 m_transport = std::forward<TransportT>(value);
382 template <
typename TransportT = RouteTransitTransportModeDetails>
396 template <
typename TravelStepsT = Aws::Vector<RouteTransitTravelStep>>
398 m_travelStepsHasBeenSet =
true;
399 m_travelSteps = std::forward<TravelStepsT>(value);
401 template <
typename TravelStepsT = Aws::Vector<RouteTransitTravelStep>>
406 template <
typename TravelStepsT = RouteTransitTravelStep>
408 m_travelStepsHasBeenSet =
true;
409 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
445 bool m_afterTravelStepsHasBeenSet =
false;
446 bool m_agencyHasBeenSet =
false;
447 bool m_arrivalHasBeenSet =
false;
448 bool m_attributionsHasBeenSet =
false;
449 bool m_beforeTravelStepsHasBeenSet =
false;
450 bool m_bookingWebLinksHasBeenSet =
false;
451 bool m_departureHasBeenSet =
false;
452 bool m_incidentsHasBeenSet =
false;
453 bool m_intermediateStopsHasBeenSet =
false;
454 bool m_nextDeparturesHasBeenSet =
false;
455 bool m_noticesHasBeenSet =
false;
456 bool m_passThroughWaypointsHasBeenSet =
false;
457 bool m_spansHasBeenSet =
false;
458 bool m_summaryHasBeenSet =
false;
459 bool m_transportHasBeenSet =
false;
460 bool m_travelStepsHasBeenSet =
false;
void SetTransport(TransportT &&value)
const Aws::Vector< RouteTransitSpan > & GetSpans() const
bool AgencyHasBeenSet() const
RouteTransitLegDetails & WithBookingWebLinks(BookingWebLinksT &&value)
const Aws::Vector< RouteTransitIncident > & GetIncidents() const
RouteTransitLegDetails & AddNextDepartures(NextDeparturesT &&value)
bool PassThroughWaypointsHasBeenSet() const
const Aws::Vector< RouteTransitAfterTravelStep > & GetAfterTravelSteps() const
void SetDeparture(DepartureT &&value)
RouteTransitLegDetails & WithIncidents(IncidentsT &&value)
RouteTransitLegDetails & AddTravelSteps(TravelStepsT &&value)
RouteTransitLegDetails & WithBeforeTravelSteps(BeforeTravelStepsT &&value)
RouteTransitLegDetails & AddAttributions(AttributionsT &&value)
bool SpansHasBeenSet() const
const RouteTransitSummary & GetSummary() const
bool NextDeparturesHasBeenSet() const
AWS_GEOROUTES_API RouteTransitLegDetails(Aws::Utils::Json::JsonView jsonValue)
RouteTransitLegDetails & AddSpans(SpansT &&value)
RouteTransitLegDetails & WithDeparture(DepartureT &&value)
void SetAttributions(AttributionsT &&value)
RouteTransitLegDetails & WithNotices(NoticesT &&value)
RouteTransitLegDetails & WithSummary(SummaryT &&value)
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
RouteTransitLegDetails & WithTravelSteps(TravelStepsT &&value)
RouteTransitLegDetails & AddBeforeTravelSteps(BeforeTravelStepsT &&value)
RouteTransitLegDetails & WithNextDepartures(NextDeparturesT &&value)
void SetAgency(AgencyT &&value)
bool ArrivalHasBeenSet() const
RouteTransitLegDetails & WithSpans(SpansT &&value)
const RouteTransitDeparture & GetDeparture() const
RouteTransitLegDetails & AddAfterTravelSteps(AfterTravelStepsT &&value)
RouteTransitLegDetails & WithAgency(AgencyT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool TransportHasBeenSet() const
bool BookingWebLinksHasBeenSet() const
AWS_GEOROUTES_API RouteTransitLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AfterTravelStepsHasBeenSet() const
const Aws::Vector< RouteAttribution > & GetAttributions() const
void SetNextDepartures(NextDeparturesT &&value)
bool NoticesHasBeenSet() const
bool IncidentsHasBeenSet() const
const Aws::Vector< RouteTransitBeforeTravelStep > & GetBeforeTravelSteps() const
RouteTransitLegDetails & WithPassThroughWaypoints(PassThroughWaypointsT &&value)
const Aws::Vector< RouteWebLink > & GetBookingWebLinks() const
RouteTransitLegDetails & AddPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteTransitLegDetails & AddNotices(NoticesT &&value)
void SetAfterTravelSteps(AfterTravelStepsT &&value)
void SetSpans(SpansT &&value)
const Aws::Vector< RouteTransitNextDeparture > & GetNextDepartures() const
void SetIncidents(IncidentsT &&value)
bool IntermediateStopsHasBeenSet() const
const RouteTransitAgency & GetAgency() const
RouteTransitLegDetails & WithAfterTravelSteps(AfterTravelStepsT &&value)
void SetTravelSteps(TravelStepsT &&value)
RouteTransitLegDetails & WithArrival(ArrivalT &&value)
void SetNotices(NoticesT &&value)
bool BeforeTravelStepsHasBeenSet() const
bool DepartureHasBeenSet() const
AWS_GEOROUTES_API RouteTransitLegDetails()=default
const Aws::Vector< RouteTransitNotice > & GetNotices() const
const RouteTransitTransportModeDetails & GetTransport() const
const RouteTransitArrival & GetArrival() const
bool SummaryHasBeenSet() const
void SetArrival(ArrivalT &&value)
RouteTransitLegDetails & WithIntermediateStops(IntermediateStopsT &&value)
bool TravelStepsHasBeenSet() const
RouteTransitLegDetails & AddIncidents(IncidentsT &&value)
RouteTransitLegDetails & WithTransport(TransportT &&value)
RouteTransitLegDetails & AddBookingWebLinks(BookingWebLinksT &&value)
void SetIntermediateStops(IntermediateStopsT &&value)
const Aws::Vector< RouteTransitTravelStep > & GetTravelSteps() const
void SetBookingWebLinks(BookingWebLinksT &&value)
bool AttributionsHasBeenSet() const
void SetSummary(SummaryT &&value)
void SetPassThroughWaypoints(PassThroughWaypointsT &&value)
void SetBeforeTravelSteps(BeforeTravelStepsT &&value)
RouteTransitLegDetails & AddIntermediateStops(IntermediateStopsT &&value)
RouteTransitLegDetails & WithAttributions(AttributionsT &&value)
const Aws::Vector< RouteTransitIntermediateStop > & GetIntermediateStops() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue