7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteCarOptions.h>
9#include <aws/geo-routes/model/RoutePedestrianOptions.h>
10#include <aws/geo-routes/model/RouteScooterOptions.h>
11#include <aws/geo-routes/model/RouteTruckOptions.h>
44 template <
typename CarT = RouteCarOptions>
46 m_carHasBeenSet =
true;
47 m_car = std::forward<CarT>(value);
49 template <
typename CarT = RouteCarOptions>
51 SetCar(std::forward<CarT>(value));
63 template <
typename PedestrianT = RoutePedestrianOptions>
65 m_pedestrianHasBeenSet =
true;
66 m_pedestrian = std::forward<PedestrianT>(value);
68 template <
typename PedestrianT = RoutePedestrianOptions>
84 template <
typename ScooterT = RouteScooterOptions>
86 m_scooterHasBeenSet =
true;
87 m_scooter = std::forward<ScooterT>(value);
89 template <
typename ScooterT = RouteScooterOptions>
102 template <
typename TruckT = RouteTruckOptions>
104 m_truckHasBeenSet =
true;
105 m_truck = std::forward<TruckT>(value);
107 template <
typename TruckT = RouteTruckOptions>
109 SetTruck(std::forward<TruckT>(value));
121 bool m_carHasBeenSet =
false;
122 bool m_pedestrianHasBeenSet =
false;
123 bool m_scooterHasBeenSet =
false;
124 bool m_truckHasBeenSet =
false;
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TruckHasBeenSet() const
void SetPedestrian(PedestrianT &&value)
RouteTravelModeOptions & WithCar(CarT &&value)
AWS_GEOROUTES_API RouteTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
void SetScooter(ScooterT &&value)
const RouteCarOptions & GetCar() const
AWS_GEOROUTES_API RouteTravelModeOptions()=default
void SetTruck(TruckT &&value)
const RouteTruckOptions & GetTruck() const
const RoutePedestrianOptions & GetPedestrian() const
bool PedestrianHasBeenSet() const
RouteTravelModeOptions & WithPedestrian(PedestrianT &&value)
const RouteScooterOptions & GetScooter() const
RouteTravelModeOptions & WithTruck(TruckT &&value)
bool CarHasBeenSet() const
void SetCar(CarT &&value)
bool ScooterHasBeenSet() const
RouteTravelModeOptions & WithScooter(ScooterT &&value)
Aws::Utils::Json::JsonValue JsonValue