AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowExecutionTaskIdentity.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/MaintenanceWindowExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm/model/MaintenanceWindowTaskType.h>
12#include <aws/ssm/model/AlarmConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/AlarmStateInformation.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SSM
28{
29namespace Model
30{
31
39 {
40 public:
45
46
48
51 inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
52 inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
53 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
54 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
55 inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
58 inline MaintenanceWindowExecutionTaskIdentity& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
60
62
66 inline const Aws::String& GetTaskExecutionId() const{ return m_taskExecutionId; }
67 inline bool TaskExecutionIdHasBeenSet() const { return m_taskExecutionIdHasBeenSet; }
68 inline void SetTaskExecutionId(const Aws::String& value) { m_taskExecutionIdHasBeenSet = true; m_taskExecutionId = value; }
69 inline void SetTaskExecutionId(Aws::String&& value) { m_taskExecutionIdHasBeenSet = true; m_taskExecutionId = std::move(value); }
70 inline void SetTaskExecutionId(const char* value) { m_taskExecutionIdHasBeenSet = true; m_taskExecutionId.assign(value); }
73 inline MaintenanceWindowExecutionTaskIdentity& WithTaskExecutionId(const char* value) { SetTaskExecutionId(value); return *this;}
75
77
80 inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87
89
93 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
94 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
95 inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
96 inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
97 inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
99 inline MaintenanceWindowExecutionTaskIdentity& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
100 inline MaintenanceWindowExecutionTaskIdentity& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
108 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
109 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
110 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
114
116
119 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
120 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
121 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
122 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
124 inline MaintenanceWindowExecutionTaskIdentity& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
132 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
133 inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; }
134 inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); }
135 inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); }
136 inline MaintenanceWindowExecutionTaskIdentity& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
137 inline MaintenanceWindowExecutionTaskIdentity& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
138 inline MaintenanceWindowExecutionTaskIdentity& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
140
142
145 inline const MaintenanceWindowTaskType& GetTaskType() const{ return m_taskType; }
146 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
147 inline void SetTaskType(const MaintenanceWindowTaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
148 inline void SetTaskType(MaintenanceWindowTaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
152
154
158 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
159 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
160 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
161 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
165
167
170 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
171 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
172 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; }
173 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); }
176 inline MaintenanceWindowExecutionTaskIdentity& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; }
177 inline MaintenanceWindowExecutionTaskIdentity& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; }
179 private:
180
181 Aws::String m_windowExecutionId;
182 bool m_windowExecutionIdHasBeenSet = false;
183
184 Aws::String m_taskExecutionId;
185 bool m_taskExecutionIdHasBeenSet = false;
186
188 bool m_statusHasBeenSet = false;
189
190 Aws::String m_statusDetails;
191 bool m_statusDetailsHasBeenSet = false;
192
193 Aws::Utils::DateTime m_startTime;
194 bool m_startTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_endTime;
197 bool m_endTimeHasBeenSet = false;
198
199 Aws::String m_taskArn;
200 bool m_taskArnHasBeenSet = false;
201
202 MaintenanceWindowTaskType m_taskType;
203 bool m_taskTypeHasBeenSet = false;
204
205 AlarmConfiguration m_alarmConfiguration;
206 bool m_alarmConfigurationHasBeenSet = false;
207
208 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
209 bool m_triggeredAlarmsHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace SSM
214} // namespace Aws
MaintenanceWindowExecutionTaskIdentity & WithAlarmConfiguration(const AlarmConfiguration &value)
MaintenanceWindowExecutionTaskIdentity & WithStatus(const MaintenanceWindowExecutionStatus &value)
MaintenanceWindowExecutionTaskIdentity & WithStartTime(Aws::Utils::DateTime &&value)
MaintenanceWindowExecutionTaskIdentity & WithTaskType(MaintenanceWindowTaskType &&value)
MaintenanceWindowExecutionTaskIdentity & WithTaskExecutionId(const char *value)
MaintenanceWindowExecutionTaskIdentity & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
MaintenanceWindowExecutionTaskIdentity & AddTriggeredAlarms(AlarmStateInformation &&value)
MaintenanceWindowExecutionTaskIdentity & WithTaskExecutionId(Aws::String &&value)
MaintenanceWindowExecutionTaskIdentity & WithStatusDetails(const Aws::String &value)
MaintenanceWindowExecutionTaskIdentity & WithStatus(MaintenanceWindowExecutionStatus &&value)
MaintenanceWindowExecutionTaskIdentity & WithEndTime(const Aws::Utils::DateTime &value)
MaintenanceWindowExecutionTaskIdentity & WithEndTime(Aws::Utils::DateTime &&value)
MaintenanceWindowExecutionTaskIdentity & WithStatusDetails(Aws::String &&value)
MaintenanceWindowExecutionTaskIdentity & WithTaskArn(Aws::String &&value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowExecutionTaskIdentity & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
MaintenanceWindowExecutionTaskIdentity & WithWindowExecutionId(const char *value)
MaintenanceWindowExecutionTaskIdentity & WithTaskArn(const Aws::String &value)
MaintenanceWindowExecutionTaskIdentity & WithStatusDetails(const char *value)
MaintenanceWindowExecutionTaskIdentity & WithTaskExecutionId(const Aws::String &value)
MaintenanceWindowExecutionTaskIdentity & AddTriggeredAlarms(const AlarmStateInformation &value)
AWS_SSM_API MaintenanceWindowExecutionTaskIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowExecutionTaskIdentity & WithWindowExecutionId(Aws::String &&value)
AWS_SSM_API MaintenanceWindowExecutionTaskIdentity(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowExecutionTaskIdentity & WithWindowExecutionId(const Aws::String &value)
MaintenanceWindowExecutionTaskIdentity & WithTaskType(const MaintenanceWindowTaskType &value)
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
MaintenanceWindowExecutionTaskIdentity & WithAlarmConfiguration(AlarmConfiguration &&value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
MaintenanceWindowExecutionTaskIdentity & WithTaskArn(const char *value)
MaintenanceWindowExecutionTaskIdentity & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue