7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
11#include <aws/geo-routes/model/RouteToll.h>
12#include <aws/geo-routes/model/RouteTollSystem.h>
13#include <aws/geo-routes/model/RouteVehicleArrival.h>
14#include <aws/geo-routes/model/RouteVehicleDeparture.h>
15#include <aws/geo-routes/model/RouteVehicleIncident.h>
16#include <aws/geo-routes/model/RouteVehicleNotice.h>
17#include <aws/geo-routes/model/RouteVehicleSpan.h>
18#include <aws/geo-routes/model/RouteVehicleSummary.h>
19#include <aws/geo-routes/model/RouteVehicleTravelStep.h>
20#include <aws/geo-routes/model/RouteZone.h>
53 template <
typename ArrivalT = RouteVehicleArrival>
55 m_arrivalHasBeenSet =
true;
56 m_arrival = std::forward<ArrivalT>(value);
58 template <
typename ArrivalT = RouteVehicleArrival>
71 template <
typename DepartureT = RouteVehicleDeparture>
73 m_departureHasBeenSet =
true;
74 m_departure = std::forward<DepartureT>(value);
76 template <
typename DepartureT = RouteVehicleDeparture>
92 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
94 m_incidentsHasBeenSet =
true;
95 m_incidents = std::forward<IncidentsT>(value);
97 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
102 template <
typename Inc
identsT = RouteVehicleInc
ident>
104 m_incidentsHasBeenSet =
true;
105 m_incidents.emplace_back(std::forward<IncidentsT>(value));
120 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
122 m_noticesHasBeenSet =
true;
123 m_notices = std::forward<NoticesT>(value);
125 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
130 template <
typename NoticesT = RouteVehicleNotice>
132 m_noticesHasBeenSet =
true;
133 m_notices.emplace_back(std::forward<NoticesT>(value));
145 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
147 m_passThroughWaypointsHasBeenSet =
true;
148 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
150 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
155 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
157 m_passThroughWaypointsHasBeenSet =
true;
158 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
173 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
175 m_spansHasBeenSet =
true;
176 m_spans = std::forward<SpansT>(value);
178 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
180 SetSpans(std::forward<SpansT>(value));
183 template <
typename SpansT = RouteVehicleSpan>
185 m_spansHasBeenSet =
true;
186 m_spans.emplace_back(std::forward<SpansT>(value));
197 template <
typename SummaryT = RouteVehicleSummary>
199 m_summaryHasBeenSet =
true;
200 m_summary = std::forward<SummaryT>(value);
202 template <
typename SummaryT = RouteVehicleSummary>
218 template <
typename TollsT = Aws::Vector<RouteToll>>
220 m_tollsHasBeenSet =
true;
221 m_tolls = std::forward<TollsT>(value);
223 template <
typename TollsT = Aws::Vector<RouteToll>>
225 SetTolls(std::forward<TollsT>(value));
228 template <
typename TollsT = RouteToll>
230 m_tollsHasBeenSet =
true;
231 m_tolls.emplace_back(std::forward<TollsT>(value));
246 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
248 m_tollSystemsHasBeenSet =
true;
249 m_tollSystems = std::forward<TollSystemsT>(value);
251 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
256 template <
typename TollSystemsT = RouteTollSystem>
258 m_tollSystemsHasBeenSet =
true;
259 m_tollSystems.emplace_back(std::forward<TollSystemsT>(value));
271 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
273 m_travelStepsHasBeenSet =
true;
274 m_travelSteps = std::forward<TravelStepsT>(value);
276 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
281 template <
typename TravelStepsT = RouteVehicleTravelStep>
283 m_travelStepsHasBeenSet =
true;
284 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
301 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
303 m_truckRoadTypesHasBeenSet =
true;
304 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
306 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
311 template <
typename TruckRoadTypesT = Aws::String>
313 m_truckRoadTypesHasBeenSet =
true;
314 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
328 template <
typename ZonesT = Aws::Vector<RouteZone>>
330 m_zonesHasBeenSet =
true;
331 m_zones = std::forward<ZonesT>(value);
333 template <
typename ZonesT = Aws::Vector<RouteZone>>
335 SetZones(std::forward<ZonesT>(value));
338 template <
typename ZonesT = RouteZone>
340 m_zonesHasBeenSet =
true;
341 m_zones.emplace_back(std::forward<ZonesT>(value));
369 bool m_arrivalHasBeenSet =
false;
370 bool m_departureHasBeenSet =
false;
371 bool m_incidentsHasBeenSet =
false;
372 bool m_noticesHasBeenSet =
false;
373 bool m_passThroughWaypointsHasBeenSet =
false;
374 bool m_spansHasBeenSet =
false;
375 bool m_summaryHasBeenSet =
false;
376 bool m_tollsHasBeenSet =
false;
377 bool m_tollSystemsHasBeenSet =
false;
378 bool m_travelStepsHasBeenSet =
false;
379 bool m_truckRoadTypesHasBeenSet =
false;
380 bool m_zonesHasBeenSet =
false;
void SetArrival(ArrivalT &&value)
bool ZonesHasBeenSet() const
bool SpansHasBeenSet() const
void SetTollSystems(TollSystemsT &&value)
const Aws::Vector< RouteVehicleTravelStep > & GetTravelSteps() const
const Aws::Vector< RouteTollSystem > & GetTollSystems() const
bool ArrivalHasBeenSet() const
RouteVehicleLegDetails & WithArrival(ArrivalT &&value)
RouteVehicleLegDetails & AddTolls(TollsT &&value)
const RouteVehicleArrival & GetArrival() const
RouteVehicleLegDetails & WithTruckRoadTypes(TruckRoadTypesT &&value)
AWS_GEOROUTES_API RouteVehicleLegDetails()=default
const Aws::Vector< Aws::String > & GetTruckRoadTypes() const
RouteVehicleLegDetails & AddPassThroughWaypoints(PassThroughWaypointsT &&value)
bool TruckRoadTypesHasBeenSet() const
RouteVehicleLegDetails & WithSummary(SummaryT &&value)
RouteVehicleLegDetails & WithSpans(SpansT &&value)
void SetSpans(SpansT &&value)
RouteVehicleLegDetails & AddTollSystems(TollSystemsT &&value)
const RouteVehicleSummary & GetSummary() const
RouteVehicleLegDetails & AddZones(ZonesT &&value)
AWS_GEOROUTES_API RouteVehicleLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TravelStepsHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteVehicleLegDetails & AddSpans(SpansT &&value)
RouteVehicleLegDetails & AddNotices(NoticesT &&value)
void SetNotices(NoticesT &&value)
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
RouteVehicleLegDetails & WithPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteVehicleLegDetails & WithIncidents(IncidentsT &&value)
RouteVehicleLegDetails & WithZones(ZonesT &&value)
const Aws::Vector< RouteVehicleNotice > & GetNotices() const
void SetTolls(TollsT &&value)
void SetTruckRoadTypes(TruckRoadTypesT &&value)
bool TollsHasBeenSet() const
void SetIncidents(IncidentsT &&value)
RouteVehicleLegDetails & WithTravelSteps(TravelStepsT &&value)
RouteVehicleLegDetails & AddTruckRoadTypes(TruckRoadTypesT &&value)
bool TollSystemsHasBeenSet() const
bool SummaryHasBeenSet() const
RouteVehicleLegDetails & WithDeparture(DepartureT &&value)
const Aws::Vector< RouteZone > & GetZones() const
bool NoticesHasBeenSet() const
const Aws::Vector< RouteToll > & GetTolls() const
void SetSummary(SummaryT &&value)
const Aws::Vector< RouteVehicleIncident > & GetIncidents() const
void SetZones(ZonesT &&value)
bool DepartureHasBeenSet() const
RouteVehicleLegDetails & WithTollSystems(TollSystemsT &&value)
RouteVehicleLegDetails & AddIncidents(IncidentsT &&value)
void SetDeparture(DepartureT &&value)
bool PassThroughWaypointsHasBeenSet() const
RouteVehicleLegDetails & AddTravelSteps(TravelStepsT &&value)
void SetPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteVehicleLegDetails & WithTolls(TollsT &&value)
AWS_GEOROUTES_API RouteVehicleLegDetails(Aws::Utils::Json::JsonView jsonValue)
const RouteVehicleDeparture & GetDeparture() const
void SetTravelSteps(TravelStepsT &&value)
RouteVehicleLegDetails & WithNotices(NoticesT &&value)
const Aws::Vector< RouteVehicleSpan > & GetSpans() const
bool IncidentsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue