AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineCarOptions.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 IsolineCarOptions();
36 AWS_GEOROUTES_API IsolineCarOptions(Aws::Utils::Json::JsonView jsonValue);
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 IsolineCarOptions& WithEngineType(const IsolineEngineType& value) { SetEngineType(value); return *this;}
50 inline IsolineCarOptions& 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 IsolineCarOptions& WithLicensePlate(IsolineVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
64
66
69 inline double GetMaxSpeed() const{ return m_maxSpeed; }
70 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
71 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
72 inline IsolineCarOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
74
76
80 inline int GetOccupancy() const{ return m_occupancy; }
81 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
82 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
83 inline IsolineCarOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
85 private:
86
87 IsolineEngineType m_engineType;
88 bool m_engineTypeHasBeenSet = false;
89
90 IsolineVehicleLicensePlate m_licensePlate;
91 bool m_licensePlateHasBeenSet = false;
92
93 double m_maxSpeed;
94 bool m_maxSpeedHasBeenSet = false;
95
96 int m_occupancy;
97 bool m_occupancyHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace GeoRoutes
102} // namespace Aws
void SetEngineType(const IsolineEngineType &value)
const IsolineEngineType & GetEngineType() const
IsolineCarOptions & WithEngineType(const IsolineEngineType &value)
void SetLicensePlate(IsolineVehicleLicensePlate &&value)
void SetLicensePlate(const IsolineVehicleLicensePlate &value)
IsolineCarOptions & WithMaxSpeed(double value)
AWS_GEOROUTES_API IsolineCarOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineCarOptions & WithLicensePlate(const IsolineVehicleLicensePlate &value)
IsolineCarOptions & WithEngineType(IsolineEngineType &&value)
void SetEngineType(IsolineEngineType &&value)
AWS_GEOROUTES_API IsolineCarOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineCarOptions & WithOccupancy(int value)
const IsolineVehicleLicensePlate & GetLicensePlate() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineCarOptions & WithLicensePlate(IsolineVehicleLicensePlate &&value)
Aws::Utils::Json::JsonValue JsonValue