AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMaintenanceWindowResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetWindowId() const{ return m_windowId; }
40 inline void SetWindowId(const Aws::String& value) { m_windowId = value; }
41 inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); }
42 inline void SetWindowId(const char* value) { m_windowId.assign(value); }
43 inline UpdateMaintenanceWindowResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
44 inline UpdateMaintenanceWindowResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
45 inline UpdateMaintenanceWindowResult& WithWindowId(const char* value) { SetWindowId(value); return *this;}
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline void SetName(const Aws::String& value) { m_name = value; }
54 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
55 inline void SetName(const char* value) { m_name.assign(value); }
56 inline UpdateMaintenanceWindowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline UpdateMaintenanceWindowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline UpdateMaintenanceWindowResult& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline void SetDescription(const Aws::String& value) { m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_description.assign(value); }
69 inline UpdateMaintenanceWindowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline UpdateMaintenanceWindowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline UpdateMaintenanceWindowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
80 inline const Aws::String& GetStartDate() const{ return m_startDate; }
81 inline void SetStartDate(const Aws::String& value) { m_startDate = value; }
82 inline void SetStartDate(Aws::String&& value) { m_startDate = std::move(value); }
83 inline void SetStartDate(const char* value) { m_startDate.assign(value); }
84 inline UpdateMaintenanceWindowResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
85 inline UpdateMaintenanceWindowResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
86 inline UpdateMaintenanceWindowResult& WithStartDate(const char* value) { SetStartDate(value); return *this;}
88
90
95 inline const Aws::String& GetEndDate() const{ return m_endDate; }
96 inline void SetEndDate(const Aws::String& value) { m_endDate = value; }
97 inline void SetEndDate(Aws::String&& value) { m_endDate = std::move(value); }
98 inline void SetEndDate(const char* value) { m_endDate.assign(value); }
99 inline UpdateMaintenanceWindowResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
100 inline UpdateMaintenanceWindowResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
101 inline UpdateMaintenanceWindowResult& WithEndDate(const char* value) { SetEndDate(value); return *this;}
103
105
109 inline const Aws::String& GetSchedule() const{ return m_schedule; }
110 inline void SetSchedule(const Aws::String& value) { m_schedule = value; }
111 inline void SetSchedule(Aws::String&& value) { m_schedule = std::move(value); }
112 inline void SetSchedule(const char* value) { m_schedule.assign(value); }
113 inline UpdateMaintenanceWindowResult& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
114 inline UpdateMaintenanceWindowResult& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
115 inline UpdateMaintenanceWindowResult& WithSchedule(const char* value) { SetSchedule(value); return *this;}
117
119
126 inline const Aws::String& GetScheduleTimezone() const{ return m_scheduleTimezone; }
127 inline void SetScheduleTimezone(const Aws::String& value) { m_scheduleTimezone = value; }
128 inline void SetScheduleTimezone(Aws::String&& value) { m_scheduleTimezone = std::move(value); }
129 inline void SetScheduleTimezone(const char* value) { m_scheduleTimezone.assign(value); }
131 inline UpdateMaintenanceWindowResult& WithScheduleTimezone(Aws::String&& value) { SetScheduleTimezone(std::move(value)); return *this;}
132 inline UpdateMaintenanceWindowResult& WithScheduleTimezone(const char* value) { SetScheduleTimezone(value); return *this;}
134
136
140 inline int GetScheduleOffset() const{ return m_scheduleOffset; }
141 inline void SetScheduleOffset(int value) { m_scheduleOffset = value; }
142 inline UpdateMaintenanceWindowResult& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
144
146
149 inline int GetDuration() const{ return m_duration; }
150 inline void SetDuration(int value) { m_duration = value; }
151 inline UpdateMaintenanceWindowResult& WithDuration(int value) { SetDuration(value); return *this;}
153
155
159 inline int GetCutoff() const{ return m_cutoff; }
160 inline void SetCutoff(int value) { m_cutoff = value; }
161 inline UpdateMaintenanceWindowResult& WithCutoff(int value) { SetCutoff(value); return *this;}
163
165
169 inline bool GetAllowUnassociatedTargets() const{ return m_allowUnassociatedTargets; }
170 inline void SetAllowUnassociatedTargets(bool value) { m_allowUnassociatedTargets = value; }
173
175
178 inline bool GetEnabled() const{ return m_enabled; }
179 inline void SetEnabled(bool value) { m_enabled = value; }
180 inline UpdateMaintenanceWindowResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
182
184
185 inline const Aws::String& GetRequestId() const{ return m_requestId; }
186 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
187 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
188 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
189 inline UpdateMaintenanceWindowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
190 inline UpdateMaintenanceWindowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
191 inline UpdateMaintenanceWindowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
193 private:
194
195 Aws::String m_windowId;
196
197 Aws::String m_name;
198
199 Aws::String m_description;
200
201 Aws::String m_startDate;
202
203 Aws::String m_endDate;
204
205 Aws::String m_schedule;
206
207 Aws::String m_scheduleTimezone;
208
209 int m_scheduleOffset;
210
211 int m_duration;
212
213 int m_cutoff;
214
215 bool m_allowUnassociatedTargets;
216
217 bool m_enabled;
218
219 Aws::String m_requestId;
220 };
221
222} // namespace Model
223} // namespace SSM
224} // namespace Aws
UpdateMaintenanceWindowResult & WithSchedule(const char *value)
UpdateMaintenanceWindowResult & WithScheduleTimezone(Aws::String &&value)
UpdateMaintenanceWindowResult & WithName(const Aws::String &value)
UpdateMaintenanceWindowResult & WithScheduleTimezone(const char *value)
UpdateMaintenanceWindowResult & WithEndDate(Aws::String &&value)
UpdateMaintenanceWindowResult & WithStartDate(const Aws::String &value)
UpdateMaintenanceWindowResult & WithName(const char *value)
UpdateMaintenanceWindowResult & WithEndDate(const Aws::String &value)
UpdateMaintenanceWindowResult & WithRequestId(const Aws::String &value)
UpdateMaintenanceWindowResult & WithDuration(int value)
UpdateMaintenanceWindowResult & WithRequestId(Aws::String &&value)
UpdateMaintenanceWindowResult & WithName(Aws::String &&value)
UpdateMaintenanceWindowResult & WithDescription(Aws::String &&value)
UpdateMaintenanceWindowResult & WithCutoff(int value)
UpdateMaintenanceWindowResult & WithDescription(const char *value)
UpdateMaintenanceWindowResult & WithWindowId(Aws::String &&value)
UpdateMaintenanceWindowResult & WithStartDate(const char *value)
UpdateMaintenanceWindowResult & WithRequestId(const char *value)
UpdateMaintenanceWindowResult & WithWindowId(const Aws::String &value)
UpdateMaintenanceWindowResult & WithScheduleTimezone(const Aws::String &value)
AWS_SSM_API UpdateMaintenanceWindowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithStartDate(Aws::String &&value)
UpdateMaintenanceWindowResult & WithWindowId(const char *value)
UpdateMaintenanceWindowResult & WithEnabled(bool value)
UpdateMaintenanceWindowResult & WithDescription(const Aws::String &value)
UpdateMaintenanceWindowResult & WithAllowUnassociatedTargets(bool value)
AWS_SSM_API UpdateMaintenanceWindowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithScheduleOffset(int value)
UpdateMaintenanceWindowResult & WithEndDate(const char *value)
UpdateMaintenanceWindowResult & WithSchedule(const Aws::String &value)
UpdateMaintenanceWindowResult & WithSchedule(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue