AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RouteMatrixTravelModeOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixCarOptions.h>
9#include <aws/geo-routes/model/RouteMatrixScooterOptions.h>
10#include <aws/geo-routes/model/RouteMatrixTruckOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes {
22namespace Model {
23
31 public:
32 AWS_GEOROUTES_API RouteMatrixTravelModeOptions() = default;
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const RouteMatrixCarOptions& GetCar() const { return m_car; }
42 inline bool CarHasBeenSet() const { return m_carHasBeenSet; }
43 template <typename CarT = RouteMatrixCarOptions>
44 void SetCar(CarT&& value) {
45 m_carHasBeenSet = true;
46 m_car = std::forward<CarT>(value);
47 }
48 template <typename CarT = RouteMatrixCarOptions>
50 SetCar(std::forward<CarT>(value));
51 return *this;
52 }
54
56
62 inline const RouteMatrixScooterOptions& GetScooter() const { return m_scooter; }
63 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
64 template <typename ScooterT = RouteMatrixScooterOptions>
65 void SetScooter(ScooterT&& value) {
66 m_scooterHasBeenSet = true;
67 m_scooter = std::forward<ScooterT>(value);
68 }
69 template <typename ScooterT = RouteMatrixScooterOptions>
71 SetScooter(std::forward<ScooterT>(value));
72 return *this;
73 }
75
77
80 inline const RouteMatrixTruckOptions& GetTruck() const { return m_truck; }
81 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
82 template <typename TruckT = RouteMatrixTruckOptions>
83 void SetTruck(TruckT&& value) {
84 m_truckHasBeenSet = true;
85 m_truck = std::forward<TruckT>(value);
86 }
87 template <typename TruckT = RouteMatrixTruckOptions>
89 SetTruck(std::forward<TruckT>(value));
90 return *this;
91 }
93 private:
95
97
99 bool m_carHasBeenSet = false;
100 bool m_scooterHasBeenSet = false;
101 bool m_truckHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace GeoRoutes
106} // namespace Aws
RouteMatrixTravelModeOptions & WithScooter(ScooterT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixTravelModeOptions()=default
AWS_GEOROUTES_API RouteMatrixTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixTravelModeOptions & WithCar(CarT &&value)
AWS_GEOROUTES_API RouteMatrixTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixTravelModeOptions & WithTruck(TruckT &&value)
Aws::Utils::Json::JsonValue JsonValue