AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixScooterOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixVehicleLicensePlate.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GEOROUTES_API RouteMatrixScooterOptions();
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RouteMatrixVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
46 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
47 inline void SetLicensePlate(const RouteMatrixVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
48 inline void SetLicensePlate(RouteMatrixVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
52
54
57 inline double GetMaxSpeed() const{ return m_maxSpeed; }
58 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
59 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
60 inline RouteMatrixScooterOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
62
64
68 inline int GetOccupancy() const{ return m_occupancy; }
69 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
70 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
71 inline RouteMatrixScooterOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
73 private:
74
75 RouteMatrixVehicleLicensePlate m_licensePlate;
76 bool m_licensePlateHasBeenSet = false;
77
78 double m_maxSpeed;
79 bool m_maxSpeedHasBeenSet = false;
80
81 int m_occupancy;
82 bool m_occupancyHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace GeoRoutes
87} // namespace Aws
RouteMatrixScooterOptions & WithLicensePlate(RouteMatrixVehicleLicensePlate &&value)
AWS_GEOROUTES_API RouteMatrixScooterOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicensePlate(const RouteMatrixVehicleLicensePlate &value)
void SetLicensePlate(RouteMatrixVehicleLicensePlate &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteMatrixScooterOptions & WithOccupancy(int value)
AWS_GEOROUTES_API RouteMatrixScooterOptions(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixVehicleLicensePlate & GetLicensePlate() const
RouteMatrixScooterOptions & WithLicensePlate(const RouteMatrixVehicleLicensePlate &value)
RouteMatrixScooterOptions & WithMaxSpeed(double value)
Aws::Utils::Json::JsonValue JsonValue