AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationRestCycleDurations.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes
20{
21namespace Model
22{
23
34 {
35 public:
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetRestDuration() const{ return m_restDuration; }
47 inline bool RestDurationHasBeenSet() const { return m_restDurationHasBeenSet; }
48 inline void SetRestDuration(long long value) { m_restDurationHasBeenSet = true; m_restDuration = value; }
49 inline WaypointOptimizationRestCycleDurations& WithRestDuration(long long value) { SetRestDuration(value); return *this;}
51
53
56 inline long long GetWorkDuration() const{ return m_workDuration; }
57 inline bool WorkDurationHasBeenSet() const { return m_workDurationHasBeenSet; }
58 inline void SetWorkDuration(long long value) { m_workDurationHasBeenSet = true; m_workDuration = value; }
59 inline WaypointOptimizationRestCycleDurations& WithWorkDuration(long long value) { SetWorkDuration(value); return *this;}
61 private:
62
63 long long m_restDuration;
64 bool m_restDurationHasBeenSet = false;
65
66 long long m_workDuration;
67 bool m_workDurationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace GeoRoutes
72} // 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