AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMaintenanceWindowTaskResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/ssm/model/MaintenanceWindowTaskInvocationParameters.h>
12#include <aws/ssm/model/LoggingInfo.h>
13#include <aws/ssm/model/MaintenanceWindowTaskCutoffBehavior.h>
14#include <aws/ssm/model/AlarmConfiguration.h>
15#include <aws/ssm/model/Target.h>
16#include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SSM
32{
33namespace Model
34{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetWindowId() const{ return m_windowId; }
48 inline void SetWindowId(const Aws::String& value) { m_windowId = value; }
49 inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); }
50 inline void SetWindowId(const char* value) { m_windowId.assign(value); }
51 inline UpdateMaintenanceWindowTaskResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
52 inline UpdateMaintenanceWindowTaskResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
53 inline UpdateMaintenanceWindowTaskResult& WithWindowId(const char* value) { SetWindowId(value); return *this;}
55
57
60 inline const Aws::String& GetWindowTaskId() const{ return m_windowTaskId; }
61 inline void SetWindowTaskId(const Aws::String& value) { m_windowTaskId = value; }
62 inline void SetWindowTaskId(Aws::String&& value) { m_windowTaskId = std::move(value); }
63 inline void SetWindowTaskId(const char* value) { m_windowTaskId.assign(value); }
65 inline UpdateMaintenanceWindowTaskResult& WithWindowTaskId(Aws::String&& value) { SetWindowTaskId(std::move(value)); return *this;}
66 inline UpdateMaintenanceWindowTaskResult& WithWindowTaskId(const char* value) { SetWindowTaskId(value); return *this;}
68
70
73 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
74 inline void SetTargets(const Aws::Vector<Target>& value) { m_targets = value; }
75 inline void SetTargets(Aws::Vector<Target>&& value) { m_targets = std::move(value); }
76 inline UpdateMaintenanceWindowTaskResult& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
77 inline UpdateMaintenanceWindowTaskResult& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
78 inline UpdateMaintenanceWindowTaskResult& AddTargets(const Target& value) { m_targets.push_back(value); return *this; }
79 inline UpdateMaintenanceWindowTaskResult& AddTargets(Target&& value) { m_targets.push_back(std::move(value)); return *this; }
81
83
86 inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
87 inline void SetTaskArn(const Aws::String& value) { m_taskArn = value; }
88 inline void SetTaskArn(Aws::String&& value) { m_taskArn = std::move(value); }
89 inline void SetTaskArn(const char* value) { m_taskArn.assign(value); }
90 inline UpdateMaintenanceWindowTaskResult& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
91 inline UpdateMaintenanceWindowTaskResult& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
92 inline UpdateMaintenanceWindowTaskResult& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
94
96
111 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
112 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArn = value; }
113 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArn = std::move(value); }
114 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArn.assign(value); }
116 inline UpdateMaintenanceWindowTaskResult& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
117 inline UpdateMaintenanceWindowTaskResult& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
119
121
131 inline void SetTaskParameters(Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>&& value) { m_taskParameters = std::move(value); }
134 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(const Aws::String& key, const MaintenanceWindowTaskParameterValueExpression& value) { m_taskParameters.emplace(key, value); return *this; }
135 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(Aws::String&& key, const MaintenanceWindowTaskParameterValueExpression& value) { m_taskParameters.emplace(std::move(key), value); return *this; }
136 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(const Aws::String& key, MaintenanceWindowTaskParameterValueExpression&& value) { m_taskParameters.emplace(key, std::move(value)); return *this; }
137 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(Aws::String&& key, MaintenanceWindowTaskParameterValueExpression&& value) { m_taskParameters.emplace(std::move(key), std::move(value)); return *this; }
138 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(const char* key, MaintenanceWindowTaskParameterValueExpression&& value) { m_taskParameters.emplace(key, std::move(value)); return *this; }
139 inline UpdateMaintenanceWindowTaskResult& AddTaskParameters(const char* key, const MaintenanceWindowTaskParameterValueExpression& value) { m_taskParameters.emplace(key, value); return *this; }
141
143
146 inline const MaintenanceWindowTaskInvocationParameters& GetTaskInvocationParameters() const{ return m_taskInvocationParameters; }
147 inline void SetTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters& value) { m_taskInvocationParameters = value; }
148 inline void SetTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters&& value) { m_taskInvocationParameters = std::move(value); }
152
154
157 inline int GetPriority() const{ return m_priority; }
158 inline void SetPriority(int value) { m_priority = value; }
159 inline UpdateMaintenanceWindowTaskResult& WithPriority(int value) { SetPriority(value); return *this;}
161
163
166 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
167 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrency = value; }
168 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrency = std::move(value); }
169 inline void SetMaxConcurrency(const char* value) { m_maxConcurrency.assign(value); }
171 inline UpdateMaintenanceWindowTaskResult& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;}
172 inline UpdateMaintenanceWindowTaskResult& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
174
176
179 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
180 inline void SetMaxErrors(const Aws::String& value) { m_maxErrors = value; }
181 inline void SetMaxErrors(Aws::String&& value) { m_maxErrors = std::move(value); }
182 inline void SetMaxErrors(const char* value) { m_maxErrors.assign(value); }
183 inline UpdateMaintenanceWindowTaskResult& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;}
184 inline UpdateMaintenanceWindowTaskResult& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
185 inline UpdateMaintenanceWindowTaskResult& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
187
189
199 inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
200 inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfo = value; }
201 inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfo = std::move(value); }
203 inline UpdateMaintenanceWindowTaskResult& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
205
207
210 inline const Aws::String& GetName() const{ return m_name; }
211 inline void SetName(const Aws::String& value) { m_name = value; }
212 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
213 inline void SetName(const char* value) { m_name.assign(value); }
214 inline UpdateMaintenanceWindowTaskResult& WithName(const Aws::String& value) { SetName(value); return *this;}
215 inline UpdateMaintenanceWindowTaskResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
216 inline UpdateMaintenanceWindowTaskResult& WithName(const char* value) { SetName(value); return *this;}
218
220
223 inline const Aws::String& GetDescription() const{ return m_description; }
224 inline void SetDescription(const Aws::String& value) { m_description = value; }
225 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
226 inline void SetDescription(const char* value) { m_description.assign(value); }
228 inline UpdateMaintenanceWindowTaskResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
229 inline UpdateMaintenanceWindowTaskResult& WithDescription(const char* value) { SetDescription(value); return *this;}
231
233
237 inline const MaintenanceWindowTaskCutoffBehavior& GetCutoffBehavior() const{ return m_cutoffBehavior; }
238 inline void SetCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior& value) { m_cutoffBehavior = value; }
239 inline void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior&& value) { m_cutoffBehavior = std::move(value); }
243
245
249 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
250 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfiguration = value; }
251 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfiguration = std::move(value); }
255
257
258 inline const Aws::String& GetRequestId() const{ return m_requestId; }
259 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
260 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
261 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
262 inline UpdateMaintenanceWindowTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
263 inline UpdateMaintenanceWindowTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
264 inline UpdateMaintenanceWindowTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
266 private:
267
268 Aws::String m_windowId;
269
270 Aws::String m_windowTaskId;
271
272 Aws::Vector<Target> m_targets;
273
274 Aws::String m_taskArn;
275
276 Aws::String m_serviceRoleArn;
277
279
280 MaintenanceWindowTaskInvocationParameters m_taskInvocationParameters;
281
282 int m_priority;
283
284 Aws::String m_maxConcurrency;
285
286 Aws::String m_maxErrors;
287
288 LoggingInfo m_loggingInfo;
289
290 Aws::String m_name;
291
292 Aws::String m_description;
293
295
296 AlarmConfiguration m_alarmConfiguration;
297
298 Aws::String m_requestId;
299 };
300
301} // namespace Model
302} // namespace SSM
303} // namespace Aws
UpdateMaintenanceWindowTaskResult & WithRequestId(const char *value)
UpdateMaintenanceWindowTaskResult & WithRequestId(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & AddTargets(const Target &value)
AWS_SSM_API UpdateMaintenanceWindowTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowTaskResult & WithWindowTaskId(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithMaxConcurrency(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithWindowTaskId(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithMaxErrors(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithTargets(const Aws::Vector< Target > &value)
void SetTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&value)
void SetTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
UpdateMaintenanceWindowTaskResult & WithTaskArn(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&value)
void SetTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
UpdateMaintenanceWindowTaskResult & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
UpdateMaintenanceWindowTaskResult & AddTaskParameters(Aws::String &&key, const MaintenanceWindowTaskParameterValueExpression &value)
void SetCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
UpdateMaintenanceWindowTaskResult & WithWindowTaskId(const char *value)
UpdateMaintenanceWindowTaskResult & WithServiceRoleArn(const char *value)
UpdateMaintenanceWindowTaskResult & WithPriority(int value)
UpdateMaintenanceWindowTaskResult & WithAlarmConfiguration(AlarmConfiguration &&value)
UpdateMaintenanceWindowTaskResult & WithTargets(Aws::Vector< Target > &&value)
UpdateMaintenanceWindowTaskResult & WithName(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithDescription(const char *value)
AWS_SSM_API UpdateMaintenanceWindowTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowTaskResult & AddTaskParameters(const Aws::String &key, const MaintenanceWindowTaskParameterValueExpression &value)
UpdateMaintenanceWindowTaskResult & WithServiceRoleArn(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & AddTaskParameters(const char *key, MaintenanceWindowTaskParameterValueExpression &&value)
UpdateMaintenanceWindowTaskResult & WithWindowId(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & AddTargets(Target &&value)
UpdateMaintenanceWindowTaskResult & WithRequestId(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithTaskArn(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
UpdateMaintenanceWindowTaskResult & WithLoggingInfo(const LoggingInfo &value)
UpdateMaintenanceWindowTaskResult & WithWindowId(const char *value)
void SetTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
UpdateMaintenanceWindowTaskResult & AddTaskParameters(const char *key, const MaintenanceWindowTaskParameterValueExpression &value)
UpdateMaintenanceWindowTaskResult & WithMaxErrors(const char *value)
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
UpdateMaintenanceWindowTaskResult & WithDescription(Aws::String &&value)
UpdateMaintenanceWindowTaskResult & WithLoggingInfo(LoggingInfo &&value)
UpdateMaintenanceWindowTaskResult & AddTaskParameters(const Aws::String &key, MaintenanceWindowTaskParameterValueExpression &&value)
UpdateMaintenanceWindowTaskResult & WithMaxErrors(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithName(const char *value)
const MaintenanceWindowTaskInvocationParameters & GetTaskInvocationParameters() const
UpdateMaintenanceWindowTaskResult & WithMaxConcurrency(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithServiceRoleArn(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithMaxConcurrency(const char *value)
UpdateMaintenanceWindowTaskResult & AddTaskParameters(Aws::String &&key, MaintenanceWindowTaskParameterValueExpression &&value)
UpdateMaintenanceWindowTaskResult & WithTaskArn(const char *value)
UpdateMaintenanceWindowTaskResult & WithAlarmConfiguration(const AlarmConfiguration &value)
UpdateMaintenanceWindowTaskResult & WithName(const Aws::String &value)
const MaintenanceWindowTaskCutoffBehavior & GetCutoffBehavior() const
UpdateMaintenanceWindowTaskResult & WithTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
UpdateMaintenanceWindowTaskResult & WithWindowId(const Aws::String &value)
UpdateMaintenanceWindowTaskResult & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
UpdateMaintenanceWindowTaskResult & WithTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
UpdateMaintenanceWindowTaskResult & WithCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue