AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MaintenanceStartTime.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BackupGateway {
17namespace Model {
18
27 public:
28 AWS_BACKUPGATEWAY_API MaintenanceStartTime() = default;
29 AWS_BACKUPGATEWAY_API MaintenanceStartTime(Aws::Utils::Json::JsonView jsonValue);
31 AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline int GetDayOfMonth() const { return m_dayOfMonth; }
40 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
41 inline void SetDayOfMonth(int value) {
42 m_dayOfMonthHasBeenSet = true;
43 m_dayOfMonth = value;
44 }
46 SetDayOfMonth(value);
47 return *this;
48 }
50
52
57 inline int GetDayOfWeek() const { return m_dayOfWeek; }
58 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
59 inline void SetDayOfWeek(int value) {
60 m_dayOfWeekHasBeenSet = true;
61 m_dayOfWeek = value;
62 }
64 SetDayOfWeek(value);
65 return *this;
66 }
68
70
75 inline int GetHourOfDay() const { return m_hourOfDay; }
76 inline bool HourOfDayHasBeenSet() const { return m_hourOfDayHasBeenSet; }
77 inline void SetHourOfDay(int value) {
78 m_hourOfDayHasBeenSet = true;
79 m_hourOfDay = value;
80 }
82 SetHourOfDay(value);
83 return *this;
84 }
86
88
93 inline int GetMinuteOfHour() const { return m_minuteOfHour; }
94 inline bool MinuteOfHourHasBeenSet() const { return m_minuteOfHourHasBeenSet; }
95 inline void SetMinuteOfHour(int value) {
96 m_minuteOfHourHasBeenSet = true;
97 m_minuteOfHour = value;
98 }
100 SetMinuteOfHour(value);
101 return *this;
102 }
104 private:
105 int m_dayOfMonth{0};
106
107 int m_dayOfWeek{0};
108
109 int m_hourOfDay{0};
110
111 int m_minuteOfHour{0};
112 bool m_dayOfMonthHasBeenSet = false;
113 bool m_dayOfWeekHasBeenSet = false;
114 bool m_hourOfDayHasBeenSet = false;
115 bool m_minuteOfHourHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace BackupGateway
120} // namespace Aws
MaintenanceStartTime & WithHourOfDay(int value)
AWS_BACKUPGATEWAY_API MaintenanceStartTime()=default
MaintenanceStartTime & WithMinuteOfHour(int value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceStartTime & WithDayOfWeek(int value)
AWS_BACKUPGATEWAY_API MaintenanceStartTime & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUPGATEWAY_API MaintenanceStartTime(Aws::Utils::Json::JsonView jsonValue)
MaintenanceStartTime & WithDayOfMonth(int value)
Aws::Utils::Json::JsonValue JsonValue