AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationTravelModeOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationPedestrianOptions.h>
9#include <aws/geo-routes/model/WaypointOptimizationTruckOptions.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:
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const WaypointOptimizationPedestrianOptions& GetPedestrian() const{ return m_pedestrian; }
47 inline bool PedestrianHasBeenSet() const { return m_pedestrianHasBeenSet; }
48 inline void SetPedestrian(const WaypointOptimizationPedestrianOptions& value) { m_pedestrianHasBeenSet = true; m_pedestrian = value; }
49 inline void SetPedestrian(WaypointOptimizationPedestrianOptions&& value) { m_pedestrianHasBeenSet = true; m_pedestrian = std::move(value); }
53
55
58 inline const WaypointOptimizationTruckOptions& GetTruck() const{ return m_truck; }
59 inline bool TruckHasBeenSet() const { return m_truckHasBeenSet; }
60 inline void SetTruck(const WaypointOptimizationTruckOptions& value) { m_truckHasBeenSet = true; m_truck = value; }
61 inline void SetTruck(WaypointOptimizationTruckOptions&& value) { m_truckHasBeenSet = true; m_truck = std::move(value); }
65 private:
66
68 bool m_pedestrianHasBeenSet = false;
69
71 bool m_truckHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
AWS_GEOROUTES_API WaypointOptimizationTravelModeOptions(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationTravelModeOptions & WithPedestrian(WaypointOptimizationPedestrianOptions &&value)
AWS_GEOROUTES_API WaypointOptimizationTravelModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationTravelModeOptions & WithPedestrian(const WaypointOptimizationPedestrianOptions &value)
void SetPedestrian(const WaypointOptimizationPedestrianOptions &value)
const WaypointOptimizationPedestrianOptions & GetPedestrian() const
WaypointOptimizationTravelModeOptions & WithTruck(WaypointOptimizationTruckOptions &&value)
WaypointOptimizationTravelModeOptions & WithTruck(const WaypointOptimizationTruckOptions &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue