AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
WaypointOptimizationDriverOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationRestCycles.h>
9#include <aws/geo-routes/model/WaypointOptimizationRestProfile.h>
10#include <aws/geo-routes/model/WaypointOptimizationServiceTimeTreatment.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
30 public:
31 AWS_GEOROUTES_API WaypointOptimizationDriverOptions() = default;
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const WaypointOptimizationRestCycles& GetRestCycles() const { return m_restCycles; }
44 inline bool RestCyclesHasBeenSet() const { return m_restCyclesHasBeenSet; }
45 template <typename RestCyclesT = WaypointOptimizationRestCycles>
46 void SetRestCycles(RestCyclesT&& value) {
47 m_restCyclesHasBeenSet = true;
48 m_restCycles = std::forward<RestCyclesT>(value);
49 }
50 template <typename RestCyclesT = WaypointOptimizationRestCycles>
52 SetRestCycles(std::forward<RestCyclesT>(value));
53 return *this;
54 }
56
58
62 inline const WaypointOptimizationRestProfile& GetRestProfile() const { return m_restProfile; }
63 inline bool RestProfileHasBeenSet() const { return m_restProfileHasBeenSet; }
64 template <typename RestProfileT = WaypointOptimizationRestProfile>
65 void SetRestProfile(RestProfileT&& value) {
66 m_restProfileHasBeenSet = true;
67 m_restProfile = std::forward<RestProfileT>(value);
68 }
69 template <typename RestProfileT = WaypointOptimizationRestProfile>
71 SetRestProfile(std::forward<RestProfileT>(value));
72 return *this;
73 }
75
77
82 inline WaypointOptimizationServiceTimeTreatment GetTreatServiceTimeAs() const { return m_treatServiceTimeAs; }
83 inline bool TreatServiceTimeAsHasBeenSet() const { return m_treatServiceTimeAsHasBeenSet; }
85 m_treatServiceTimeAsHasBeenSet = true;
86 m_treatServiceTimeAs = value;
87 }
90 return *this;
91 }
93 private:
95
97
99 bool m_restCyclesHasBeenSet = false;
100 bool m_restProfileHasBeenSet = false;
101 bool m_treatServiceTimeAsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace GeoRoutes
106} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationServiceTimeTreatment GetTreatServiceTimeAs() const
AWS_GEOROUTES_API WaypointOptimizationDriverOptions(Aws::Utils::Json::JsonView jsonValue)
void SetTreatServiceTimeAs(WaypointOptimizationServiceTimeTreatment value)
AWS_GEOROUTES_API WaypointOptimizationDriverOptions()=default
WaypointOptimizationDriverOptions & WithRestCycles(RestCyclesT &&value)
AWS_GEOROUTES_API WaypointOptimizationDriverOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationDriverOptions & WithRestProfile(RestProfileT &&value)
WaypointOptimizationDriverOptions & WithTreatServiceTimeAs(WaypointOptimizationServiceTimeTreatment value)
Aws::Utils::Json::JsonValue JsonValue