7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteAccessibilityAttribute.h>
10#include <aws/geo-routes/model/RouteIntermodalPedestrianOptions.h>
11#include <aws/geo-routes/model/RouteIntermodalRentalOptions.h>
12#include <aws/geo-routes/model/RouteIntermodalTaxiOptions.h>
13#include <aws/geo-routes/model/RouteIntermodalTransitOptions.h>
14#include <aws/geo-routes/model/RouteIntermodalVehicleOptions.h>
49 template <
typename AccessibilityAttributesT = Aws::Vector<RouteAccessibilityAttribute>>
51 m_accessibilityAttributesHasBeenSet =
true;
52 m_accessibilityAttributes = std::forward<AccessibilityAttributesT>(value);
54 template <
typename AccessibilityAttributesT = Aws::Vector<RouteAccessibilityAttribute>>
60 m_accessibilityAttributesHasBeenSet =
true;
61 m_accessibilityAttributes.push_back(value);
73 m_maxTransfersHasBeenSet =
true;
74 m_maxTransfers = value;
88 template <
typename PedestrianT = RouteIntermodalPedestrianOptions>
90 m_pedestrianHasBeenSet =
true;
91 m_pedestrian = std::forward<PedestrianT>(value);
93 template <
typename PedestrianT = RouteIntermodalPedestrianOptions>
106 template <
typename RentalT = RouteIntermodalRentalOptions>
108 m_rentalHasBeenSet =
true;
109 m_rental = std::forward<RentalT>(value);
111 template <
typename RentalT = RouteIntermodalRentalOptions>
124 template <
typename TaxiT = RouteIntermodalTaxiOptions>
126 m_taxiHasBeenSet =
true;
127 m_taxi = std::forward<TaxiT>(value);
129 template <
typename TaxiT = RouteIntermodalTaxiOptions>
131 SetTaxi(std::forward<TaxiT>(value));
142 template <
typename TransitT = RouteIntermodalTransitOptions>
144 m_transitHasBeenSet =
true;
145 m_transit = std::forward<TransitT>(value);
147 template <
typename TransitT = RouteIntermodalTransitOptions>
160 template <
typename VehicleT = RouteIntermodalVehicleOptions>
162 m_vehicleHasBeenSet =
true;
163 m_vehicle = std::forward<VehicleT>(value);
165 template <
typename VehicleT = RouteIntermodalVehicleOptions>
174 int m_maxTransfers{0};
176 RouteIntermodalPedestrianOptions m_pedestrian;
178 RouteIntermodalRentalOptions m_rental;
180 RouteIntermodalTaxiOptions m_taxi;
182 RouteIntermodalTransitOptions m_transit;
184 RouteIntermodalVehicleOptions m_vehicle;
185 bool m_accessibilityAttributesHasBeenSet =
false;
186 bool m_maxTransfersHasBeenSet =
false;
187 bool m_pedestrianHasBeenSet =
false;
188 bool m_rentalHasBeenSet =
false;
189 bool m_taxiHasBeenSet =
false;
190 bool m_transitHasBeenSet =
false;
191 bool m_vehicleHasBeenSet =
false;
RouteIntermodalOptions & WithVehicle(VehicleT &&value)
void SetAccessibilityAttributes(AccessibilityAttributesT &&value)
RouteIntermodalOptions & WithTaxi(TaxiT &&value)
const RouteIntermodalRentalOptions & GetRental() const
RouteIntermodalOptions & WithPedestrian(PedestrianT &&value)
RouteIntermodalOptions & WithRental(RentalT &&value)
bool VehicleHasBeenSet() const
RouteIntermodalOptions & WithMaxTransfers(int value)
const RouteIntermodalTransitOptions & GetTransit() const
void SetTaxi(TaxiT &&value)
void SetTransit(TransitT &&value)
const RouteIntermodalTaxiOptions & GetTaxi() const
bool AccessibilityAttributesHasBeenSet() const
RouteIntermodalOptions & WithTransit(TransitT &&value)
void SetPedestrian(PedestrianT &&value)
void SetRental(RentalT &&value)
AWS_GEOROUTES_API RouteIntermodalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVehicle(VehicleT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RouteAccessibilityAttribute > & GetAccessibilityAttributes() const
bool MaxTransfersHasBeenSet() const
const RouteIntermodalPedestrianOptions & GetPedestrian() const
int GetMaxTransfers() const
void SetMaxTransfers(int value)
bool TransitHasBeenSet() const
bool PedestrianHasBeenSet() const
bool TaxiHasBeenSet() const
RouteIntermodalOptions & AddAccessibilityAttributes(RouteAccessibilityAttribute value)
RouteIntermodalOptions & WithAccessibilityAttributes(AccessibilityAttributesT &&value)
AWS_GEOROUTES_API RouteIntermodalOptions()=default
const RouteIntermodalVehicleOptions & GetVehicle() const
bool RentalHasBeenSet() const
AWS_GEOROUTES_API RouteIntermodalOptions(Aws::Utils::Json::JsonView jsonValue)
RouteAccessibilityAttribute
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue