AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateMaintenanceWindowResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace SSM {
22namespace Model {
24 public:
25 AWS_SSM_API UpdateMaintenanceWindowResult() = default;
28
30
33 inline const Aws::String& GetWindowId() const { return m_windowId; }
34 template <typename WindowIdT = Aws::String>
35 void SetWindowId(WindowIdT&& value) {
36 m_windowIdHasBeenSet = true;
37 m_windowId = std::forward<WindowIdT>(value);
38 }
39 template <typename WindowIdT = Aws::String>
41 SetWindowId(std::forward<WindowIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template <typename NameT = Aws::String>
52 void SetName(NameT&& value) {
53 m_nameHasBeenSet = true;
54 m_name = std::forward<NameT>(value);
55 }
56 template <typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template <typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) {
70 m_descriptionHasBeenSet = true;
71 m_description = std::forward<DescriptionT>(value);
72 }
73 template <typename DescriptionT = Aws::String>
75 SetDescription(std::forward<DescriptionT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetStartDate() const { return m_startDate; }
87 template <typename StartDateT = Aws::String>
88 void SetStartDate(StartDateT&& value) {
89 m_startDateHasBeenSet = true;
90 m_startDate = std::forward<StartDateT>(value);
91 }
92 template <typename StartDateT = Aws::String>
94 SetStartDate(std::forward<StartDateT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetEndDate() const { return m_endDate; }
106 template <typename EndDateT = Aws::String>
107 void SetEndDate(EndDateT&& value) {
108 m_endDateHasBeenSet = true;
109 m_endDate = std::forward<EndDateT>(value);
110 }
111 template <typename EndDateT = Aws::String>
113 SetEndDate(std::forward<EndDateT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::String& GetSchedule() const { return m_schedule; }
124 template <typename ScheduleT = Aws::String>
125 void SetSchedule(ScheduleT&& value) {
126 m_scheduleHasBeenSet = true;
127 m_schedule = std::forward<ScheduleT>(value);
128 }
129 template <typename ScheduleT = Aws::String>
131 SetSchedule(std::forward<ScheduleT>(value));
132 return *this;
133 }
135
137
144 inline const Aws::String& GetScheduleTimezone() const { return m_scheduleTimezone; }
145 template <typename ScheduleTimezoneT = Aws::String>
146 void SetScheduleTimezone(ScheduleTimezoneT&& value) {
147 m_scheduleTimezoneHasBeenSet = true;
148 m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value);
149 }
150 template <typename ScheduleTimezoneT = Aws::String>
152 SetScheduleTimezone(std::forward<ScheduleTimezoneT>(value));
153 return *this;
154 }
156
158
162 inline int GetScheduleOffset() const { return m_scheduleOffset; }
163 inline void SetScheduleOffset(int value) {
164 m_scheduleOffsetHasBeenSet = true;
165 m_scheduleOffset = value;
166 }
168 SetScheduleOffset(value);
169 return *this;
170 }
172
174
177 inline int GetDuration() const { return m_duration; }
178 inline void SetDuration(int value) {
179 m_durationHasBeenSet = true;
180 m_duration = value;
181 }
183 SetDuration(value);
184 return *this;
185 }
187
189
193 inline int GetCutoff() const { return m_cutoff; }
194 inline void SetCutoff(int value) {
195 m_cutoffHasBeenSet = true;
196 m_cutoff = value;
197 }
199 SetCutoff(value);
200 return *this;
201 }
203
205
209 inline bool GetAllowUnassociatedTargets() const { return m_allowUnassociatedTargets; }
210 inline void SetAllowUnassociatedTargets(bool value) {
211 m_allowUnassociatedTargetsHasBeenSet = true;
212 m_allowUnassociatedTargets = value;
213 }
216 return *this;
217 }
219
221
224 inline bool GetEnabled() const { return m_enabled; }
225 inline void SetEnabled(bool value) {
226 m_enabledHasBeenSet = true;
227 m_enabled = value;
228 }
230 SetEnabled(value);
231 return *this;
232 }
234
236
237 inline const Aws::String& GetRequestId() const { return m_requestId; }
238 template <typename RequestIdT = Aws::String>
239 void SetRequestId(RequestIdT&& value) {
240 m_requestIdHasBeenSet = true;
241 m_requestId = std::forward<RequestIdT>(value);
242 }
243 template <typename RequestIdT = Aws::String>
245 SetRequestId(std::forward<RequestIdT>(value));
246 return *this;
247 }
249 private:
250 Aws::String m_windowId;
251
252 Aws::String m_name;
253
254 Aws::String m_description;
255
256 Aws::String m_startDate;
257
258 Aws::String m_endDate;
259
260 Aws::String m_schedule;
261
262 Aws::String m_scheduleTimezone;
263
264 int m_scheduleOffset{0};
265
266 int m_duration{0};
267
268 int m_cutoff{0};
269
270 bool m_allowUnassociatedTargets{false};
271
272 bool m_enabled{false};
273
274 Aws::String m_requestId;
275 bool m_windowIdHasBeenSet = false;
276 bool m_nameHasBeenSet = false;
277 bool m_descriptionHasBeenSet = false;
278 bool m_startDateHasBeenSet = false;
279 bool m_endDateHasBeenSet = false;
280 bool m_scheduleHasBeenSet = false;
281 bool m_scheduleTimezoneHasBeenSet = false;
282 bool m_scheduleOffsetHasBeenSet = false;
283 bool m_durationHasBeenSet = false;
284 bool m_cutoffHasBeenSet = false;
285 bool m_allowUnassociatedTargetsHasBeenSet = false;
286 bool m_enabledHasBeenSet = false;
287 bool m_requestIdHasBeenSet = false;
288};
289
290} // namespace Model
291} // namespace SSM
292} // namespace Aws
UpdateMaintenanceWindowResult & WithDescription(DescriptionT &&value)
UpdateMaintenanceWindowResult & WithWindowId(WindowIdT &&value)
UpdateMaintenanceWindowResult & WithDuration(int value)
UpdateMaintenanceWindowResult & WithEndDate(EndDateT &&value)
UpdateMaintenanceWindowResult & WithScheduleTimezone(ScheduleTimezoneT &&value)
UpdateMaintenanceWindowResult & WithCutoff(int value)
UpdateMaintenanceWindowResult & WithRequestId(RequestIdT &&value)
UpdateMaintenanceWindowResult & WithName(NameT &&value)
AWS_SSM_API UpdateMaintenanceWindowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithSchedule(ScheduleT &&value)
UpdateMaintenanceWindowResult & WithEnabled(bool value)
UpdateMaintenanceWindowResult & WithAllowUnassociatedTargets(bool value)
AWS_SSM_API UpdateMaintenanceWindowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithStartDate(StartDateT &&value)
UpdateMaintenanceWindowResult & WithScheduleOffset(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue