AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompositeAlarm.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/monitoring/model/StateValue.h>
13#include <aws/monitoring/model/ActionsSuppressedBy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace CloudWatch
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CLOUDWATCH_API CompositeAlarm();
39 AWS_CLOUDWATCH_API CompositeAlarm(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDWATCH_API CompositeAlarm& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline bool GetActionsEnabled() const{ return m_actionsEnabled; }
52 inline bool ActionsEnabledHasBeenSet() const { return m_actionsEnabledHasBeenSet; }
53 inline void SetActionsEnabled(bool value) { m_actionsEnabledHasBeenSet = true; m_actionsEnabled = value; }
54 inline CompositeAlarm& WithActionsEnabled(bool value) { SetActionsEnabled(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetAlarmActions() const{ return m_alarmActions; }
63 inline bool AlarmActionsHasBeenSet() const { return m_alarmActionsHasBeenSet; }
64 inline void SetAlarmActions(const Aws::Vector<Aws::String>& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = value; }
65 inline void SetAlarmActions(Aws::Vector<Aws::String>&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = std::move(value); }
66 inline CompositeAlarm& WithAlarmActions(const Aws::Vector<Aws::String>& value) { SetAlarmActions(value); return *this;}
67 inline CompositeAlarm& WithAlarmActions(Aws::Vector<Aws::String>&& value) { SetAlarmActions(std::move(value)); return *this;}
68 inline CompositeAlarm& AddAlarmActions(const Aws::String& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; }
69 inline CompositeAlarm& AddAlarmActions(Aws::String&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(std::move(value)); return *this; }
70 inline CompositeAlarm& AddAlarmActions(const char* value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetAlarmArn() const{ return m_alarmArn; }
78 inline bool AlarmArnHasBeenSet() const { return m_alarmArnHasBeenSet; }
79 inline void SetAlarmArn(const Aws::String& value) { m_alarmArnHasBeenSet = true; m_alarmArn = value; }
80 inline void SetAlarmArn(Aws::String&& value) { m_alarmArnHasBeenSet = true; m_alarmArn = std::move(value); }
81 inline void SetAlarmArn(const char* value) { m_alarmArnHasBeenSet = true; m_alarmArn.assign(value); }
82 inline CompositeAlarm& WithAlarmArn(const Aws::String& value) { SetAlarmArn(value); return *this;}
83 inline CompositeAlarm& WithAlarmArn(Aws::String&& value) { SetAlarmArn(std::move(value)); return *this;}
84 inline CompositeAlarm& WithAlarmArn(const char* value) { SetAlarmArn(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetAlarmConfigurationUpdatedTimestamp() const{ return m_alarmConfigurationUpdatedTimestamp; }
92 inline bool AlarmConfigurationUpdatedTimestampHasBeenSet() const { return m_alarmConfigurationUpdatedTimestampHasBeenSet; }
93 inline void SetAlarmConfigurationUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_alarmConfigurationUpdatedTimestampHasBeenSet = true; m_alarmConfigurationUpdatedTimestamp = value; }
94 inline void SetAlarmConfigurationUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_alarmConfigurationUpdatedTimestampHasBeenSet = true; m_alarmConfigurationUpdatedTimestamp = std::move(value); }
98
100
103 inline const Aws::String& GetAlarmDescription() const{ return m_alarmDescription; }
104 inline bool AlarmDescriptionHasBeenSet() const { return m_alarmDescriptionHasBeenSet; }
105 inline void SetAlarmDescription(const Aws::String& value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription = value; }
106 inline void SetAlarmDescription(Aws::String&& value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription = std::move(value); }
107 inline void SetAlarmDescription(const char* value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription.assign(value); }
108 inline CompositeAlarm& WithAlarmDescription(const Aws::String& value) { SetAlarmDescription(value); return *this;}
109 inline CompositeAlarm& WithAlarmDescription(Aws::String&& value) { SetAlarmDescription(std::move(value)); return *this;}
110 inline CompositeAlarm& WithAlarmDescription(const char* value) { SetAlarmDescription(value); return *this;}
112
114
117 inline const Aws::String& GetAlarmName() const{ return m_alarmName; }
118 inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
119 inline void SetAlarmName(const Aws::String& value) { m_alarmNameHasBeenSet = true; m_alarmName = value; }
120 inline void SetAlarmName(Aws::String&& value) { m_alarmNameHasBeenSet = true; m_alarmName = std::move(value); }
121 inline void SetAlarmName(const char* value) { m_alarmNameHasBeenSet = true; m_alarmName.assign(value); }
122 inline CompositeAlarm& WithAlarmName(const Aws::String& value) { SetAlarmName(value); return *this;}
123 inline CompositeAlarm& WithAlarmName(Aws::String&& value) { SetAlarmName(std::move(value)); return *this;}
124 inline CompositeAlarm& WithAlarmName(const char* value) { SetAlarmName(value); return *this;}
126
128
131 inline const Aws::String& GetAlarmRule() const{ return m_alarmRule; }
132 inline bool AlarmRuleHasBeenSet() const { return m_alarmRuleHasBeenSet; }
133 inline void SetAlarmRule(const Aws::String& value) { m_alarmRuleHasBeenSet = true; m_alarmRule = value; }
134 inline void SetAlarmRule(Aws::String&& value) { m_alarmRuleHasBeenSet = true; m_alarmRule = std::move(value); }
135 inline void SetAlarmRule(const char* value) { m_alarmRuleHasBeenSet = true; m_alarmRule.assign(value); }
136 inline CompositeAlarm& WithAlarmRule(const Aws::String& value) { SetAlarmRule(value); return *this;}
137 inline CompositeAlarm& WithAlarmRule(Aws::String&& value) { SetAlarmRule(std::move(value)); return *this;}
138 inline CompositeAlarm& WithAlarmRule(const char* value) { SetAlarmRule(value); return *this;}
140
142
147 inline const Aws::Vector<Aws::String>& GetInsufficientDataActions() const{ return m_insufficientDataActions; }
148 inline bool InsufficientDataActionsHasBeenSet() const { return m_insufficientDataActionsHasBeenSet; }
149 inline void SetInsufficientDataActions(const Aws::Vector<Aws::String>& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = value; }
150 inline void SetInsufficientDataActions(Aws::Vector<Aws::String>&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = std::move(value); }
153 inline CompositeAlarm& AddInsufficientDataActions(const Aws::String& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; }
154 inline CompositeAlarm& AddInsufficientDataActions(Aws::String&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(std::move(value)); return *this; }
155 inline CompositeAlarm& AddInsufficientDataActions(const char* value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; }
157
159
163 inline const Aws::Vector<Aws::String>& GetOKActions() const{ return m_oKActions; }
164 inline bool OKActionsHasBeenSet() const { return m_oKActionsHasBeenSet; }
165 inline void SetOKActions(const Aws::Vector<Aws::String>& value) { m_oKActionsHasBeenSet = true; m_oKActions = value; }
166 inline void SetOKActions(Aws::Vector<Aws::String>&& value) { m_oKActionsHasBeenSet = true; m_oKActions = std::move(value); }
167 inline CompositeAlarm& WithOKActions(const Aws::Vector<Aws::String>& value) { SetOKActions(value); return *this;}
168 inline CompositeAlarm& WithOKActions(Aws::Vector<Aws::String>&& value) { SetOKActions(std::move(value)); return *this;}
169 inline CompositeAlarm& AddOKActions(const Aws::String& value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(value); return *this; }
170 inline CompositeAlarm& AddOKActions(Aws::String&& value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(std::move(value)); return *this; }
171 inline CompositeAlarm& AddOKActions(const char* value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(value); return *this; }
173
175
178 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
179 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
180 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
181 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
182 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
183 inline CompositeAlarm& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
184 inline CompositeAlarm& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
185 inline CompositeAlarm& WithStateReason(const char* value) { SetStateReason(value); return *this;}
187
189
192 inline const Aws::String& GetStateReasonData() const{ return m_stateReasonData; }
193 inline bool StateReasonDataHasBeenSet() const { return m_stateReasonDataHasBeenSet; }
194 inline void SetStateReasonData(const Aws::String& value) { m_stateReasonDataHasBeenSet = true; m_stateReasonData = value; }
195 inline void SetStateReasonData(Aws::String&& value) { m_stateReasonDataHasBeenSet = true; m_stateReasonData = std::move(value); }
196 inline void SetStateReasonData(const char* value) { m_stateReasonDataHasBeenSet = true; m_stateReasonData.assign(value); }
197 inline CompositeAlarm& WithStateReasonData(const Aws::String& value) { SetStateReasonData(value); return *this;}
198 inline CompositeAlarm& WithStateReasonData(Aws::String&& value) { SetStateReasonData(std::move(value)); return *this;}
199 inline CompositeAlarm& WithStateReasonData(const char* value) { SetStateReasonData(value); return *this;}
201
203
207 inline const Aws::Utils::DateTime& GetStateUpdatedTimestamp() const{ return m_stateUpdatedTimestamp; }
208 inline bool StateUpdatedTimestampHasBeenSet() const { return m_stateUpdatedTimestampHasBeenSet; }
209 inline void SetStateUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_stateUpdatedTimestampHasBeenSet = true; m_stateUpdatedTimestamp = value; }
210 inline void SetStateUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_stateUpdatedTimestampHasBeenSet = true; m_stateUpdatedTimestamp = std::move(value); }
214
216
219 inline const StateValue& GetStateValue() const{ return m_stateValue; }
220 inline bool StateValueHasBeenSet() const { return m_stateValueHasBeenSet; }
221 inline void SetStateValue(const StateValue& value) { m_stateValueHasBeenSet = true; m_stateValue = value; }
222 inline void SetStateValue(StateValue&& value) { m_stateValueHasBeenSet = true; m_stateValue = std::move(value); }
223 inline CompositeAlarm& WithStateValue(const StateValue& value) { SetStateValue(value); return *this;}
224 inline CompositeAlarm& WithStateValue(StateValue&& value) { SetStateValue(std::move(value)); return *this;}
226
228
232 inline const Aws::Utils::DateTime& GetStateTransitionedTimestamp() const{ return m_stateTransitionedTimestamp; }
233 inline bool StateTransitionedTimestampHasBeenSet() const { return m_stateTransitionedTimestampHasBeenSet; }
234 inline void SetStateTransitionedTimestamp(const Aws::Utils::DateTime& value) { m_stateTransitionedTimestampHasBeenSet = true; m_stateTransitionedTimestamp = value; }
235 inline void SetStateTransitionedTimestamp(Aws::Utils::DateTime&& value) { m_stateTransitionedTimestampHasBeenSet = true; m_stateTransitionedTimestamp = std::move(value); }
239
241
254 inline const ActionsSuppressedBy& GetActionsSuppressedBy() const{ return m_actionsSuppressedBy; }
255 inline bool ActionsSuppressedByHasBeenSet() const { return m_actionsSuppressedByHasBeenSet; }
256 inline void SetActionsSuppressedBy(const ActionsSuppressedBy& value) { m_actionsSuppressedByHasBeenSet = true; m_actionsSuppressedBy = value; }
257 inline void SetActionsSuppressedBy(ActionsSuppressedBy&& value) { m_actionsSuppressedByHasBeenSet = true; m_actionsSuppressedBy = std::move(value); }
259 inline CompositeAlarm& WithActionsSuppressedBy(ActionsSuppressedBy&& value) { SetActionsSuppressedBy(std::move(value)); return *this;}
261
263
266 inline const Aws::String& GetActionsSuppressedReason() const{ return m_actionsSuppressedReason; }
267 inline bool ActionsSuppressedReasonHasBeenSet() const { return m_actionsSuppressedReasonHasBeenSet; }
268 inline void SetActionsSuppressedReason(const Aws::String& value) { m_actionsSuppressedReasonHasBeenSet = true; m_actionsSuppressedReason = value; }
269 inline void SetActionsSuppressedReason(Aws::String&& value) { m_actionsSuppressedReasonHasBeenSet = true; m_actionsSuppressedReason = std::move(value); }
270 inline void SetActionsSuppressedReason(const char* value) { m_actionsSuppressedReasonHasBeenSet = true; m_actionsSuppressedReason.assign(value); }
272 inline CompositeAlarm& WithActionsSuppressedReason(Aws::String&& value) { SetActionsSuppressedReason(std::move(value)); return *this;}
273 inline CompositeAlarm& WithActionsSuppressedReason(const char* value) { SetActionsSuppressedReason(value); return *this;}
275
277
282 inline const Aws::String& GetActionsSuppressor() const{ return m_actionsSuppressor; }
283 inline bool ActionsSuppressorHasBeenSet() const { return m_actionsSuppressorHasBeenSet; }
284 inline void SetActionsSuppressor(const Aws::String& value) { m_actionsSuppressorHasBeenSet = true; m_actionsSuppressor = value; }
285 inline void SetActionsSuppressor(Aws::String&& value) { m_actionsSuppressorHasBeenSet = true; m_actionsSuppressor = std::move(value); }
286 inline void SetActionsSuppressor(const char* value) { m_actionsSuppressorHasBeenSet = true; m_actionsSuppressor.assign(value); }
287 inline CompositeAlarm& WithActionsSuppressor(const Aws::String& value) { SetActionsSuppressor(value); return *this;}
288 inline CompositeAlarm& WithActionsSuppressor(Aws::String&& value) { SetActionsSuppressor(std::move(value)); return *this;}
289 inline CompositeAlarm& WithActionsSuppressor(const char* value) { SetActionsSuppressor(value); return *this;}
291
293
300 inline int GetActionsSuppressorWaitPeriod() const{ return m_actionsSuppressorWaitPeriod; }
301 inline bool ActionsSuppressorWaitPeriodHasBeenSet() const { return m_actionsSuppressorWaitPeriodHasBeenSet; }
302 inline void SetActionsSuppressorWaitPeriod(int value) { m_actionsSuppressorWaitPeriodHasBeenSet = true; m_actionsSuppressorWaitPeriod = value; }
305
307
314 inline int GetActionsSuppressorExtensionPeriod() const{ return m_actionsSuppressorExtensionPeriod; }
315 inline bool ActionsSuppressorExtensionPeriodHasBeenSet() const { return m_actionsSuppressorExtensionPeriodHasBeenSet; }
316 inline void SetActionsSuppressorExtensionPeriod(int value) { m_actionsSuppressorExtensionPeriodHasBeenSet = true; m_actionsSuppressorExtensionPeriod = value; }
319 private:
320
321 bool m_actionsEnabled;
322 bool m_actionsEnabledHasBeenSet = false;
323
324 Aws::Vector<Aws::String> m_alarmActions;
325 bool m_alarmActionsHasBeenSet = false;
326
327 Aws::String m_alarmArn;
328 bool m_alarmArnHasBeenSet = false;
329
330 Aws::Utils::DateTime m_alarmConfigurationUpdatedTimestamp;
331 bool m_alarmConfigurationUpdatedTimestampHasBeenSet = false;
332
333 Aws::String m_alarmDescription;
334 bool m_alarmDescriptionHasBeenSet = false;
335
336 Aws::String m_alarmName;
337 bool m_alarmNameHasBeenSet = false;
338
339 Aws::String m_alarmRule;
340 bool m_alarmRuleHasBeenSet = false;
341
342 Aws::Vector<Aws::String> m_insufficientDataActions;
343 bool m_insufficientDataActionsHasBeenSet = false;
344
345 Aws::Vector<Aws::String> m_oKActions;
346 bool m_oKActionsHasBeenSet = false;
347
348 Aws::String m_stateReason;
349 bool m_stateReasonHasBeenSet = false;
350
351 Aws::String m_stateReasonData;
352 bool m_stateReasonDataHasBeenSet = false;
353
354 Aws::Utils::DateTime m_stateUpdatedTimestamp;
355 bool m_stateUpdatedTimestampHasBeenSet = false;
356
357 StateValue m_stateValue;
358 bool m_stateValueHasBeenSet = false;
359
360 Aws::Utils::DateTime m_stateTransitionedTimestamp;
361 bool m_stateTransitionedTimestampHasBeenSet = false;
362
363 ActionsSuppressedBy m_actionsSuppressedBy;
364 bool m_actionsSuppressedByHasBeenSet = false;
365
366 Aws::String m_actionsSuppressedReason;
367 bool m_actionsSuppressedReasonHasBeenSet = false;
368
369 Aws::String m_actionsSuppressor;
370 bool m_actionsSuppressorHasBeenSet = false;
371
372 int m_actionsSuppressorWaitPeriod;
373 bool m_actionsSuppressorWaitPeriodHasBeenSet = false;
374
375 int m_actionsSuppressorExtensionPeriod;
376 bool m_actionsSuppressorExtensionPeriodHasBeenSet = false;
377 };
378
379} // namespace Model
380} // namespace CloudWatch
381} // namespace Aws
void SetActionsSuppressedReason(Aws::String &&value)
void SetStateUpdatedTimestamp(const Aws::Utils::DateTime &value)
CompositeAlarm & WithStateReason(const Aws::String &value)
CompositeAlarm & WithStateValue(const StateValue &value)
CompositeAlarm & WithOKActions(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetAlarmConfigurationUpdatedTimestamp() const
const Aws::Utils::DateTime & GetStateUpdatedTimestamp() const
CompositeAlarm & WithStateUpdatedTimestamp(Aws::Utils::DateTime &&value)
CompositeAlarm & WithActionsSuppressorExtensionPeriod(int value)
void SetAlarmDescription(const Aws::String &value)
void SetStateReason(const Aws::String &value)
void SetAlarmName(Aws::String &&value)
CompositeAlarm & WithInsufficientDataActions(Aws::Vector< Aws::String > &&value)
CompositeAlarm & WithStateUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetActionsSuppressedReason() const
AWS_CLOUDWATCH_API CompositeAlarm(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStateReasonData() const
CompositeAlarm & WithActionsSuppressorWaitPeriod(int value)
CompositeAlarm & WithAlarmArn(const char *value)
const Aws::String & GetActionsSuppressor() const
CompositeAlarm & WithStateTransitionedTimestamp(Aws::Utils::DateTime &&value)
void SetAlarmDescription(Aws::String &&value)
CompositeAlarm & WithStateReason(const char *value)
AWS_CLOUDWATCH_API CompositeAlarm & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CompositeAlarm & WithInsufficientDataActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAlarmActions() const
CompositeAlarm & WithAlarmName(const Aws::String &value)
CompositeAlarm & WithAlarmName(Aws::String &&value)
CompositeAlarm & WithActionsSuppressedReason(const Aws::String &value)
void SetOKActions(const Aws::Vector< Aws::String > &value)
CompositeAlarm & WithAlarmActions(const Aws::Vector< Aws::String > &value)
void SetStateTransitionedTimestamp(const Aws::Utils::DateTime &value)
CompositeAlarm & AddOKActions(const char *value)
CompositeAlarm & WithActionsEnabled(bool value)
void SetAlarmArn(Aws::String &&value)
CompositeAlarm & WithAlarmDescription(const Aws::String &value)
CompositeAlarm & WithAlarmRule(const char *value)
CompositeAlarm & WithStateReasonData(Aws::String &&value)
CompositeAlarm & WithActionsSuppressedReason(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetActionsSuppressor(const Aws::String &value)
CompositeAlarm & WithAlarmActions(Aws::Vector< Aws::String > &&value)
void SetInsufficientDataActions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAlarmName() const
void SetInsufficientDataActions(const Aws::Vector< Aws::String > &value)
CompositeAlarm & WithActionsSuppressor(const char *value)
CompositeAlarm & WithAlarmConfigurationUpdatedTimestamp(Aws::Utils::DateTime &&value)
CompositeAlarm & WithAlarmDescription(Aws::String &&value)
void SetAlarmDescription(const char *value)
void SetAlarmActions(Aws::Vector< Aws::String > &&value)
CompositeAlarm & WithActionsSuppressor(const Aws::String &value)
CompositeAlarm & WithStateReasonData(const char *value)
void SetStateReasonData(Aws::String &&value)
void SetStateValue(StateValue &&value)
void SetStateTransitionedTimestamp(Aws::Utils::DateTime &&value)
CompositeAlarm & AddInsufficientDataActions(const char *value)
void SetAlarmRule(Aws::String &&value)
void SetOKActions(Aws::Vector< Aws::String > &&value)
CompositeAlarm & WithActionsSuppressor(Aws::String &&value)
CompositeAlarm & AddAlarmActions(const char *value)
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
CompositeAlarm & AddOKActions(const Aws::String &value)
const Aws::String & GetAlarmArn() const
void SetAlarmArn(const Aws::String &value)
CompositeAlarm & AddAlarmActions(const Aws::String &value)
void SetStateValue(const StateValue &value)
void SetActionsSuppressor(Aws::String &&value)
CompositeAlarm & WithAlarmRule(Aws::String &&value)
const Aws::Vector< Aws::String > & GetOKActions() const
void SetStateReason(Aws::String &&value)
void SetAlarmActions(const Aws::Vector< Aws::String > &value)
CompositeAlarm & WithActionsSuppressedBy(ActionsSuppressedBy &&value)
void SetActionsSuppressedReason(const Aws::String &value)
void SetActionsSuppressedReason(const char *value)
const Aws::String & GetAlarmDescription() const
void SetStateReasonData(const Aws::String &value)
CompositeAlarm & WithStateReasonData(const Aws::String &value)
CompositeAlarm & WithAlarmArn(Aws::String &&value)
CompositeAlarm & WithActionsSuppressedReason(Aws::String &&value)
const Aws::String & GetStateReason() const
CompositeAlarm & WithAlarmRule(const Aws::String &value)
void SetAlarmConfigurationUpdatedTimestamp(const Aws::Utils::DateTime &value)
CompositeAlarm & WithAlarmName(const char *value)
void SetStateUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetAlarmRule(const Aws::String &value)
CompositeAlarm & WithAlarmConfigurationUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetAlarmRule() const
const ActionsSuppressedBy & GetActionsSuppressedBy() const
CompositeAlarm & AddOKActions(Aws::String &&value)
CompositeAlarm & WithAlarmDescription(const char *value)
CompositeAlarm & AddInsufficientDataActions(const Aws::String &value)
void SetAlarmName(const Aws::String &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CompositeAlarm & WithActionsSuppressedBy(const ActionsSuppressedBy &value)
void SetActionsSuppressedBy(ActionsSuppressedBy &&value)
void SetActionsSuppressor(const char *value)
CompositeAlarm & AddInsufficientDataActions(Aws::String &&value)
void SetStateReasonData(const char *value)
CompositeAlarm & WithAlarmArn(const Aws::String &value)
void SetActionsSuppressedBy(const ActionsSuppressedBy &value)
CompositeAlarm & WithOKActions(Aws::Vector< Aws::String > &&value)
void SetAlarmConfigurationUpdatedTimestamp(Aws::Utils::DateTime &&value)
CompositeAlarm & AddAlarmActions(Aws::String &&value)
CompositeAlarm & WithStateReason(Aws::String &&value)
const Aws::Utils::DateTime & GetStateTransitionedTimestamp() const
CompositeAlarm & WithStateTransitionedTimestamp(const Aws::Utils::DateTime &value)
const StateValue & GetStateValue() const
CompositeAlarm & WithStateValue(StateValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream