AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
WaypointOptimizationRestCycleDurations.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
29 public:
30 AWS_GEOROUTES_API WaypointOptimizationRestCycleDurations() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetRestDuration() const { return m_restDuration; }
40 inline bool RestDurationHasBeenSet() const { return m_restDurationHasBeenSet; }
41 inline void SetRestDuration(long long value) {
42 m_restDurationHasBeenSet = true;
43 m_restDuration = value;
44 }
46 SetRestDuration(value);
47 return *this;
48 }
50
52
55 inline long long GetWorkDuration() const { return m_workDuration; }
56 inline bool WorkDurationHasBeenSet() const { return m_workDurationHasBeenSet; }
57 inline void SetWorkDuration(long long value) {
58 m_workDurationHasBeenSet = true;
59 m_workDuration = value;
60 }
62 SetWorkDuration(value);
63 return *this;
64 }
66 private:
67 long long m_restDuration{0};
68
69 long long m_workDuration{0};
70 bool m_restDurationHasBeenSet = false;
71 bool m_workDurationHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
AWS_GEOROUTES_API WaypointOptimizationRestCycleDurations(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationRestCycleDurations & WithWorkDuration(long long value)
WaypointOptimizationRestCycleDurations & WithRestDuration(long long value)
AWS_GEOROUTES_API WaypointOptimizationRestCycleDurations & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue