7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/monitoring/model/StateValue.h>
48 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
74 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
91 inline void SetStateReasonData(
const char* value) { m_stateReasonDataHasBeenSet =
true; m_stateReasonData.assign(value); }
99 bool m_alarmNameHasBeenSet =
false;
102 bool m_stateValueHasBeenSet =
false;
105 bool m_stateReasonHasBeenSet =
false;
108 bool m_stateReasonDataHasBeenSet =
false;
bool StateValueHasBeenSet() const
const StateValue & GetStateValue() const
void SetStateReason(Aws::String &&value)
AWS_CLOUDWATCH_API SetAlarmStateRequest()
SetAlarmStateRequest & WithStateValue(StateValue &&value)
void SetStateReason(const Aws::String &value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetStateReasonData(const char *value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
SetAlarmStateRequest & WithStateReason(const char *value)
void SetAlarmName(const char *value)
void SetStateValue(StateValue &&value)
void SetStateReasonData(Aws::String &&value)
const Aws::String & GetStateReasonData() const
SetAlarmStateRequest & WithStateReasonData(const Aws::String &value)
bool StateReasonDataHasBeenSet() const
virtual const char * GetServiceRequestName() const override
SetAlarmStateRequest & WithAlarmName(Aws::String &&value)
void SetAlarmName(const Aws::String &value)
SetAlarmStateRequest & WithStateValue(const StateValue &value)
SetAlarmStateRequest & WithAlarmName(const char *value)
SetAlarmStateRequest & WithStateReasonData(Aws::String &&value)
const Aws::String & GetAlarmName() const
SetAlarmStateRequest & WithStateReasonData(const char *value)
void SetAlarmName(Aws::String &&value)
void SetStateValue(const StateValue &value)
bool AlarmNameHasBeenSet() const
SetAlarmStateRequest & WithAlarmName(const Aws::String &value)
const Aws::String & GetStateReason() const
void SetStateReasonData(const Aws::String &value)
SetAlarmStateRequest & WithStateReason(const Aws::String &value)
bool StateReasonHasBeenSet() const
SetAlarmStateRequest & WithStateReason(Aws::String &&value)
void SetStateReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String