7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteVehicleArrival.h>
9#include <aws/geo-routes/model/RouteVehicleDeparture.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/RouteVehicleSummary.h>
12#include <aws/geo-routes/model/RouteVehicleIncident.h>
13#include <aws/geo-routes/model/RouteVehicleNotice.h>
14#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
15#include <aws/geo-routes/model/RouteVehicleSpan.h>
16#include <aws/geo-routes/model/RouteToll.h>
17#include <aws/geo-routes/model/RouteTollSystem.h>
18#include <aws/geo-routes/model/RouteVehicleTravelStep.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/geo-routes/model/RouteZone.h>
59 template<
typename ArrivalT = RouteVehicleArrival>
60 void SetArrival(ArrivalT&& value) { m_arrivalHasBeenSet =
true; m_arrival = std::forward<ArrivalT>(value); }
61 template<
typename ArrivalT = RouteVehicleArrival>
71 template<
typename DepartureT = RouteVehicleDeparture>
72 void SetDeparture(DepartureT&& value) { m_departureHasBeenSet =
true; m_departure = std::forward<DepartureT>(value); }
73 template<
typename DepartureT = RouteVehicleDeparture>
83 template<
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
84 void SetIncidents(IncidentsT&& value) { m_incidentsHasBeenSet =
true; m_incidents = std::forward<IncidentsT>(value); }
85 template<
typename Inc
identsT = Aws::Vector<RouteVehicleInc
ident>>
87 template<
typename Inc
identsT = RouteVehicleInc
ident>
98 template<
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
99 void SetNotices(NoticesT&& value) { m_noticesHasBeenSet =
true; m_notices = std::forward<NoticesT>(value); }
100 template<
typename NoticesT = Aws::Vector<RouteVehicleNotice>>
102 template<
typename NoticesT = RouteVehicleNotice>
113 template<
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
114 void SetPassThroughWaypoints(PassThroughWaypointsT&& value) { m_passThroughWaypointsHasBeenSet =
true; m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value); }
115 template<
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
117 template<
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
127 template<
typename SpansT = Aws::Vector<RouteVehicleSpan>>
128 void SetSpans(SpansT&& value) { m_spansHasBeenSet =
true; m_spans = std::forward<SpansT>(value); }
129 template<
typename SpansT = Aws::Vector<RouteVehicleSpan>>
131 template<
typename SpansT = RouteVehicleSpan>
141 template<
typename SummaryT = RouteVehicleSummary>
142 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
143 template<
typename SummaryT = RouteVehicleSummary>
153 template<
typename TollsT = Aws::Vector<RouteToll>>
154 void SetTolls(TollsT&& value) { m_tollsHasBeenSet =
true; m_tolls = std::forward<TollsT>(value); }
155 template<
typename TollsT = Aws::Vector<RouteToll>>
157 template<
typename TollsT = RouteToll>
167 template<
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
168 void SetTollSystems(TollSystemsT&& value) { m_tollSystemsHasBeenSet =
true; m_tollSystems = std::forward<TollSystemsT>(value); }
169 template<
typename TollSystemsT = Aws::Vector<RouteTollSystem>>
171 template<
typename TollSystemsT = RouteTollSystem>
182 template<
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
183 void SetTravelSteps(TravelStepsT&& value) { m_travelStepsHasBeenSet =
true; m_travelSteps = std::forward<TravelStepsT>(value); }
184 template<
typename TravelStepsT = Aws::Vector<RouteVehicleTravelStep>>
186 template<
typename TravelStepsT = RouteVehicleTravelStep>
199 template<
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
200 void SetTruckRoadTypes(TruckRoadTypesT&& value) { m_truckRoadTypesHasBeenSet =
true; m_truckRoadTypes = std::forward<TruckRoadTypesT>(value); }
201 template<
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
203 template<
typename TruckRoadTypesT = Aws::String>
213 template<
typename ZonesT = Aws::Vector<RouteZone>>
214 void SetZones(ZonesT&& value) { m_zonesHasBeenSet =
true; m_zones = std::forward<ZonesT>(value); }
215 template<
typename ZonesT = Aws::Vector<RouteZone>>
217 template<
typename ZonesT = RouteZone>
223 bool m_arrivalHasBeenSet =
false;
226 bool m_departureHasBeenSet =
false;
229 bool m_incidentsHasBeenSet =
false;
232 bool m_noticesHasBeenSet =
false;
235 bool m_passThroughWaypointsHasBeenSet =
false;
238 bool m_spansHasBeenSet =
false;
241 bool m_summaryHasBeenSet =
false;
244 bool m_tollsHasBeenSet =
false;
247 bool m_tollSystemsHasBeenSet =
false;
250 bool m_travelStepsHasBeenSet =
false;
253 bool m_truckRoadTypesHasBeenSet =
false;
256 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