AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteCarOptions.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 RouteCarOptions();
37 AWS_GEOROUTES_API RouteCarOptions(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 RouteCarOptions& WithEngineType(const RouteEngineType& value) { SetEngineType(value); return *this;}
51 inline RouteCarOptions& 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); }
62 inline RouteCarOptions& WithLicensePlate(const RouteVehicleLicensePlate& value) { SetLicensePlate(value); return *this;}
63 inline RouteCarOptions& WithLicensePlate(RouteVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
65
67
71 inline double GetMaxSpeed() const{ return m_maxSpeed; }
72 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
73 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
74 inline RouteCarOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
76
78
82 inline int GetOccupancy() const{ return m_occupancy; }
83 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
84 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
85 inline RouteCarOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
87 private:
88
89 RouteEngineType m_engineType;
90 bool m_engineTypeHasBeenSet = false;
91
92 RouteVehicleLicensePlate m_licensePlate;
93 bool m_licensePlateHasBeenSet = false;
94
95 double m_maxSpeed;
96 bool m_maxSpeedHasBeenSet = false;
97
98 int m_occupancy;
99 bool m_occupancyHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace GeoRoutes
104} // namespace Aws
RouteCarOptions & WithEngineType(RouteEngineType &&value)
RouteCarOptions & WithLicensePlate(RouteVehicleLicensePlate &&value)
RouteCarOptions & WithEngineType(const RouteEngineType &value)
AWS_GEOROUTES_API RouteCarOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteVehicleLicensePlate & GetLicensePlate() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteCarOptions(Aws::Utils::Json::JsonView jsonValue)
const RouteEngineType & GetEngineType() const
RouteCarOptions & WithMaxSpeed(double value)
void SetEngineType(RouteEngineType &&value)
void SetEngineType(const RouteEngineType &value)
void SetLicensePlate(RouteVehicleLicensePlate &&value)
RouteCarOptions & WithOccupancy(int value)
void SetLicensePlate(const RouteVehicleLicensePlate &value)
RouteCarOptions & WithLicensePlate(const RouteVehicleLicensePlate &value)
Aws::Utils::Json::JsonValue JsonValue