AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceStartTime.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_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 BackupGateway
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_BACKUPGATEWAY_API MaintenanceStartTime();
35 AWS_BACKUPGATEWAY_API MaintenanceStartTime(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline int GetDayOfMonth() const{ return m_dayOfMonth; }
47 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
48 inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
49 inline MaintenanceStartTime& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
51
53
58 inline int GetDayOfWeek() const{ return m_dayOfWeek; }
59 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
60 inline void SetDayOfWeek(int value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
61 inline MaintenanceStartTime& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;}
63
65
70 inline int GetHourOfDay() const{ return m_hourOfDay; }
71 inline bool HourOfDayHasBeenSet() const { return m_hourOfDayHasBeenSet; }
72 inline void SetHourOfDay(int value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; }
73 inline MaintenanceStartTime& WithHourOfDay(int value) { SetHourOfDay(value); return *this;}
75
77
82 inline int GetMinuteOfHour() const{ return m_minuteOfHour; }
83 inline bool MinuteOfHourHasBeenSet() const { return m_minuteOfHourHasBeenSet; }
84 inline void SetMinuteOfHour(int value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; }
85 inline MaintenanceStartTime& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;}
87 private:
88
89 int m_dayOfMonth;
90 bool m_dayOfMonthHasBeenSet = false;
91
92 int m_dayOfWeek;
93 bool m_dayOfWeekHasBeenSet = false;
94
95 int m_hourOfDay;
96 bool m_hourOfDayHasBeenSet = false;
97
98 int m_minuteOfHour;
99 bool m_minuteOfHourHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace BackupGateway
104} // namespace Aws
MaintenanceStartTime & WithHourOfDay(int value)
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