AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteTravelModeOptions.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GeoRoutes
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GEOROUTES_API RouteTravelModeOptions();
41 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const RouteCarOptions& GetCar() const{ return m_car; }
49 inline bool CarHasBeenSet() const { return m_carHasBeenSet; }
50 inline void SetCar(const RouteCarOptions& value) { m_carHasBeenSet = true; m_car = value; }
51 inline void SetCar(RouteCarOptions&& value) { m_carHasBeenSet = true; m_car = std::move(value); }
52 inline RouteTravelModeOptions& WithCar(const RouteCarOptions& value) { SetCar(value); return *this;}
53 inline RouteTravelModeOptions& WithCar(RouteCarOptions&& value) { SetCar(std::move(value)); return *this;}
55
57
60 inline const RoutePedestrianOptions& GetPedestrian() const{ return m_pedestrian; }
61 inline bool PedestrianHasBeenSet() const { return m_pedestrianHasBeenSet; }
62 inline void SetPedestrian(const RoutePedestrianOptions& value) { m_pedestrianHasBeenSet = true; m_pedestrian = value; }
63 inline void SetPedestrian(RoutePedestrianOptions&& value) { m_pedestrianHasBeenSet = true; m_pedestrian = std::move(value); }
64 inline RouteTravelModeOptions& WithPedestrian(const RoutePedestrianOptions& value) { SetPedestrian(value); return *this;}
65 inline RouteTravelModeOptions& WithPedestrian(RoutePedestrianOptions&& value) { SetPedestrian(std::move(value)); return *this;}
67
69
72 inline const RouteScooterOptions& GetScooter() const{ return m_scooter; }
73 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
74 inline void SetScooter(const RouteScooterOptions& value) { m_scooterHasBeenSet = true; m_scooter = value; }
75 inline void SetScooter(RouteScooterOptions&& value) { m_scooterHasBeenSet = true; m_scooter = std::move(value); }
76 inline RouteTravelModeOptions& WithScooter(const RouteScooterOptions& value) { SetScooter(value); return *this;}
77 inline RouteTravelModeOptions& WithScooter(RouteScooterOptions&& value) { SetScooter(std::move(value)); return *this;}
79
81
84 inline const RouteTruckOptions& GetTruck() const{ return m_truck; }
85 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
86 inline void SetTruck(const RouteTruckOptions& value) { m_truckHasBeenSet = true; m_truck = value; }
87 inline void SetTruck(RouteTruckOptions&& value) { m_truckHasBeenSet = true; m_truck = std::move(value); }
88 inline RouteTravelModeOptions& WithTruck(const RouteTruckOptions& value) { SetTruck(value); return *this;}
89 inline RouteTravelModeOptions& WithTruck(RouteTruckOptions&& value) { SetTruck(std::move(value)); return *this;}
91 private:
92
93 RouteCarOptions m_car;
94 bool m_carHasBeenSet = false;
95
96 RoutePedestrianOptions m_pedestrian;
97 bool m_pedestrianHasBeenSet = false;
98
99 RouteScooterOptions m_scooter;
100 bool m_scooterHasBeenSet = false;
101
102 RouteTruckOptions m_truck;
103 bool m_truckHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GeoRoutes
108} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPedestrian(const RoutePedestrianOptions &value)
AWS_GEOROUTES_API RouteTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTravelModeOptions & WithCar(RouteCarOptions &&value)
RouteTravelModeOptions & WithScooter(RouteScooterOptions &&value)
RouteTravelModeOptions & WithTruck(const RouteTruckOptions &value)
void SetScooter(const RouteScooterOptions &value)
RouteTravelModeOptions & WithPedestrian(const RoutePedestrianOptions &value)
RouteTravelModeOptions & WithPedestrian(RoutePedestrianOptions &&value)
RouteTravelModeOptions & WithTruck(RouteTruckOptions &&value)
AWS_GEOROUTES_API RouteTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
RouteTravelModeOptions & WithScooter(const RouteScooterOptions &value)
RouteTravelModeOptions & WithCar(const RouteCarOptions &value)
const RoutePedestrianOptions & GetPedestrian() const
void SetPedestrian(RoutePedestrianOptions &&value)
const RouteScooterOptions & GetScooter() const
void SetTruck(const RouteTruckOptions &value)
Aws::Utils::Json::JsonValue JsonValue