AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GEOROUTES_API IsolineTravelModeOptions() = default;
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const IsolineCarOptions& GetCar() const { return m_car; }
48 inline bool CarHasBeenSet() const { return m_carHasBeenSet; }
49 template<typename CarT = IsolineCarOptions>
50 void SetCar(CarT&& value) { m_carHasBeenSet = true; m_car = std::forward<CarT>(value); }
51 template<typename CarT = IsolineCarOptions>
52 IsolineTravelModeOptions& WithCar(CarT&& value) { SetCar(std::forward<CarT>(value)); return *this;}
54
56
62 inline const IsolineScooterOptions& GetScooter() const { return m_scooter; }
63 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
64 template<typename ScooterT = IsolineScooterOptions>
65 void SetScooter(ScooterT&& value) { m_scooterHasBeenSet = true; m_scooter = std::forward<ScooterT>(value); }
66 template<typename ScooterT = IsolineScooterOptions>
67 IsolineTravelModeOptions& WithScooter(ScooterT&& value) { SetScooter(std::forward<ScooterT>(value)); return *this;}
69
71
74 inline const IsolineTruckOptions& GetTruck() const { return m_truck; }
75 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
76 template<typename TruckT = IsolineTruckOptions>
77 void SetTruck(TruckT&& value) { m_truckHasBeenSet = true; m_truck = std::forward<TruckT>(value); }
78 template<typename TruckT = IsolineTruckOptions>
79 IsolineTravelModeOptions& WithTruck(TruckT&& value) { SetTruck(std::forward<TruckT>(value)); return *this;}
81 private:
82
84 bool m_carHasBeenSet = false;
85
86 IsolineScooterOptions m_scooter;
87 bool m_scooterHasBeenSet = false;
88
89 IsolineTruckOptions m_truck;
90 bool m_truckHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GeoRoutes
95} // 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