AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMaintenanceWindowExecutionTaskResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/MaintenanceWindowTaskType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/MaintenanceWindowExecutionStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ssm/model/AlarmConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/ssm/model/AlarmStateInformation.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& GetWindowExecutionId() const{ return m_windowExecutionId; }
48 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionId = value; }
49 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionId = std::move(value); }
50 inline void SetWindowExecutionId(const char* value) { m_windowExecutionId.assign(value); }
55
57
61 inline const Aws::String& GetTaskExecutionId() const{ return m_taskExecutionId; }
62 inline void SetTaskExecutionId(const Aws::String& value) { m_taskExecutionId = value; }
63 inline void SetTaskExecutionId(Aws::String&& value) { m_taskExecutionId = std::move(value); }
64 inline void SetTaskExecutionId(const char* value) { m_taskExecutionId.assign(value); }
67 inline GetMaintenanceWindowExecutionTaskResult& WithTaskExecutionId(const char* value) { SetTaskExecutionId(value); return *this;}
69
71
74 inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
75 inline void SetTaskArn(const Aws::String& value) { m_taskArn = value; }
76 inline void SetTaskArn(Aws::String&& value) { m_taskArn = std::move(value); }
77 inline void SetTaskArn(const char* value) { m_taskArn.assign(value); }
78 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
79 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
80 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
82
84
87 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
88 inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; }
89 inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); }
90 inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); }
92 inline GetMaintenanceWindowExecutionTaskResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
93 inline GetMaintenanceWindowExecutionTaskResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
95
97
100 inline const MaintenanceWindowTaskType& GetType() const{ return m_type; }
101 inline void SetType(const MaintenanceWindowTaskType& value) { m_type = value; }
102 inline void SetType(MaintenanceWindowTaskType&& value) { m_type = std::move(value); }
104 inline GetMaintenanceWindowExecutionTaskResult& WithType(MaintenanceWindowTaskType&& value) { SetType(std::move(value)); return *this;}
106
108
127
129
132 inline int GetPriority() const{ return m_priority; }
133 inline void SetPriority(int value) { m_priority = value; }
134 inline GetMaintenanceWindowExecutionTaskResult& WithPriority(int value) { SetPriority(value); return *this;}
136
138
142 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; }
143 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrency = value; }
144 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrency = std::move(value); }
145 inline void SetMaxConcurrency(const char* value) { m_maxConcurrency.assign(value); }
148 inline GetMaintenanceWindowExecutionTaskResult& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;}
150
152
156 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; }
157 inline void SetMaxErrors(const Aws::String& value) { m_maxErrors = value; }
158 inline void SetMaxErrors(Aws::String&& value) { m_maxErrors = std::move(value); }
159 inline void SetMaxErrors(const char* value) { m_maxErrors.assign(value); }
161 inline GetMaintenanceWindowExecutionTaskResult& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;}
162 inline GetMaintenanceWindowExecutionTaskResult& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;}
164
166
169 inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; }
170 inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_status = value; }
171 inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_status = std::move(value); }
175
177
180 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
181 inline void SetStatusDetails(const Aws::String& value) { m_statusDetails = value; }
182 inline void SetStatusDetails(Aws::String&& value) { m_statusDetails = std::move(value); }
183 inline void SetStatusDetails(const char* value) { m_statusDetails.assign(value); }
186 inline GetMaintenanceWindowExecutionTaskResult& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
188
190
193 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
194 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
195 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
199
201
204 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
205 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
206 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
208 inline GetMaintenanceWindowExecutionTaskResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
210
212
216 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
217 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfiguration = value; }
218 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfiguration = std::move(value); }
222
224
227 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
228 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarms = value; }
229 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarms = std::move(value); }
232 inline GetMaintenanceWindowExecutionTaskResult& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarms.push_back(value); return *this; }
233 inline GetMaintenanceWindowExecutionTaskResult& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarms.push_back(std::move(value)); return *this; }
235
237
238 inline const Aws::String& GetRequestId() const{ return m_requestId; }
239 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
240 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
241 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
243 inline GetMaintenanceWindowExecutionTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
244 inline GetMaintenanceWindowExecutionTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
246 private:
247
248 Aws::String m_windowExecutionId;
249
250 Aws::String m_taskExecutionId;
251
252 Aws::String m_taskArn;
253
254 Aws::String m_serviceRole;
255
257
259
260 int m_priority;
261
262 Aws::String m_maxConcurrency;
263
264 Aws::String m_maxErrors;
265
267
268 Aws::String m_statusDetails;
269
270 Aws::Utils::DateTime m_startTime;
271
272 Aws::Utils::DateTime m_endTime;
273
274 AlarmConfiguration m_alarmConfiguration;
275
276 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
277
278 Aws::String m_requestId;
279 };
280
281} // namespace Model
282} // namespace SSM
283} // namespace Aws
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
GetMaintenanceWindowExecutionTaskResult & WithStatusDetails(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithTaskParameters(Aws::Vector< Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > > &&value)
GetMaintenanceWindowExecutionTaskResult & WithAlarmConfiguration(const AlarmConfiguration &value)
GetMaintenanceWindowExecutionTaskResult & WithMaxConcurrency(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & WithAlarmConfiguration(AlarmConfiguration &&value)
GetMaintenanceWindowExecutionTaskResult & WithStatusDetails(Aws::String &&value)
GetMaintenanceWindowExecutionTaskResult & WithTaskExecutionId(Aws::String &&value)
AWS_SSM_API GetMaintenanceWindowExecutionTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowExecutionTaskResult & WithRequestId(Aws::String &&value)
void SetTaskParameters(const Aws::Vector< Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > > &value)
GetMaintenanceWindowExecutionTaskResult & WithStatusDetails(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & WithEndTime(const Aws::Utils::DateTime &value)
GetMaintenanceWindowExecutionTaskResult & WithWindowExecutionId(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithStatus(MaintenanceWindowExecutionStatus &&value)
GetMaintenanceWindowExecutionTaskResult & WithRequestId(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & AddTriggeredAlarms(const AlarmStateInformation &value)
GetMaintenanceWindowExecutionTaskResult & WithStatus(const MaintenanceWindowExecutionStatus &value)
GetMaintenanceWindowExecutionTaskResult & WithType(MaintenanceWindowTaskType &&value)
GetMaintenanceWindowExecutionTaskResult & WithServiceRole(Aws::String &&value)
GetMaintenanceWindowExecutionTaskResult & WithTaskArn(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithStartTime(const Aws::Utils::DateTime &value)
GetMaintenanceWindowExecutionTaskResult & WithMaxErrors(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & AddTriggeredAlarms(AlarmStateInformation &&value)
GetMaintenanceWindowExecutionTaskResult & WithRequestId(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithStartTime(Aws::Utils::DateTime &&value)
GetMaintenanceWindowExecutionTaskResult & AddTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
GetMaintenanceWindowExecutionTaskResult & WithTaskExecutionId(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & WithServiceRole(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithTaskParameters(const Aws::Vector< Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > > &value)
GetMaintenanceWindowExecutionTaskResult & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > > & GetTaskParameters() const
GetMaintenanceWindowExecutionTaskResult & AddTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
GetMaintenanceWindowExecutionTaskResult & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
GetMaintenanceWindowExecutionTaskResult & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
GetMaintenanceWindowExecutionTaskResult & WithTaskArn(Aws::String &&value)
GetMaintenanceWindowExecutionTaskResult & WithMaxConcurrency(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithWindowExecutionId(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & WithTaskExecutionId(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithMaxErrors(Aws::String &&value)
GetMaintenanceWindowExecutionTaskResult & WithTaskArn(const Aws::String &value)
GetMaintenanceWindowExecutionTaskResult & WithServiceRole(const Aws::String &value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
GetMaintenanceWindowExecutionTaskResult & WithWindowExecutionId(Aws::String &&value)
AWS_SSM_API GetMaintenanceWindowExecutionTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTaskParameters(Aws::Vector< Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > > &&value)
GetMaintenanceWindowExecutionTaskResult & WithMaxConcurrency(Aws::String &&value)
GetMaintenanceWindowExecutionTaskResult & WithMaxErrors(const char *value)
GetMaintenanceWindowExecutionTaskResult & WithType(const MaintenanceWindowTaskType &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