7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/monitoring/CloudWatchRequest.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/Tag.h>
43 m_actionsEnabledHasBeenSet =
true;
44 m_actionsEnabled = value;
74 template <
typename AlarmActionsT = Aws::Vector<Aws::String>>
76 m_alarmActionsHasBeenSet =
true;
77 m_alarmActions = std::forward<AlarmActionsT>(value);
79 template <
typename AlarmActionsT = Aws::Vector<Aws::String>>
84 template <
typename AlarmActionsT = Aws::String>
86 m_alarmActionsHasBeenSet =
true;
87 m_alarmActions.emplace_back(std::forward<AlarmActionsT>(value));
98 template <
typename AlarmDescriptionT = Aws::String>
100 m_alarmDescriptionHasBeenSet =
true;
101 m_alarmDescription = std::forward<AlarmDescriptionT>(value);
103 template <
typename AlarmDescriptionT = Aws::String>
117 template <
typename AlarmNameT = Aws::String>
119 m_alarmNameHasBeenSet =
true;
120 m_alarmName = std::forward<AlarmNameT>(value);
122 template <
typename AlarmNameT = Aws::String>
170 template <
typename AlarmRuleT = Aws::String>
172 m_alarmRuleHasBeenSet =
true;
173 m_alarmRule = std::forward<AlarmRuleT>(value);
175 template <
typename AlarmRuleT = Aws::String>
200 template <
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
202 m_insufficientDataActionsHasBeenSet =
true;
203 m_insufficientDataActions = std::forward<InsufficientDataActionsT>(value);
205 template <
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
210 template <
typename InsufficientDataActionsT = Aws::String>
212 m_insufficientDataActionsHasBeenSet =
true;
213 m_insufficientDataActions.emplace_back(std::forward<InsufficientDataActionsT>(value));
235 template <
typename OKActionsT = Aws::Vector<Aws::String>>
237 m_oKActionsHasBeenSet =
true;
238 m_oKActions = std::forward<OKActionsT>(value);
240 template <
typename OKActionsT = Aws::Vector<Aws::String>>
245 template <
typename OKActionsT = Aws::String>
247 m_oKActionsHasBeenSet =
true;
248 m_oKActions.emplace_back(std::forward<OKActionsT>(value));
269 template <
typename TagsT = Aws::Vector<Tag>>
271 m_tagsHasBeenSet =
true;
272 m_tags = std::forward<TagsT>(value);
274 template <
typename TagsT = Aws::Vector<Tag>>
276 SetTags(std::forward<TagsT>(value));
279 template <
typename TagsT = Tag>
281 m_tagsHasBeenSet =
true;
282 m_tags.emplace_back(std::forward<TagsT>(value));
295 template <
typename ActionsSuppressorT = Aws::String>
297 m_actionsSuppressorHasBeenSet =
true;
298 m_actionsSuppressor = std::forward<ActionsSuppressorT>(value);
300 template <
typename ActionsSuppressorT = Aws::String>
318 m_actionsSuppressorWaitPeriodHasBeenSet =
true;
319 m_actionsSuppressorWaitPeriod = value;
338 m_actionsSuppressorExtensionPeriodHasBeenSet =
true;
339 m_actionsSuppressorExtensionPeriod = value;
347 bool m_actionsEnabled{
false};
365 int m_actionsSuppressorWaitPeriod{0};
367 int m_actionsSuppressorExtensionPeriod{0};
368 bool m_actionsEnabledHasBeenSet =
false;
369 bool m_alarmActionsHasBeenSet =
false;
370 bool m_alarmDescriptionHasBeenSet =
false;
371 bool m_alarmNameHasBeenSet =
false;
372 bool m_alarmRuleHasBeenSet =
false;
373 bool m_insufficientDataActionsHasBeenSet =
false;
374 bool m_oKActionsHasBeenSet =
false;
375 bool m_tagsHasBeenSet =
false;
376 bool m_actionsSuppressorHasBeenSet =
false;
377 bool m_actionsSuppressorWaitPeriodHasBeenSet =
false;
378 bool m_actionsSuppressorExtensionPeriodHasBeenSet =
false;
void SetActionsSuppressor(ActionsSuppressorT &&value)
virtual const char * GetServiceRequestName() const override
bool AlarmDescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
bool GetActionsEnabled() const
const Aws::Vector< Aws::String > & GetAlarmActions() const
void SetAlarmActions(AlarmActionsT &&value)
const Aws::String & GetActionsSuppressor() const
void SetTags(TagsT &&value)
const Aws::String & GetAlarmName() const
PutCompositeAlarmRequest & WithActionsSuppressorWaitPeriod(int value)
bool ActionsSuppressorExtensionPeriodHasBeenSet() const
PutCompositeAlarmRequest & WithActionsSuppressorExtensionPeriod(int value)
void SetActionsSuppressorExtensionPeriod(int value)
void SetActionsEnabled(bool value)
PutCompositeAlarmRequest & WithTags(TagsT &&value)
bool InsufficientDataActionsHasBeenSet() const
PutCompositeAlarmRequest & WithAlarmName(AlarmNameT &&value)
void SetAlarmRule(AlarmRuleT &&value)
void SetInsufficientDataActions(InsufficientDataActionsT &&value)
bool TagsHasBeenSet() const
void SetActionsSuppressorWaitPeriod(int value)
int GetActionsSuppressorExtensionPeriod() const
bool AlarmRuleHasBeenSet() const
PutCompositeAlarmRequest & WithAlarmActions(AlarmActionsT &&value)
void SetOKActions(OKActionsT &&value)
const Aws::Vector< Tag > & GetTags() const
bool OKActionsHasBeenSet() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
int GetActionsSuppressorWaitPeriod() const
bool ActionsSuppressorHasBeenSet() const
bool AlarmNameHasBeenSet() const
PutCompositeAlarmRequest & AddOKActions(OKActionsT &&value)
PutCompositeAlarmRequest & WithOKActions(OKActionsT &&value)
const Aws::String & GetAlarmDescription() const
PutCompositeAlarmRequest & WithActionsSuppressor(ActionsSuppressorT &&value)
void SetAlarmName(AlarmNameT &&value)
bool ActionsEnabledHasBeenSet() const
PutCompositeAlarmRequest & AddInsufficientDataActions(InsufficientDataActionsT &&value)
const Aws::String & GetAlarmRule() const
PutCompositeAlarmRequest & AddTags(TagsT &&value)
PutCompositeAlarmRequest & WithInsufficientDataActions(InsufficientDataActionsT &&value)
AWS_CLOUDWATCH_API PutCompositeAlarmRequest()=default
bool AlarmActionsHasBeenSet() const
bool ActionsSuppressorWaitPeriodHasBeenSet() const
const Aws::Vector< Aws::String > & GetOKActions() const
PutCompositeAlarmRequest & WithAlarmRule(AlarmRuleT &&value)
void SetAlarmDescription(AlarmDescriptionT &&value)
PutCompositeAlarmRequest & WithActionsEnabled(bool value)
PutCompositeAlarmRequest & WithAlarmDescription(AlarmDescriptionT &&value)
PutCompositeAlarmRequest & AddAlarmActions(AlarmActionsT &&value)
AWS_CLOUDWATCH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector