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/RouteRentalAfterTravelStep.h>
11#include <aws/geo-routes/model/RouteRentalAgency.h>
12#include <aws/geo-routes/model/RouteRentalArrival.h>
13#include <aws/geo-routes/model/RouteRentalBeforeTravelStep.h>
14#include <aws/geo-routes/model/RouteRentalDeparture.h>
15#include <aws/geo-routes/model/RouteRentalSummary.h>
16#include <aws/geo-routes/model/RouteRentalTransportModeDetails.h>
17#include <aws/geo-routes/model/RouteRentalTravelStep.h>
18#include <aws/geo-routes/model/RouteWebLink.h>
52 template <
typename AfterTravelStepsT = Aws::Vector<RouteRentalAfterTravelStep>>
54 m_afterTravelStepsHasBeenSet =
true;
55 m_afterTravelSteps = std::forward<AfterTravelStepsT>(value);
57 template <
typename AfterTravelStepsT = Aws::Vector<RouteRentalAfterTravelStep>>
62 template <
typename AfterTravelStepsT = RouteRentalAfterTravelStep>
64 m_afterTravelStepsHasBeenSet =
true;
65 m_afterTravelSteps.emplace_back(std::forward<AfterTravelStepsT>(value));
76 template <
typename AgencyT = RouteRentalAgency>
78 m_agencyHasBeenSet =
true;
79 m_agency = std::forward<AgencyT>(value);
81 template <
typename AgencyT = RouteRentalAgency>
94 template <
typename ArrivalT = RouteRentalArrival>
96 m_arrivalHasBeenSet =
true;
97 m_arrival = std::forward<ArrivalT>(value);
99 template <
typename ArrivalT = RouteRentalArrival>
112 template <
typename AttributionsT = Aws::Vector<RouteAttribution>>
114 m_attributionsHasBeenSet =
true;
115 m_attributions = std::forward<AttributionsT>(value);
117 template <
typename AttributionsT = Aws::Vector<RouteAttribution>>
122 template <
typename AttributionsT = RouteAttribution>
124 m_attributionsHasBeenSet =
true;
125 m_attributions.emplace_back(std::forward<AttributionsT>(value));
137 template <
typename BeforeTravelStepsT = Aws::Vector<RouteRentalBeforeTravelStep>>
139 m_beforeTravelStepsHasBeenSet =
true;
140 m_beforeTravelSteps = std::forward<BeforeTravelStepsT>(value);
142 template <
typename BeforeTravelStepsT = Aws::Vector<RouteRentalBeforeTravelStep>>
147 template <
typename BeforeTravelStepsT = RouteRentalBeforeTravelStep>
149 m_beforeTravelStepsHasBeenSet =
true;
150 m_beforeTravelSteps.emplace_back(std::forward<BeforeTravelStepsT>(value));
161 template <
typename BookingWebLinksT = Aws::Vector<RouteWebLink>>
163 m_bookingWebLinksHasBeenSet =
true;
164 m_bookingWebLinks = std::forward<BookingWebLinksT>(value);
166 template <
typename BookingWebLinksT = Aws::Vector<RouteWebLink>>
171 template <
typename BookingWebLinksT = RouteWebLink>
173 m_bookingWebLinksHasBeenSet =
true;
174 m_bookingWebLinks.emplace_back(std::forward<BookingWebLinksT>(value));
185 template <
typename DepartureT = RouteRentalDeparture>
187 m_departureHasBeenSet =
true;
188 m_departure = std::forward<DepartureT>(value);
190 template <
typename DepartureT = RouteRentalDeparture>
203 template <
typename SummaryT = RouteRentalSummary>
205 m_summaryHasBeenSet =
true;
206 m_summary = std::forward<SummaryT>(value);
208 template <
typename SummaryT = RouteRentalSummary>
221 template <
typename TransportT = RouteRentalTransportModeDetails>
223 m_transportHasBeenSet =
true;
224 m_transport = std::forward<TransportT>(value);
226 template <
typename TransportT = RouteRentalTransportModeDetails>
240 template <
typename TravelStepsT = Aws::Vector<RouteRentalTravelStep>>
242 m_travelStepsHasBeenSet =
true;
243 m_travelSteps = std::forward<TravelStepsT>(value);
245 template <
typename TravelStepsT = Aws::Vector<RouteRentalTravelStep>>
250 template <
typename TravelStepsT = RouteRentalTravelStep>
252 m_travelStepsHasBeenSet =
true;
253 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
277 bool m_afterTravelStepsHasBeenSet =
false;
278 bool m_agencyHasBeenSet =
false;
279 bool m_arrivalHasBeenSet =
false;
280 bool m_attributionsHasBeenSet =
false;
281 bool m_beforeTravelStepsHasBeenSet =
false;
282 bool m_bookingWebLinksHasBeenSet =
false;
283 bool m_departureHasBeenSet =
false;
284 bool m_summaryHasBeenSet =
false;
285 bool m_transportHasBeenSet =
false;
286 bool m_travelStepsHasBeenSet =
false;
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteRentalLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBeforeTravelSteps(BeforeTravelStepsT &&value)
bool ArrivalHasBeenSet() const
const RouteRentalDeparture & GetDeparture() const
AWS_GEOROUTES_API RouteRentalLegDetails()=default
RouteRentalLegDetails & WithAgency(AgencyT &&value)
bool BookingWebLinksHasBeenSet() const
RouteRentalLegDetails & WithBookingWebLinks(BookingWebLinksT &&value)
RouteRentalLegDetails & AddBookingWebLinks(BookingWebLinksT &&value)
void SetBookingWebLinks(BookingWebLinksT &&value)
RouteRentalLegDetails & AddAttributions(AttributionsT &&value)
const RouteRentalTransportModeDetails & GetTransport() const
RouteRentalLegDetails & WithBeforeTravelSteps(BeforeTravelStepsT &&value)
bool BeforeTravelStepsHasBeenSet() const
RouteRentalLegDetails & WithDeparture(DepartureT &&value)
void SetTravelSteps(TravelStepsT &&value)
void SetAttributions(AttributionsT &&value)
const RouteRentalSummary & GetSummary() const
RouteRentalLegDetails & WithSummary(SummaryT &&value)
const Aws::Vector< RouteRentalBeforeTravelStep > & GetBeforeTravelSteps() const
RouteRentalLegDetails & WithTravelSteps(TravelStepsT &&value)
void SetAgency(AgencyT &&value)
const Aws::Vector< RouteWebLink > & GetBookingWebLinks() const
bool TravelStepsHasBeenSet() const
void SetDeparture(DepartureT &&value)
RouteRentalLegDetails & WithAfterTravelSteps(AfterTravelStepsT &&value)
const Aws::Vector< RouteAttribution > & GetAttributions() const
void SetTransport(TransportT &&value)
RouteRentalLegDetails & AddAfterTravelSteps(AfterTravelStepsT &&value)
const Aws::Vector< RouteRentalAfterTravelStep > & GetAfterTravelSteps() const
bool AttributionsHasBeenSet() const
RouteRentalLegDetails & AddTravelSteps(TravelStepsT &&value)
RouteRentalLegDetails & WithTransport(TransportT &&value)
bool SummaryHasBeenSet() const
RouteRentalLegDetails & AddBeforeTravelSteps(BeforeTravelStepsT &&value)
bool AgencyHasBeenSet() const
bool DepartureHasBeenSet() const
RouteRentalLegDetails & WithAttributions(AttributionsT &&value)
void SetSummary(SummaryT &&value)
const RouteRentalAgency & GetAgency() const
const RouteRentalArrival & GetArrival() const
AWS_GEOROUTES_API RouteRentalLegDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteRentalTravelStep > & GetTravelSteps() const
void SetArrival(ArrivalT &&value)
RouteRentalLegDetails & WithArrival(ArrivalT &&value)
bool TransportHasBeenSet() const
bool AfterTravelStepsHasBeenSet() const
void SetAfterTravelSteps(AfterTravelStepsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue