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>
53 inline void SetActionsEnabled(
bool value) { m_actionsEnabledHasBeenSet =
true; m_actionsEnabled = value; }
81 inline void SetAlarmArn(
const char* value) { m_alarmArnHasBeenSet =
true; m_alarmArn.assign(value); }
107 inline void SetAlarmDescription(
const char* value) { m_alarmDescriptionHasBeenSet =
true; m_alarmDescription.assign(value); }
121 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
135 inline void SetAlarmRule(
const char* value) { m_alarmRuleHasBeenSet =
true; m_alarmRule.assign(value); }
182 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
196 inline void SetStateReasonData(
const char* value) { m_stateReasonDataHasBeenSet =
true; m_stateReasonData.assign(value); }
270 inline void SetActionsSuppressedReason(
const char* value) { m_actionsSuppressedReasonHasBeenSet =
true; m_actionsSuppressedReason.assign(value); }
286 inline void SetActionsSuppressor(
const char* value) { m_actionsSuppressorHasBeenSet =
true; m_actionsSuppressor.assign(value); }
321 bool m_actionsEnabled;
322 bool m_actionsEnabledHasBeenSet =
false;
325 bool m_alarmActionsHasBeenSet =
false;
328 bool m_alarmArnHasBeenSet =
false;
331 bool m_alarmConfigurationUpdatedTimestampHasBeenSet =
false;
334 bool m_alarmDescriptionHasBeenSet =
false;
337 bool m_alarmNameHasBeenSet =
false;
340 bool m_alarmRuleHasBeenSet =
false;
343 bool m_insufficientDataActionsHasBeenSet =
false;
346 bool m_oKActionsHasBeenSet =
false;
349 bool m_stateReasonHasBeenSet =
false;
352 bool m_stateReasonDataHasBeenSet =
false;
355 bool m_stateUpdatedTimestampHasBeenSet =
false;
358 bool m_stateValueHasBeenSet =
false;
361 bool m_stateTransitionedTimestampHasBeenSet =
false;
364 bool m_actionsSuppressedByHasBeenSet =
false;
367 bool m_actionsSuppressedReasonHasBeenSet =
false;
370 bool m_actionsSuppressorHasBeenSet =
false;
372 int m_actionsSuppressorWaitPeriod;
373 bool m_actionsSuppressorWaitPeriodHasBeenSet =
false;
375 int m_actionsSuppressorExtensionPeriod;
376 bool m_actionsSuppressorExtensionPeriodHasBeenSet =
false;
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
bool StateValueHasBeenSet() const
bool ActionsEnabledHasBeenSet() const
const Aws::Utils::DateTime & GetStateUpdatedTimestamp() const
CompositeAlarm & WithStateUpdatedTimestamp(Aws::Utils::DateTime &&value)
bool InsufficientDataActionsHasBeenSet() const
CompositeAlarm & WithActionsSuppressorExtensionPeriod(int value)
void SetAlarmDescription(const Aws::String &value)
bool AlarmRuleHasBeenSet() const
void SetStateReason(const Aws::String &value)
void SetAlarmName(Aws::String &&value)
CompositeAlarm & WithInsufficientDataActions(Aws::Vector< Aws::String > &&value)
bool ActionsSuppressorWaitPeriodHasBeenSet() const
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)
AWS_CLOUDWATCH_API CompositeAlarm()
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)
int GetActionsSuppressorWaitPeriod() const
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)
bool GetActionsEnabled() const
bool StateUpdatedTimestampHasBeenSet() const
CompositeAlarm & AddOKActions(const char *value)
void SetActionsEnabled(bool 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)
bool ActionsSuppressorHasBeenSet() const
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)
int GetActionsSuppressorExtensionPeriod() const
void SetInsufficientDataActions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAlarmName() const
bool StateReasonHasBeenSet() 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)
bool ActionsSuppressedReasonHasBeenSet() const
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)
void SetAlarmName(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 SetStateReason(const char *value)
void SetStateValue(const StateValue &value)
void SetActionsSuppressor(Aws::String &&value)
CompositeAlarm & WithAlarmRule(Aws::String &&value)
const Aws::Vector< Aws::String > & GetOKActions() const
bool AlarmConfigurationUpdatedTimestampHasBeenSet() 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)
bool OKActionsHasBeenSet() const
CompositeAlarm & WithStateReasonData(const Aws::String &value)
CompositeAlarm & WithAlarmArn(Aws::String &&value)
CompositeAlarm & WithActionsSuppressedReason(Aws::String &&value)
const Aws::String & GetStateReason() const
bool AlarmDescriptionHasBeenSet() 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)
bool AlarmNameHasBeenSet() const
void SetAlarmArn(const char *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)
bool ActionsSuppressorExtensionPeriodHasBeenSet() const
void SetActionsSuppressorWaitPeriod(int value)
bool AlarmArnHasBeenSet() const
bool ActionsSuppressedByHasBeenSet() const
void SetActionsSuppressorExtensionPeriod(int value)
CompositeAlarm & AddInsufficientDataActions(Aws::String &&value)
void SetAlarmRule(const char *value)
void SetStateReasonData(const char *value)
CompositeAlarm & WithAlarmArn(const Aws::String &value)
void SetActionsSuppressedBy(const ActionsSuppressedBy &value)
bool StateReasonDataHasBeenSet() const
bool AlarmActionsHasBeenSet() const
CompositeAlarm & WithOKActions(Aws::Vector< Aws::String > &&value)
void SetAlarmConfigurationUpdatedTimestamp(Aws::Utils::DateTime &&value)
CompositeAlarm & AddAlarmActions(Aws::String &&value)
CompositeAlarm & WithStateReason(Aws::String &&value)
bool StateTransitionedTimestampHasBeenSet() const
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