AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationTimeBreakdown.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
30 {
31 public:
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetRestDuration() const{ return m_restDuration; }
43 inline bool RestDurationHasBeenSet() const { return m_restDurationHasBeenSet; }
44 inline void SetRestDuration(long long value) { m_restDurationHasBeenSet = true; m_restDuration = value; }
45 inline WaypointOptimizationTimeBreakdown& WithRestDuration(long long value) { SetRestDuration(value); return *this;}
47
49
54 inline long long GetServiceDuration() const{ return m_serviceDuration; }
55 inline bool ServiceDurationHasBeenSet() const { return m_serviceDurationHasBeenSet; }
56 inline void SetServiceDuration(long long value) { m_serviceDurationHasBeenSet = true; m_serviceDuration = value; }
57 inline WaypointOptimizationTimeBreakdown& WithServiceDuration(long long value) { SetServiceDuration(value); return *this;}
59
61
64 inline long long GetTravelDuration() const{ return m_travelDuration; }
65 inline bool TravelDurationHasBeenSet() const { return m_travelDurationHasBeenSet; }
66 inline void SetTravelDuration(long long value) { m_travelDurationHasBeenSet = true; m_travelDuration = value; }
67 inline WaypointOptimizationTimeBreakdown& WithTravelDuration(long long value) { SetTravelDuration(value); return *this;}
69
71
74 inline long long GetWaitDuration() const{ return m_waitDuration; }
75 inline bool WaitDurationHasBeenSet() const { return m_waitDurationHasBeenSet; }
76 inline void SetWaitDuration(long long value) { m_waitDurationHasBeenSet = true; m_waitDuration = value; }
77 inline WaypointOptimizationTimeBreakdown& WithWaitDuration(long long value) { SetWaitDuration(value); return *this;}
79 private:
80
81 long long m_restDuration;
82 bool m_restDurationHasBeenSet = false;
83
84 long long m_serviceDuration;
85 bool m_serviceDurationHasBeenSet = false;
86
87 long long m_travelDuration;
88 bool m_travelDurationHasBeenSet = false;
89
90 long long m_waitDuration;
91 bool m_waitDurationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GeoRoutes
96} // namespace Aws
WaypointOptimizationTimeBreakdown & WithTravelDuration(long long value)
WaypointOptimizationTimeBreakdown & WithWaitDuration(long long value)
WaypointOptimizationTimeBreakdown & WithServiceDuration(long long value)
AWS_GEOROUTES_API WaypointOptimizationTimeBreakdown(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationTimeBreakdown & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationTimeBreakdown & WithRestDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue