AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GEOROUTES_API RouteMatrixTravelModeOptions();
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const RouteMatrixCarOptions& GetCar() const{ return m_car; }
48 inline bool CarHasBeenSet() const { return m_carHasBeenSet; }
49 inline void SetCar(const RouteMatrixCarOptions& value) { m_carHasBeenSet = true; m_car = value; }
50 inline void SetCar(RouteMatrixCarOptions&& value) { m_carHasBeenSet = true; m_car = std::move(value); }
51 inline RouteMatrixTravelModeOptions& WithCar(const RouteMatrixCarOptions& value) { SetCar(value); return *this;}
52 inline RouteMatrixTravelModeOptions& WithCar(RouteMatrixCarOptions&& value) { SetCar(std::move(value)); return *this;}
54
56
59 inline const RouteMatrixScooterOptions& GetScooter() const{ return m_scooter; }
60 inline bool ScooterHasBeenSet() const { return m_scooterHasBeenSet; }
61 inline void SetScooter(const RouteMatrixScooterOptions& value) { m_scooterHasBeenSet = true; m_scooter = value; }
62 inline void SetScooter(RouteMatrixScooterOptions&& value) { m_scooterHasBeenSet = true; m_scooter = std::move(value); }
64 inline RouteMatrixTravelModeOptions& WithScooter(RouteMatrixScooterOptions&& value) { SetScooter(std::move(value)); return *this;}
66
68
71 inline const RouteMatrixTruckOptions& GetTruck() const{ return m_truck; }
72 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
73 inline void SetTruck(const RouteMatrixTruckOptions& value) { m_truckHasBeenSet = true; m_truck = value; }
74 inline void SetTruck(RouteMatrixTruckOptions&& value) { m_truckHasBeenSet = true; m_truck = std::move(value); }
75 inline RouteMatrixTravelModeOptions& WithTruck(const RouteMatrixTruckOptions& value) { SetTruck(value); return *this;}
76 inline RouteMatrixTravelModeOptions& WithTruck(RouteMatrixTruckOptions&& value) { SetTruck(std::move(value)); return *this;}
78 private:
79
81 bool m_carHasBeenSet = false;
82
84 bool m_scooterHasBeenSet = false;
85
87 bool m_truckHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GeoRoutes
92} // namespace Aws
RouteMatrixTravelModeOptions & WithScooter(const RouteMatrixScooterOptions &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteMatrixTravelModeOptions & WithCar(const RouteMatrixCarOptions &value)
AWS_GEOROUTES_API RouteMatrixTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
void SetScooter(const RouteMatrixScooterOptions &value)
RouteMatrixTravelModeOptions & WithTruck(const RouteMatrixTruckOptions &value)
RouteMatrixTravelModeOptions & WithScooter(RouteMatrixScooterOptions &&value)
RouteMatrixTravelModeOptions & WithCar(RouteMatrixCarOptions &&value)
AWS_GEOROUTES_API RouteMatrixTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixTravelModeOptions & WithTruck(RouteMatrixTruckOptions &&value)
Aws::Utils::Json::JsonValue JsonValue