AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowIdentity.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
32 {
33 public:
38
39
41
44 inline const Aws::String& GetWindowId() const{ return m_windowId; }
45 inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
46 inline void SetWindowId(const Aws::String& value) { m_windowIdHasBeenSet = true; m_windowId = value; }
47 inline void SetWindowId(Aws::String&& value) { m_windowIdHasBeenSet = true; m_windowId = std::move(value); }
48 inline void SetWindowId(const char* value) { m_windowIdHasBeenSet = true; m_windowId.assign(value); }
49 inline MaintenanceWindowIdentity& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
50 inline MaintenanceWindowIdentity& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
51 inline MaintenanceWindowIdentity& WithWindowId(const char* value) { SetWindowId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline MaintenanceWindowIdentity& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline MaintenanceWindowIdentity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline MaintenanceWindowIdentity& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline MaintenanceWindowIdentity& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline MaintenanceWindowIdentity& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline MaintenanceWindowIdentity& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline bool GetEnabled() const{ return m_enabled; }
87 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
88 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
89 inline MaintenanceWindowIdentity& WithEnabled(bool value) { SetEnabled(value); return *this;}
91
93
96 inline int GetDuration() const{ return m_duration; }
97 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
98 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
99 inline MaintenanceWindowIdentity& WithDuration(int value) { SetDuration(value); return *this;}
101
103
107 inline int GetCutoff() const{ return m_cutoff; }
108 inline bool CutoffHasBeenSet() const { return m_cutoffHasBeenSet; }
109 inline void SetCutoff(int value) { m_cutoffHasBeenSet = true; m_cutoff = value; }
110 inline MaintenanceWindowIdentity& WithCutoff(int value) { SetCutoff(value); return *this;}
112
114
118 inline const Aws::String& GetSchedule() const{ return m_schedule; }
119 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
120 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
121 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
122 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
123 inline MaintenanceWindowIdentity& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
124 inline MaintenanceWindowIdentity& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
125 inline MaintenanceWindowIdentity& WithSchedule(const char* value) { SetSchedule(value); return *this;}
127
129
133 inline const Aws::String& GetScheduleTimezone() const{ return m_scheduleTimezone; }
134 inline bool ScheduleTimezoneHasBeenSet() const { return m_scheduleTimezoneHasBeenSet; }
135 inline void SetScheduleTimezone(const Aws::String& value) { m_scheduleTimezoneHasBeenSet = true; m_scheduleTimezone = value; }
136 inline void SetScheduleTimezone(Aws::String&& value) { m_scheduleTimezoneHasBeenSet = true; m_scheduleTimezone = std::move(value); }
137 inline void SetScheduleTimezone(const char* value) { m_scheduleTimezoneHasBeenSet = true; m_scheduleTimezone.assign(value); }
139 inline MaintenanceWindowIdentity& WithScheduleTimezone(Aws::String&& value) { SetScheduleTimezone(std::move(value)); return *this;}
140 inline MaintenanceWindowIdentity& WithScheduleTimezone(const char* value) { SetScheduleTimezone(value); return *this;}
142
144
148 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
149 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
150 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
151 inline MaintenanceWindowIdentity& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
153
155
159 inline const Aws::String& GetEndDate() const{ return m_endDate; }
160 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
161 inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; }
162 inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
163 inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); }
164 inline MaintenanceWindowIdentity& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
165 inline MaintenanceWindowIdentity& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
166 inline MaintenanceWindowIdentity& WithEndDate(const char* value) { SetEndDate(value); return *this;}
168
170
174 inline const Aws::String& GetStartDate() const{ return m_startDate; }
175 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
176 inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
177 inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
178 inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
179 inline MaintenanceWindowIdentity& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
180 inline MaintenanceWindowIdentity& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
181 inline MaintenanceWindowIdentity& WithStartDate(const char* value) { SetStartDate(value); return *this;}
183
185
189 inline const Aws::String& GetNextExecutionTime() const{ return m_nextExecutionTime; }
190 inline bool NextExecutionTimeHasBeenSet() const { return m_nextExecutionTimeHasBeenSet; }
191 inline void SetNextExecutionTime(const Aws::String& value) { m_nextExecutionTimeHasBeenSet = true; m_nextExecutionTime = value; }
192 inline void SetNextExecutionTime(Aws::String&& value) { m_nextExecutionTimeHasBeenSet = true; m_nextExecutionTime = std::move(value); }
193 inline void SetNextExecutionTime(const char* value) { m_nextExecutionTimeHasBeenSet = true; m_nextExecutionTime.assign(value); }
195 inline MaintenanceWindowIdentity& WithNextExecutionTime(Aws::String&& value) { SetNextExecutionTime(std::move(value)); return *this;}
196 inline MaintenanceWindowIdentity& WithNextExecutionTime(const char* value) { SetNextExecutionTime(value); return *this;}
198 private:
199
200 Aws::String m_windowId;
201 bool m_windowIdHasBeenSet = false;
202
203 Aws::String m_name;
204 bool m_nameHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 bool m_enabled;
210 bool m_enabledHasBeenSet = false;
211
212 int m_duration;
213 bool m_durationHasBeenSet = false;
214
215 int m_cutoff;
216 bool m_cutoffHasBeenSet = false;
217
218 Aws::String m_schedule;
219 bool m_scheduleHasBeenSet = false;
220
221 Aws::String m_scheduleTimezone;
222 bool m_scheduleTimezoneHasBeenSet = false;
223
224 int m_scheduleOffset;
225 bool m_scheduleOffsetHasBeenSet = false;
226
227 Aws::String m_endDate;
228 bool m_endDateHasBeenSet = false;
229
230 Aws::String m_startDate;
231 bool m_startDateHasBeenSet = false;
232
233 Aws::String m_nextExecutionTime;
234 bool m_nextExecutionTimeHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace SSM
239} // namespace Aws
MaintenanceWindowIdentity & WithStartDate(Aws::String &&value)
MaintenanceWindowIdentity & WithStartDate(const char *value)
MaintenanceWindowIdentity & WithScheduleTimezone(const char *value)
MaintenanceWindowIdentity & WithWindowId(const Aws::String &value)
MaintenanceWindowIdentity & WithDescription(const char *value)
MaintenanceWindowIdentity & WithScheduleTimezone(const Aws::String &value)
MaintenanceWindowIdentity & WithScheduleOffset(int value)
AWS_SSM_API MaintenanceWindowIdentity(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowIdentity & WithNextExecutionTime(const char *value)
MaintenanceWindowIdentity & WithDuration(int value)
MaintenanceWindowIdentity & WithEndDate(const char *value)
MaintenanceWindowIdentity & WithEndDate(const Aws::String &value)
MaintenanceWindowIdentity & WithSchedule(Aws::String &&value)
MaintenanceWindowIdentity & WithDescription(const Aws::String &value)
MaintenanceWindowIdentity & WithName(const char *value)
MaintenanceWindowIdentity & WithSchedule(const Aws::String &value)
MaintenanceWindowIdentity & WithName(Aws::String &&value)
MaintenanceWindowIdentity & WithStartDate(const Aws::String &value)
MaintenanceWindowIdentity & WithEnabled(bool value)
MaintenanceWindowIdentity & WithDescription(Aws::String &&value)
MaintenanceWindowIdentity & WithName(const Aws::String &value)
MaintenanceWindowIdentity & WithNextExecutionTime(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowIdentity & WithSchedule(const char *value)
MaintenanceWindowIdentity & WithWindowId(const char *value)
AWS_SSM_API MaintenanceWindowIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowIdentity & WithNextExecutionTime(const Aws::String &value)
MaintenanceWindowIdentity & WithCutoff(int value)
MaintenanceWindowIdentity & WithScheduleTimezone(Aws::String &&value)
MaintenanceWindowIdentity & WithEndDate(Aws::String &&value)
MaintenanceWindowIdentity & WithWindowId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue