AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCar(const IsolineCarOptions& value) { m_carHasBeenSet = true; m_car = value; }
50 inline void SetCar(IsolineCarOptions&& value) { m_carHasBeenSet = true; m_car = std::move(value); }
51 inline IsolineTravelModeOptions& WithCar(const IsolineCarOptions& value) { SetCar(value); return *this;}
52 inline IsolineTravelModeOptions& WithCar(IsolineCarOptions&& value) { SetCar(std::move(value)); return *this;}
54
56
59 inline const IsolineScooterOptions& GetScooter() const{ return m_scooter; }
60 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
61 inline void SetScooter(const IsolineScooterOptions& value) { m_scooterHasBeenSet = true; m_scooter = value; }
62 inline void SetScooter(IsolineScooterOptions&& value) { m_scooterHasBeenSet = true; m_scooter = std::move(value); }
63 inline IsolineTravelModeOptions& WithScooter(const IsolineScooterOptions& value) { SetScooter(value); return *this;}
64 inline IsolineTravelModeOptions& WithScooter(IsolineScooterOptions&& value) { SetScooter(std::move(value)); return *this;}
66
68
71 inline const IsolineTruckOptions& GetTruck() const{ return m_truck; }
72 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
73 inline void SetTruck(const IsolineTruckOptions& value) { m_truckHasBeenSet = true; m_truck = value; }
74 inline void SetTruck(IsolineTruckOptions&& value) { m_truckHasBeenSet = true; m_truck = std::move(value); }
75 inline IsolineTravelModeOptions& WithTruck(const IsolineTruckOptions& value) { SetTruck(value); return *this;}
76 inline IsolineTravelModeOptions& WithTruck(IsolineTruckOptions&& value) { SetTruck(std::move(value)); return *this;}
78 private:
79
81 bool m_carHasBeenSet = false;
82
83 IsolineScooterOptions m_scooter;
84 bool m_scooterHasBeenSet = false;
85
86 IsolineTruckOptions m_truck;
87 bool m_truckHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GeoRoutes
92} // namespace Aws
IsolineTravelModeOptions & WithTruck(IsolineTruckOptions &&value)
IsolineTravelModeOptions & WithCar(IsolineCarOptions &&value)
void SetScooter(const IsolineScooterOptions &value)
IsolineTravelModeOptions & WithScooter(const IsolineScooterOptions &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineTravelModeOptions & WithScooter(IsolineScooterOptions &&value)
const IsolineScooterOptions & GetScooter() const
void SetTruck(const IsolineTruckOptions &value)
IsolineTravelModeOptions & WithTruck(const IsolineTruckOptions &value)
AWS_GEOROUTES_API IsolineTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineTravelModeOptions & WithCar(const IsolineCarOptions &value)
AWS_GEOROUTES_API IsolineTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue