AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteScooterOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteEngineType.h>
9#include <aws/geo-routes/model/RouteVehicleLicensePlate.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
34 {
35 public:
36 AWS_GEOROUTES_API RouteScooterOptions();
37 AWS_GEOROUTES_API RouteScooterOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RouteEngineType& GetEngineType() const{ return m_engineType; }
47 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
48 inline void SetEngineType(const RouteEngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
49 inline void SetEngineType(RouteEngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
50 inline RouteScooterOptions& WithEngineType(const RouteEngineType& value) { SetEngineType(value); return *this;}
51 inline RouteScooterOptions& WithEngineType(RouteEngineType&& value) { SetEngineType(std::move(value)); return *this;}
53
55
58 inline const RouteVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
59 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
60 inline void SetLicensePlate(const RouteVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
61 inline void SetLicensePlate(RouteVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
63 inline RouteScooterOptions& WithLicensePlate(RouteVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
65
67
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 RouteScooterOptions& 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 RouteScooterOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
86 private:
87
88 RouteEngineType m_engineType;
89 bool m_engineTypeHasBeenSet = false;
90
91 RouteVehicleLicensePlate 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
const RouteVehicleLicensePlate & GetLicensePlate() const
AWS_GEOROUTES_API RouteScooterOptions(Aws::Utils::Json::JsonView jsonValue)
RouteScooterOptions & WithLicensePlate(const RouteVehicleLicensePlate &value)
RouteScooterOptions & WithMaxSpeed(double value)
void SetLicensePlate(RouteVehicleLicensePlate &&value)
AWS_GEOROUTES_API RouteScooterOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicensePlate(const RouteVehicleLicensePlate &value)
void SetEngineType(RouteEngineType &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteEngineType & GetEngineType() const
RouteScooterOptions & WithEngineType(const RouteEngineType &value)
RouteScooterOptions & WithLicensePlate(RouteVehicleLicensePlate &&value)
RouteScooterOptions & WithEngineType(RouteEngineType &&value)
RouteScooterOptions & WithOccupancy(int value)
void SetEngineType(const RouteEngineType &value)
Aws::Utils::Json::JsonValue JsonValue