AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationRestCycles.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationRestCycleDurations.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOROUTES_API WaypointOptimizationRestCycles();
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const WaypointOptimizationRestCycleDurations& GetLongCycle() const{ return m_longCycle; }
45 inline bool LongCycleHasBeenSet() const { return m_longCycleHasBeenSet; }
46 inline void SetLongCycle(const WaypointOptimizationRestCycleDurations& value) { m_longCycleHasBeenSet = true; m_longCycle = value; }
47 inline void SetLongCycle(WaypointOptimizationRestCycleDurations&& value) { m_longCycleHasBeenSet = true; m_longCycle = std::move(value); }
51
53
56 inline const WaypointOptimizationRestCycleDurations& GetShortCycle() const{ return m_shortCycle; }
57 inline bool ShortCycleHasBeenSet() const { return m_shortCycleHasBeenSet; }
58 inline void SetShortCycle(const WaypointOptimizationRestCycleDurations& value) { m_shortCycleHasBeenSet = true; m_shortCycle = value; }
59 inline void SetShortCycle(WaypointOptimizationRestCycleDurations&& value) { m_shortCycleHasBeenSet = true; m_shortCycle = std::move(value); }
63 private:
64
66 bool m_longCycleHasBeenSet = false;
67
69 bool m_shortCycleHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GeoRoutes
74} // namespace Aws
AWS_GEOROUTES_API WaypointOptimizationRestCycles(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationRestCycles & WithLongCycle(WaypointOptimizationRestCycleDurations &&value)
void SetShortCycle(const WaypointOptimizationRestCycleDurations &value)
WaypointOptimizationRestCycles & WithShortCycle(const WaypointOptimizationRestCycleDurations &value)
void SetShortCycle(WaypointOptimizationRestCycleDurations &&value)
const WaypointOptimizationRestCycleDurations & GetLongCycle() const
const WaypointOptimizationRestCycleDurations & GetShortCycle() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationRestCycles & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationRestCycles & WithShortCycle(WaypointOptimizationRestCycleDurations &&value)
void SetLongCycle(WaypointOptimizationRestCycleDurations &&value)
void SetLongCycle(const WaypointOptimizationRestCycleDurations &value)
WaypointOptimizationRestCycles & WithLongCycle(const WaypointOptimizationRestCycleDurations &value)
Aws::Utils::Json::JsonValue JsonValue