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));
62 template <
typename PedestrianT = RoutePedestrianOptions>
64 m_pedestrianHasBeenSet =
true;
65 m_pedestrian = std::forward<PedestrianT>(value);
67 template <
typename PedestrianT = RoutePedestrianOptions>
83 template <
typename ScooterT = RouteScooterOptions>
85 m_scooterHasBeenSet =
true;
86 m_scooter = std::forward<ScooterT>(value);
88 template <
typename ScooterT = RouteScooterOptions>
101 template <
typename TruckT = RouteTruckOptions>
103 m_truckHasBeenSet =
true;
104 m_truck = std::forward<TruckT>(value);
106 template <
typename TruckT = RouteTruckOptions>
108 SetTruck(std::forward<TruckT>(value));
120 bool m_carHasBeenSet =
false;
121 bool m_pedestrianHasBeenSet =
false;
122 bool m_scooterHasBeenSet =
false;
123 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