AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMaintenanceWindowResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SSM
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetWindowId() const{ return m_windowId; }
41 inline void SetWindowId(const Aws::String& value) { m_windowId = value; }
42 inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); }
43 inline void SetWindowId(const char* value) { m_windowId.assign(value); }
44 inline GetMaintenanceWindowResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
45 inline GetMaintenanceWindowResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
46 inline GetMaintenanceWindowResult& WithWindowId(const char* value) { SetWindowId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline GetMaintenanceWindowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline GetMaintenanceWindowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline GetMaintenanceWindowResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetMaintenanceWindowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetMaintenanceWindowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetMaintenanceWindowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
81 inline const Aws::String& GetStartDate() const{ return m_startDate; }
82 inline void SetStartDate(const Aws::String& value) { m_startDate = value; }
83 inline void SetStartDate(Aws::String&& value) { m_startDate = std::move(value); }
84 inline void SetStartDate(const char* value) { m_startDate.assign(value); }
85 inline GetMaintenanceWindowResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
86 inline GetMaintenanceWindowResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
87 inline GetMaintenanceWindowResult& WithStartDate(const char* value) { SetStartDate(value); return *this;}
89
91
96 inline const Aws::String& GetEndDate() const{ return m_endDate; }
97 inline void SetEndDate(const Aws::String& value) { m_endDate = value; }
98 inline void SetEndDate(Aws::String&& value) { m_endDate = std::move(value); }
99 inline void SetEndDate(const char* value) { m_endDate.assign(value); }
100 inline GetMaintenanceWindowResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
101 inline GetMaintenanceWindowResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
102 inline GetMaintenanceWindowResult& WithEndDate(const char* value) { SetEndDate(value); return *this;}
104
106
110 inline const Aws::String& GetSchedule() const{ return m_schedule; }
111 inline void SetSchedule(const Aws::String& value) { m_schedule = value; }
112 inline void SetSchedule(Aws::String&& value) { m_schedule = std::move(value); }
113 inline void SetSchedule(const char* value) { m_schedule.assign(value); }
114 inline GetMaintenanceWindowResult& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
115 inline GetMaintenanceWindowResult& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
116 inline GetMaintenanceWindowResult& WithSchedule(const char* value) { SetSchedule(value); return *this;}
118
120
127 inline const Aws::String& GetScheduleTimezone() const{ return m_scheduleTimezone; }
128 inline void SetScheduleTimezone(const Aws::String& value) { m_scheduleTimezone = value; }
129 inline void SetScheduleTimezone(Aws::String&& value) { m_scheduleTimezone = std::move(value); }
130 inline void SetScheduleTimezone(const char* value) { m_scheduleTimezone.assign(value); }
132 inline GetMaintenanceWindowResult& WithScheduleTimezone(Aws::String&& value) { SetScheduleTimezone(std::move(value)); return *this;}
133 inline GetMaintenanceWindowResult& WithScheduleTimezone(const char* value) { SetScheduleTimezone(value); return *this;}
135
137
141 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
142 inline void SetScheduleOffset(int value) { m_scheduleOffset = value; }
143 inline GetMaintenanceWindowResult& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
145
147
151 inline const Aws::String& GetNextExecutionTime() const{ return m_nextExecutionTime; }
152 inline void SetNextExecutionTime(const Aws::String& value) { m_nextExecutionTime = value; }
153 inline void SetNextExecutionTime(Aws::String&& value) { m_nextExecutionTime = std::move(value); }
154 inline void SetNextExecutionTime(const char* value) { m_nextExecutionTime.assign(value); }
156 inline GetMaintenanceWindowResult& WithNextExecutionTime(Aws::String&& value) { SetNextExecutionTime(std::move(value)); return *this;}
157 inline GetMaintenanceWindowResult& WithNextExecutionTime(const char* value) { SetNextExecutionTime(value); return *this;}
159
161
164 inline int GetDuration() const{ return m_duration; }
165 inline void SetDuration(int value) { m_duration = value; }
166 inline GetMaintenanceWindowResult& WithDuration(int value) { SetDuration(value); return *this;}
168
170
174 inline int GetCutoff() const{ return m_cutoff; }
175 inline void SetCutoff(int value) { m_cutoff = value; }
176 inline GetMaintenanceWindowResult& WithCutoff(int value) { SetCutoff(value); return *this;}
178
180
184 inline bool GetAllowUnassociatedTargets() const{ return m_allowUnassociatedTargets; }
185 inline void SetAllowUnassociatedTargets(bool value) { m_allowUnassociatedTargets = value; }
188
190
193 inline bool GetEnabled() const{ return m_enabled; }
194 inline void SetEnabled(bool value) { m_enabled = value; }
195 inline GetMaintenanceWindowResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
197
199
202 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
203 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
204 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
206 inline GetMaintenanceWindowResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
208
210
213 inline const Aws::Utils::DateTime& GetModifiedDate() const{ return m_modifiedDate; }
214 inline void SetModifiedDate(const Aws::Utils::DateTime& value) { m_modifiedDate = value; }
215 inline void SetModifiedDate(Aws::Utils::DateTime&& value) { m_modifiedDate = std::move(value); }
217 inline GetMaintenanceWindowResult& WithModifiedDate(Aws::Utils::DateTime&& value) { SetModifiedDate(std::move(value)); return *this;}
219
221
222 inline const Aws::String& GetRequestId() const{ return m_requestId; }
223 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
224 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
225 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
226 inline GetMaintenanceWindowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
227 inline GetMaintenanceWindowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
228 inline GetMaintenanceWindowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
230 private:
231
232 Aws::String m_windowId;
233
234 Aws::String m_name;
235
236 Aws::String m_description;
237
238 Aws::String m_startDate;
239
240 Aws::String m_endDate;
241
242 Aws::String m_schedule;
243
244 Aws::String m_scheduleTimezone;
245
246 int m_scheduleOffset;
247
248 Aws::String m_nextExecutionTime;
249
250 int m_duration;
251
252 int m_cutoff;
253
254 bool m_allowUnassociatedTargets;
255
256 bool m_enabled;
257
258 Aws::Utils::DateTime m_createdDate;
259
260 Aws::Utils::DateTime m_modifiedDate;
261
262 Aws::String m_requestId;
263 };
264
265} // namespace Model
266} // namespace SSM
267} // namespace Aws
GetMaintenanceWindowResult & WithEnabled(bool value)
GetMaintenanceWindowResult & WithRequestId(Aws::String &&value)
GetMaintenanceWindowResult & WithEndDate(const char *value)
GetMaintenanceWindowResult & WithScheduleTimezone(const Aws::String &value)
GetMaintenanceWindowResult & WithScheduleTimezone(const char *value)
GetMaintenanceWindowResult & WithDescription(Aws::String &&value)
GetMaintenanceWindowResult & WithNextExecutionTime(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
GetMaintenanceWindowResult & WithEndDate(const Aws::String &value)
GetMaintenanceWindowResult & WithModifiedDate(Aws::Utils::DateTime &&value)
GetMaintenanceWindowResult & WithEndDate(Aws::String &&value)
GetMaintenanceWindowResult & WithName(const char *value)
GetMaintenanceWindowResult & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetModifiedDate() const
GetMaintenanceWindowResult & WithDuration(int value)
GetMaintenanceWindowResult & WithName(Aws::String &&value)
GetMaintenanceWindowResult & WithStartDate(const Aws::String &value)
GetMaintenanceWindowResult & WithWindowId(const Aws::String &value)
GetMaintenanceWindowResult & WithAllowUnassociatedTargets(bool value)
GetMaintenanceWindowResult & WithSchedule(Aws::String &&value)
GetMaintenanceWindowResult & WithRequestId(const Aws::String &value)
GetMaintenanceWindowResult & WithSchedule(const char *value)
GetMaintenanceWindowResult & WithNextExecutionTime(const char *value)
GetMaintenanceWindowResult & WithSchedule(const Aws::String &value)
GetMaintenanceWindowResult & WithStartDate(const char *value)
GetMaintenanceWindowResult & WithScheduleOffset(int value)
GetMaintenanceWindowResult & WithCreatedDate(Aws::Utils::DateTime &&value)
AWS_SSM_API GetMaintenanceWindowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowResult & WithDescription(const Aws::String &value)
GetMaintenanceWindowResult & WithName(const Aws::String &value)
AWS_SSM_API GetMaintenanceWindowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowResult & WithDescription(const char *value)
void SetModifiedDate(const Aws::Utils::DateTime &value)
GetMaintenanceWindowResult & WithScheduleTimezone(Aws::String &&value)
GetMaintenanceWindowResult & WithWindowId(Aws::String &&value)
GetMaintenanceWindowResult & WithStartDate(Aws::String &&value)
GetMaintenanceWindowResult & WithModifiedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedDate() const
GetMaintenanceWindowResult & WithNextExecutionTime(Aws::String &&value)
GetMaintenanceWindowResult & WithWindowId(const char *value)
GetMaintenanceWindowResult & WithRequestId(const char *value)
GetMaintenanceWindowResult & WithCutoff(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue