7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/monitoring/model/Tag.h>
48 inline void SetActionsEnabled(
bool value) { m_actionsEnabledHasBeenSet =
true; m_actionsEnabled = value; }
74 template<
typename AlarmActionsT = Aws::Vector<Aws::String>>
75 void SetAlarmActions(AlarmActionsT&& value) { m_alarmActionsHasBeenSet =
true; m_alarmActions = std::forward<AlarmActionsT>(value); }
76 template<
typename AlarmActionsT = Aws::Vector<Aws::String>>
78 template<
typename AlarmActionsT = Aws::String>
88 template<
typename AlarmDescriptionT = Aws::String>
89 void SetAlarmDescription(AlarmDescriptionT&& value) { m_alarmDescriptionHasBeenSet =
true; m_alarmDescription = std::forward<AlarmDescriptionT>(value); }
90 template<
typename AlarmDescriptionT = Aws::String>
101 template<
typename AlarmNameT = Aws::String>
102 void SetAlarmName(AlarmNameT&& value) { m_alarmNameHasBeenSet =
true; m_alarmName = std::forward<AlarmNameT>(value); }
103 template<
typename AlarmNameT = Aws::String>
148 template<
typename AlarmRuleT = Aws::String>
149 void SetAlarmRule(AlarmRuleT&& value) { m_alarmRuleHasBeenSet =
true; m_alarmRule = std::forward<AlarmRuleT>(value); }
150 template<
typename AlarmRuleT = Aws::String>
172 template<
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
173 void SetInsufficientDataActions(InsufficientDataActionsT&& value) { m_insufficientDataActionsHasBeenSet =
true; m_insufficientDataActions = std::forward<InsufficientDataActionsT>(value); }
174 template<
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
176 template<
typename InsufficientDataActionsT = Aws::String>
197 template<
typename OKActionsT = Aws::Vector<Aws::String>>
198 void SetOKActions(OKActionsT&& value) { m_oKActionsHasBeenSet =
true; m_oKActions = std::forward<OKActionsT>(value); }
199 template<
typename OKActionsT = Aws::Vector<Aws::String>>
201 template<
typename OKActionsT = Aws::String>
221 template<
typename TagsT = Aws::Vector<Tag>>
222 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
223 template<
typename TagsT = Aws::Vector<Tag>>
225 template<
typename TagsT = Tag>
237 template<
typename ActionsSuppressorT = Aws::String>
238 void SetActionsSuppressor(ActionsSuppressorT&& value) { m_actionsSuppressorHasBeenSet =
true; m_actionsSuppressor = std::forward<ActionsSuppressorT>(value); }
239 template<
typename ActionsSuppressorT = Aws::String>
272 bool m_actionsEnabled{
false};
273 bool m_actionsEnabledHasBeenSet =
false;
276 bool m_alarmActionsHasBeenSet =
false;
279 bool m_alarmDescriptionHasBeenSet =
false;
282 bool m_alarmNameHasBeenSet =
false;
285 bool m_alarmRuleHasBeenSet =
false;
288 bool m_insufficientDataActionsHasBeenSet =
false;
291 bool m_oKActionsHasBeenSet =
false;
294 bool m_tagsHasBeenSet =
false;
297 bool m_actionsSuppressorHasBeenSet =
false;
299 int m_actionsSuppressorWaitPeriod{0};
300 bool m_actionsSuppressorWaitPeriodHasBeenSet =
false;
302 int m_actionsSuppressorExtensionPeriod{0};
303 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)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector