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; }
88 inline void SetAlarmDescription(
const char* value) { m_alarmDescriptionHasBeenSet =
true; m_alarmDescription.assign(value); }
103 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
152 inline void SetAlarmRule(
const char* value) { m_alarmRuleHasBeenSet =
true; m_alarmRule.assign(value); }
245 inline void SetActionsSuppressor(
const char* value) { m_actionsSuppressorHasBeenSet =
true; m_actionsSuppressor.assign(value); }
280 bool m_actionsEnabled;
281 bool m_actionsEnabledHasBeenSet =
false;
284 bool m_alarmActionsHasBeenSet =
false;
287 bool m_alarmDescriptionHasBeenSet =
false;
290 bool m_alarmNameHasBeenSet =
false;
293 bool m_alarmRuleHasBeenSet =
false;
296 bool m_insufficientDataActionsHasBeenSet =
false;
299 bool m_oKActionsHasBeenSet =
false;
302 bool m_tagsHasBeenSet =
false;
305 bool m_actionsSuppressorHasBeenSet =
false;
307 int m_actionsSuppressorWaitPeriod;
308 bool m_actionsSuppressorWaitPeriodHasBeenSet =
false;
310 int m_actionsSuppressorExtensionPeriod;
311 bool m_actionsSuppressorExtensionPeriodHasBeenSet =
false;
PutCompositeAlarmRequest & WithAlarmName(Aws::String &&value)
PutCompositeAlarmRequest & WithAlarmRule(const char *value)
PutCompositeAlarmRequest & WithActionsSuppressor(const Aws::String &value)
void SetAlarmName(Aws::String &&value)
PutCompositeAlarmRequest & AddInsufficientDataActions(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetAlarmRule(Aws::String &&value)
PutCompositeAlarmRequest & WithAlarmName(const char *value)
bool AlarmDescriptionHasBeenSet() const
PutCompositeAlarmRequest & WithAlarmDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
PutCompositeAlarmRequest & WithOKActions(Aws::Vector< Aws::String > &&value)
void SetOKActions(const Aws::Vector< Aws::String > &value)
bool GetActionsEnabled() const
const Aws::Vector< Aws::String > & GetAlarmActions() const
PutCompositeAlarmRequest & WithOKActions(const Aws::Vector< Aws::String > &value)
const Aws::String & GetActionsSuppressor() const
void SetAlarmDescription(const Aws::String &value)
void SetInsufficientDataActions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAlarmName() const
PutCompositeAlarmRequest & WithActionsSuppressorWaitPeriod(int value)
void SetAlarmRule(const char *value)
bool ActionsSuppressorExtensionPeriodHasBeenSet() const
void SetInsufficientDataActions(const Aws::Vector< Aws::String > &value)
PutCompositeAlarmRequest & WithAlarmRule(const Aws::String &value)
PutCompositeAlarmRequest & WithActionsSuppressorExtensionPeriod(int value)
void SetActionsSuppressorExtensionPeriod(int value)
PutCompositeAlarmRequest & WithInsufficientDataActions(const Aws::Vector< Aws::String > &value)
void SetActionsEnabled(bool value)
PutCompositeAlarmRequest & WithTags(Aws::Vector< Tag > &&value)
PutCompositeAlarmRequest & WithAlarmActions(Aws::Vector< Aws::String > &&value)
PutCompositeAlarmRequest & WithInsufficientDataActions(Aws::Vector< Aws::String > &&value)
PutCompositeAlarmRequest & AddTags(const Tag &value)
PutCompositeAlarmRequest & WithAlarmDescription(const char *value)
bool InsufficientDataActionsHasBeenSet() const
void SetAlarmActions(Aws::Vector< Aws::String > &&value)
void SetTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
PutCompositeAlarmRequest & WithAlarmName(const Aws::String &value)
void SetActionsSuppressorWaitPeriod(int value)
void SetActionsSuppressor(const char *value)
int GetActionsSuppressorExtensionPeriod() const
bool AlarmRuleHasBeenSet() const
PutCompositeAlarmRequest & WithActionsSuppressor(const char *value)
void SetAlarmRule(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
PutCompositeAlarmRequest & AddAlarmActions(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool OKActionsHasBeenSet() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
int GetActionsSuppressorWaitPeriod() const
PutCompositeAlarmRequest & AddInsufficientDataActions(const char *value)
bool ActionsSuppressorHasBeenSet() const
bool AlarmNameHasBeenSet() const
PutCompositeAlarmRequest & AddOKActions(Aws::String &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PutCompositeAlarmRequest & AddAlarmActions(const Aws::String &value)
AWS_CLOUDWATCH_API PutCompositeAlarmRequest()
void SetActionsSuppressor(const Aws::String &value)
void SetAlarmName(const char *value)
const Aws::String & GetAlarmDescription() const
PutCompositeAlarmRequest & AddTags(Tag &&value)
PutCompositeAlarmRequest & AddInsufficientDataActions(const Aws::String &value)
void SetAlarmDescription(Aws::String &&value)
void SetAlarmName(const Aws::String &value)
PutCompositeAlarmRequest & AddOKActions(const Aws::String &value)
PutCompositeAlarmRequest & WithAlarmActions(const Aws::Vector< Aws::String > &value)
bool ActionsEnabledHasBeenSet() const
void SetOKActions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAlarmRule() const
void SetAlarmActions(const Aws::Vector< Aws::String > &value)
void SetAlarmDescription(const char *value)
PutCompositeAlarmRequest & AddOKActions(const char *value)
PutCompositeAlarmRequest & WithActionsSuppressor(Aws::String &&value)
bool AlarmActionsHasBeenSet() const
PutCompositeAlarmRequest & WithTags(const Aws::Vector< Tag > &value)
bool ActionsSuppressorWaitPeriodHasBeenSet() const
const Aws::Vector< Aws::String > & GetOKActions() const
PutCompositeAlarmRequest & WithAlarmRule(Aws::String &&value)
PutCompositeAlarmRequest & WithAlarmDescription(const Aws::String &value)
PutCompositeAlarmRequest & WithActionsEnabled(bool value)
PutCompositeAlarmRequest & AddAlarmActions(const char *value)
void SetActionsSuppressor(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector