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/RouteVehicleAfterTravelStep.h>
14#include <aws/geo-routes/model/RouteVehicleArrival.h>
15#include <aws/geo-routes/model/RouteVehicleDeparture.h>
16#include <aws/geo-routes/model/RouteVehicleIncident.h>
17#include <aws/geo-routes/model/RouteVehicleNotice.h>
18#include <aws/geo-routes/model/RouteVehicleSpan.h>
19#include <aws/geo-routes/model/RouteVehicleSummary.h>
20#include <aws/geo-routes/model/RouteVehicleTravelStep.h>
21#include <aws/geo-routes/model/RouteZone.h>
55 template <
typename AfterTravelStepsT = Aws::Vector<RouteVehicleAfterTravelStep>>
57 m_afterTravelStepsHasBeenSet =
true;
58 m_afterTravelSteps = std::forward<AfterTravelStepsT>(value);
60 template <
typename AfterTravelStepsT = Aws::Vector<RouteVehicleAfterTravelStep>>
65 template <
typename AfterTravelStepsT = RouteVehicleAfterTravelStep>
67 m_afterTravelStepsHasBeenSet =
true;
68 m_afterTravelSteps.emplace_back(std::forward<AfterTravelStepsT>(value));
79 template <
typename ArrivalT = RouteVehicleArrival>
81 m_arrivalHasBeenSet =
true;
82 m_arrival = std::forward<ArrivalT>(value);
84 template <
typename ArrivalT = RouteVehicleArrival>
97 template <
typename DepartureT = RouteVehicleDeparture>
99 m_departureHasBeenSet =
true;
100 m_departure = std::forward<DepartureT>(value);
102 template <
typename DepartureT = RouteVehicleDeparture>
118 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
120 m_incidentsHasBeenSet =
true;
121 m_incidents = std::forward<IncidentsT>(value);
123 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
128 template <
typename Inc
identsT = RouteVehicleInc
ident>
130 m_incidentsHasBeenSet =
true;
131 m_incidents.emplace_back(std::forward<IncidentsT>(value));
146 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
148 m_noticesHasBeenSet =
true;
149 m_notices = std::forward<NoticesT>(value);
151 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
156 template <
typename NoticesT = RouteVehicleNotice>
158 m_noticesHasBeenSet =
true;
159 m_notices.emplace_back(std::forward<NoticesT>(value));
171 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
173 m_passThroughWaypointsHasBeenSet =
true;
174 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
176 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
181 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
183 m_passThroughWaypointsHasBeenSet =
true;
184 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
199 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
201 m_spansHasBeenSet =
true;
202 m_spans = std::forward<SpansT>(value);
204 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
206 SetSpans(std::forward<SpansT>(value));
209 template <
typename SpansT = RouteVehicleSpan>
211 m_spansHasBeenSet =
true;
212 m_spans.emplace_back(std::forward<SpansT>(value));
223 template <
typename SummaryT = RouteVehicleSummary>
225 m_summaryHasBeenSet =
true;
226 m_summary = std::forward<SummaryT>(value);
228 template <
typename SummaryT = RouteVehicleSummary>
244 template <
typename TollsT = Aws::Vector<RouteToll>>
246 m_tollsHasBeenSet =
true;
247 m_tolls = std::forward<TollsT>(value);
249 template <
typename TollsT = Aws::Vector<RouteToll>>
251 SetTolls(std::forward<TollsT>(value));
254 template <
typename TollsT = RouteToll>
256 m_tollsHasBeenSet =
true;
257 m_tolls.emplace_back(std::forward<TollsT>(value));
272 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
274 m_tollSystemsHasBeenSet =
true;
275 m_tollSystems = std::forward<TollSystemsT>(value);
277 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
282 template <
typename TollSystemsT = RouteTollSystem>
284 m_tollSystemsHasBeenSet =
true;
285 m_tollSystems.emplace_back(std::forward<TollSystemsT>(value));
297 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
299 m_travelStepsHasBeenSet =
true;
300 m_travelSteps = std::forward<TravelStepsT>(value);
302 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
307 template <
typename TravelStepsT = RouteVehicleTravelStep>
309 m_travelStepsHasBeenSet =
true;
310 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
327 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
329 m_truckRoadTypesHasBeenSet =
true;
330 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
332 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
337 template <
typename TruckRoadTypesT = Aws::String>
339 m_truckRoadTypesHasBeenSet =
true;
340 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
354 template <
typename ZonesT = Aws::Vector<RouteZone>>
356 m_zonesHasBeenSet =
true;
357 m_zones = std::forward<ZonesT>(value);
359 template <
typename ZonesT = Aws::Vector<RouteZone>>
361 SetZones(std::forward<ZonesT>(value));
364 template <
typename ZonesT = RouteZone>
366 m_zonesHasBeenSet =
true;
367 m_zones.emplace_back(std::forward<ZonesT>(value));
397 bool m_afterTravelStepsHasBeenSet =
false;
398 bool m_arrivalHasBeenSet =
false;
399 bool m_departureHasBeenSet =
false;
400 bool m_incidentsHasBeenSet =
false;
401 bool m_noticesHasBeenSet =
false;
402 bool m_passThroughWaypointsHasBeenSet =
false;
403 bool m_spansHasBeenSet =
false;
404 bool m_summaryHasBeenSet =
false;
405 bool m_tollsHasBeenSet =
false;
406 bool m_tollSystemsHasBeenSet =
false;
407 bool m_travelStepsHasBeenSet =
false;
408 bool m_truckRoadTypesHasBeenSet =
false;
409 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)
const Aws::Vector< RouteVehicleAfterTravelStep > & GetAfterTravelSteps() const
bool TollSystemsHasBeenSet() const
bool SummaryHasBeenSet() const
RouteVehicleLegDetails & WithDeparture(DepartureT &&value)
RouteVehicleLegDetails & WithAfterTravelSteps(AfterTravelStepsT &&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 SetAfterTravelSteps(AfterTravelStepsT &&value)
void SetPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteVehicleLegDetails & WithTolls(TollsT &&value)
AWS_GEOROUTES_API RouteVehicleLegDetails(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleLegDetails & AddAfterTravelSteps(AfterTravelStepsT &&value)
bool AfterTravelStepsHasBeenSet() const
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