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>
50 template<
typename CarT = RouteCarOptions>
51 void SetCar(CarT&& value) { m_carHasBeenSet =
true; m_car = std::forward<CarT>(value); }
52 template<
typename CarT = RouteCarOptions>
62 template<
typename PedestrianT = RoutePedestrianOptions>
63 void SetPedestrian(PedestrianT&& value) { m_pedestrianHasBeenSet =
true; m_pedestrian = std::forward<PedestrianT>(value); }
64 template<
typename PedestrianT = RoutePedestrianOptions>
77 template<
typename ScooterT = RouteScooterOptions>
78 void SetScooter(ScooterT&& value) { m_scooterHasBeenSet =
true; m_scooter = std::forward<ScooterT>(value); }
79 template<
typename ScooterT = RouteScooterOptions>
89 template<
typename TruckT = RouteTruckOptions>
90 void SetTruck(TruckT&& value) { m_truckHasBeenSet =
true; m_truck = std::forward<TruckT>(value); }
91 template<
typename TruckT = RouteTruckOptions>
97 bool m_carHasBeenSet =
false;
100 bool m_pedestrianHasBeenSet =
false;
103 bool m_scooterHasBeenSet =
false;
106 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