AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixCarOptions.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
32 {
33 public:
34 AWS_GEOROUTES_API RouteMatrixCarOptions();
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const RouteMatrixVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
45 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
46 inline void SetLicensePlate(const RouteMatrixVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
47 inline void SetLicensePlate(RouteMatrixVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
49 inline RouteMatrixCarOptions& WithLicensePlate(RouteMatrixVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
51
53
56 inline double GetMaxSpeed() const{ return m_maxSpeed; }
57 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
58 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
59 inline RouteMatrixCarOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
61
63
67 inline int GetOccupancy() const{ return m_occupancy; }
68 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
69 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
70 inline RouteMatrixCarOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
72 private:
73
74 RouteMatrixVehicleLicensePlate m_licensePlate;
75 bool m_licensePlateHasBeenSet = false;
76
77 double m_maxSpeed;
78 bool m_maxSpeedHasBeenSet = false;
79
80 int m_occupancy;
81 bool m_occupancyHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace GeoRoutes
86} // namespace Aws
void SetLicensePlate(const RouteMatrixVehicleLicensePlate &value)
RouteMatrixCarOptions & WithLicensePlate(RouteMatrixVehicleLicensePlate &&value)
const RouteMatrixVehicleLicensePlate & GetLicensePlate() const
AWS_GEOROUTES_API RouteMatrixCarOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixCarOptions(Aws::Utils::Json::JsonView jsonValue)
void SetLicensePlate(RouteMatrixVehicleLicensePlate &&value)
RouteMatrixCarOptions & WithMaxSpeed(double value)
RouteMatrixCarOptions & WithOccupancy(int value)
RouteMatrixCarOptions & WithLicensePlate(const RouteMatrixVehicleLicensePlate &value)
Aws::Utils::Json::JsonValue JsonValue