AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
RouteDriverScheduleInterval.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
26 public:
27 AWS_GEOROUTES_API RouteDriverScheduleInterval() = default;
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline long long GetDriveDuration() const { return m_driveDuration; }
38 inline bool DriveDurationHasBeenSet() const { return m_driveDurationHasBeenSet; }
39 inline void SetDriveDuration(long long value) {
40 m_driveDurationHasBeenSet = true;
41 m_driveDuration = value;
42 }
44 SetDriveDuration(value);
45 return *this;
46 }
48
50
54 inline long long GetRestDuration() const { return m_restDuration; }
55 inline bool RestDurationHasBeenSet() const { return m_restDurationHasBeenSet; }
56 inline void SetRestDuration(long long value) {
57 m_restDurationHasBeenSet = true;
58 m_restDuration = value;
59 }
61 SetRestDuration(value);
62 return *this;
63 }
65 private:
66 long long m_driveDuration{0};
67
68 long long m_restDuration{0};
69 bool m_driveDurationHasBeenSet = false;
70 bool m_restDurationHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace GeoRoutes
75} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteDriverScheduleInterval & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteDriverScheduleInterval()=default
AWS_GEOROUTES_API RouteDriverScheduleInterval(Aws::Utils::Json::JsonView jsonValue)
RouteDriverScheduleInterval & WithRestDuration(long long value)
RouteDriverScheduleInterval & WithDriveDuration(long long value)
Aws::Utils::Json::JsonValue JsonValue