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>
89 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
91 m_incidentsHasBeenSet =
true;
92 m_incidents = std::forward<IncidentsT>(value);
94 template <
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
99 template <
typename Inc
identsT = RouteVehicleInc
ident>
101 m_incidentsHasBeenSet =
true;
102 m_incidents.emplace_back(std::forward<IncidentsT>(value));
114 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
116 m_noticesHasBeenSet =
true;
117 m_notices = std::forward<NoticesT>(value);
119 template <
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
124 template <
typename NoticesT = RouteVehicleNotice>
126 m_noticesHasBeenSet =
true;
127 m_notices.emplace_back(std::forward<NoticesT>(value));
139 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
141 m_passThroughWaypointsHasBeenSet =
true;
142 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
144 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
149 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
151 m_passThroughWaypointsHasBeenSet =
true;
152 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
163 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
165 m_spansHasBeenSet =
true;
166 m_spans = std::forward<SpansT>(value);
168 template <
typename SpansT = Aws::Vector<RouteVehicleSpan>>
170 SetSpans(std::forward<SpansT>(value));
173 template <
typename SpansT = RouteVehicleSpan>
175 m_spansHasBeenSet =
true;
176 m_spans.emplace_back(std::forward<SpansT>(value));
187 template <
typename SummaryT = RouteVehicleSummary>
189 m_summaryHasBeenSet =
true;
190 m_summary = std::forward<SummaryT>(value);
192 template <
typename SummaryT = RouteVehicleSummary>
205 template <
typename TollsT = Aws::Vector<RouteToll>>
207 m_tollsHasBeenSet =
true;
208 m_tolls = std::forward<TollsT>(value);
210 template <
typename TollsT = Aws::Vector<RouteToll>>
212 SetTolls(std::forward<TollsT>(value));
215 template <
typename TollsT = RouteToll>
217 m_tollsHasBeenSet =
true;
218 m_tolls.emplace_back(std::forward<TollsT>(value));
229 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
231 m_tollSystemsHasBeenSet =
true;
232 m_tollSystems = std::forward<TollSystemsT>(value);
234 template <
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
239 template <
typename TollSystemsT = RouteTollSystem>
241 m_tollSystemsHasBeenSet =
true;
242 m_tollSystems.emplace_back(std::forward<TollSystemsT>(value));
254 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
256 m_travelStepsHasBeenSet =
true;
257 m_travelSteps = std::forward<TravelStepsT>(value);
259 template <
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
264 template <
typename TravelStepsT = RouteVehicleTravelStep>
266 m_travelStepsHasBeenSet =
true;
267 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
281 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
283 m_truckRoadTypesHasBeenSet =
true;
284 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
286 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
291 template <
typename TruckRoadTypesT = Aws::String>
293 m_truckRoadTypesHasBeenSet =
true;
294 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
305 template <
typename ZonesT = Aws::Vector<RouteZone>>
307 m_zonesHasBeenSet =
true;
308 m_zones = std::forward<ZonesT>(value);
310 template <
typename ZonesT = Aws::Vector<RouteZone>>
312 SetZones(std::forward<ZonesT>(value));
315 template <
typename ZonesT = RouteZone>
317 m_zonesHasBeenSet =
true;
318 m_zones.emplace_back(std::forward<ZonesT>(value));
346 bool m_arrivalHasBeenSet =
false;
347 bool m_departureHasBeenSet =
false;
348 bool m_incidentsHasBeenSet =
false;
349 bool m_noticesHasBeenSet =
false;
350 bool m_passThroughWaypointsHasBeenSet =
false;
351 bool m_spansHasBeenSet =
false;
352 bool m_summaryHasBeenSet =
false;
353 bool m_tollsHasBeenSet =
false;
354 bool m_tollSystemsHasBeenSet =
false;
355 bool m_travelStepsHasBeenSet =
false;
356 bool m_truckRoadTypesHasBeenSet =
false;
357 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