AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
IsolineTravelModeOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/IsolineCarOptions.h>
9#include <aws/geo-routes/model/IsolineScooterOptions.h>
10#include <aws/geo-routes/model/IsolineTruckOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes {
22namespace Model {
23
32 public:
33 AWS_GEOROUTES_API IsolineTravelModeOptions() = default;
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const IsolineCarOptions& GetCar() const { return m_car; }
44 inline bool CarHasBeenSet() const { return m_carHasBeenSet; }
45 template <typename CarT = IsolineCarOptions>
46 void SetCar(CarT&& value) {
47 m_carHasBeenSet = true;
48 m_car = std::forward<CarT>(value);
49 }
50 template <typename CarT = IsolineCarOptions>
52 SetCar(std::forward<CarT>(value));
53 return *this;
54 }
56
58
64 inline const IsolineScooterOptions& GetScooter() const { return m_scooter; }
65 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
66 template <typename ScooterT = IsolineScooterOptions>
67 void SetScooter(ScooterT&& value) {
68 m_scooterHasBeenSet = true;
69 m_scooter = std::forward<ScooterT>(value);
70 }
71 template <typename ScooterT = IsolineScooterOptions>
73 SetScooter(std::forward<ScooterT>(value));
74 return *this;
75 }
77
79
83 inline const IsolineTruckOptions& GetTruck() const { return m_truck; }
84 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
85 template <typename TruckT = IsolineTruckOptions>
86 void SetTruck(TruckT&& value) {
87 m_truckHasBeenSet = true;
88 m_truck = std::forward<TruckT>(value);
89 }
90 template <typename TruckT = IsolineTruckOptions>
92 SetTruck(std::forward<TruckT>(value));
93 return *this;
94 }
96 private:
98
99 IsolineScooterOptions m_scooter;
100
101 IsolineTruckOptions m_truck;
102 bool m_carHasBeenSet = false;
103 bool m_scooterHasBeenSet = false;
104 bool m_truckHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GeoRoutes
109} // namespace Aws
AWS_GEOROUTES_API IsolineTravelModeOptions()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineTravelModeOptions & WithTruck(TruckT &&value)
const IsolineScooterOptions & GetScooter() const
AWS_GEOROUTES_API IsolineTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineTravelModeOptions & WithScooter(ScooterT &&value)
AWS_GEOROUTES_API IsolineTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineTravelModeOptions & WithCar(CarT &&value)
Aws::Utils::Json::JsonValue JsonValue