AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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
34 {
35 public:
36 AWS_GEOROUTES_API WaypointOptimizationDriverOptions() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const WaypointOptimizationRestCycles& GetRestCycles() const { return m_restCycles; }
50 inline bool RestCyclesHasBeenSet() const { return m_restCyclesHasBeenSet; }
51 template<typename RestCyclesT = WaypointOptimizationRestCycles>
52 void SetRestCycles(RestCyclesT&& value) { m_restCyclesHasBeenSet = true; m_restCycles = std::forward<RestCyclesT>(value); }
53 template<typename RestCyclesT = WaypointOptimizationRestCycles>
54 WaypointOptimizationDriverOptions& WithRestCycles(RestCyclesT&& value) { SetRestCycles(std::forward<RestCyclesT>(value)); return *this;}
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) { m_restProfileHasBeenSet = true; m_restProfile = std::forward<RestProfileT>(value); }
66 template<typename RestProfileT = WaypointOptimizationRestProfile>
67 WaypointOptimizationDriverOptions& WithRestProfile(RestProfileT&& value) { SetRestProfile(std::forward<RestProfileT>(value)); return *this;}
69
71
76 inline WaypointOptimizationServiceTimeTreatment GetTreatServiceTimeAs() const { return m_treatServiceTimeAs; }
77 inline bool TreatServiceTimeAsHasBeenSet() const { return m_treatServiceTimeAsHasBeenSet; }
78 inline void SetTreatServiceTimeAs(WaypointOptimizationServiceTimeTreatment value) { m_treatServiceTimeAsHasBeenSet = true; m_treatServiceTimeAs = value; }
81 private:
82
84 bool m_restCyclesHasBeenSet = false;
85
87 bool m_restProfileHasBeenSet = false;
88
90 bool m_treatServiceTimeAsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GeoRoutes
95} // 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