AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineScooterOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/IsolineEngineType.h>
9#include <aws/geo-routes/model/IsolineVehicleLicensePlate.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API IsolineScooterOptions();
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const IsolineEngineType& GetEngineType() const{ return m_engineType; }
46 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
47 inline void SetEngineType(const IsolineEngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
48 inline void SetEngineType(IsolineEngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
49 inline IsolineScooterOptions& WithEngineType(const IsolineEngineType& value) { SetEngineType(value); return *this;}
50 inline IsolineScooterOptions& WithEngineType(IsolineEngineType&& value) { SetEngineType(std::move(value)); return *this;}
52
54
57 inline const IsolineVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
58 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
59 inline void SetLicensePlate(const IsolineVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
60 inline void SetLicensePlate(IsolineVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
62 inline IsolineScooterOptions& WithLicensePlate(IsolineVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
64
66
70 inline double GetMaxSpeed() const{ return m_maxSpeed; }
71 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
72 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
73 inline IsolineScooterOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
75
77
81 inline int GetOccupancy() const{ return m_occupancy; }
82 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
83 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
84 inline IsolineScooterOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
86 private:
87
88 IsolineEngineType m_engineType;
89 bool m_engineTypeHasBeenSet = false;
90
91 IsolineVehicleLicensePlate m_licensePlate;
92 bool m_licensePlateHasBeenSet = false;
93
94 double m_maxSpeed;
95 bool m_maxSpeedHasBeenSet = false;
96
97 int m_occupancy;
98 bool m_occupancyHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GeoRoutes
103} // namespace Aws
IsolineScooterOptions & WithLicensePlate(IsolineVehicleLicensePlate &&value)
IsolineScooterOptions & WithMaxSpeed(double value)
AWS_GEOROUTES_API IsolineScooterOptions(Aws::Utils::Json::JsonView jsonValue)
void SetLicensePlate(IsolineVehicleLicensePlate &&value)
IsolineScooterOptions & WithEngineType(const IsolineEngineType &value)
IsolineScooterOptions & WithOccupancy(int value)
void SetLicensePlate(const IsolineVehicleLicensePlate &value)
AWS_GEOROUTES_API IsolineScooterOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineScooterOptions & WithEngineType(IsolineEngineType &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const IsolineVehicleLicensePlate & GetLicensePlate() const
const IsolineEngineType & GetEngineType() const
void SetEngineType(const IsolineEngineType &value)
IsolineScooterOptions & WithLicensePlate(const IsolineVehicleLicensePlate &value)
Aws::Utils::Json::JsonValue JsonValue