AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteDriverScheduleInterval.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
31 {
32 public:
33 AWS_GEOROUTES_API RouteDriverScheduleInterval();
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline long long GetDriveDuration() const{ return m_driveDuration; }
45 inline bool DriveDurationHasBeenSet() const { return m_driveDurationHasBeenSet; }
46 inline void SetDriveDuration(long long value) { m_driveDurationHasBeenSet = true; m_driveDuration = value; }
47 inline RouteDriverScheduleInterval& WithDriveDuration(long long value) { SetDriveDuration(value); return *this;}
49
51
55 inline long long GetRestDuration() const{ return m_restDuration; }
56 inline bool RestDurationHasBeenSet() const { return m_restDurationHasBeenSet; }
57 inline void SetRestDuration(long long value) { m_restDurationHasBeenSet = true; m_restDuration = value; }
58 inline RouteDriverScheduleInterval& WithRestDuration(long long value) { SetRestDuration(value); return *this;}
60 private:
61
62 long long m_driveDuration;
63 bool m_driveDurationHasBeenSet = false;
64
65 long long m_restDuration;
66 bool m_restDurationHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace GeoRoutes
71} // 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(Aws::Utils::Json::JsonView jsonValue)
RouteDriverScheduleInterval & WithRestDuration(long long value)
RouteDriverScheduleInterval & WithDriveDuration(long long value)
Aws::Utils::Json::JsonValue JsonValue