7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
63 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
77 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
92 inline void SetStateValue(
const char* value) { m_stateValueHasBeenSet =
true; m_stateValue.assign(value); }
100 bool m_roleArnHasBeenSet =
false;
103 bool m_alarmNameHasBeenSet =
false;
106 bool m_stateReasonHasBeenSet =
false;
109 bool m_stateValueHasBeenSet =
false;
void SetStateValue(Aws::String &&value)
CloudwatchAlarmAction & WithStateReason(const Aws::String &value)
CloudwatchAlarmAction & WithAlarmName(const char *value)
CloudwatchAlarmAction & WithRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
CloudwatchAlarmAction & WithStateReason(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStateValue() const
void SetRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
void SetStateValue(const Aws::String &value)
void SetStateValue(const char *value)
bool StateReasonHasBeenSet() const
void SetStateReason(const char *value)
bool AlarmNameHasBeenSet() const
CloudwatchAlarmAction & WithStateReason(Aws::String &&value)
CloudwatchAlarmAction & WithRoleArn(const Aws::String &value)
void SetStateReason(const Aws::String &value)
const Aws::String & GetStateReason() const
CloudwatchAlarmAction & WithAlarmName(const Aws::String &value)
CloudwatchAlarmAction & WithStateValue(Aws::String &&value)
void SetStateReason(Aws::String &&value)
void SetAlarmName(const Aws::String &value)
bool StateValueHasBeenSet() const
CloudwatchAlarmAction & WithRoleArn(const char *value)
void SetRoleArn(const Aws::String &value)
AWS_IOT_API CloudwatchAlarmAction()
const Aws::String & GetAlarmName() const
bool RoleArnHasBeenSet() const
AWS_IOT_API CloudwatchAlarmAction(Aws::Utils::Json::JsonView jsonValue)
CloudwatchAlarmAction & WithStateValue(const char *value)
AWS_IOT_API CloudwatchAlarmAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudwatchAlarmAction & WithStateValue(const Aws::String &value)
CloudwatchAlarmAction & WithAlarmName(Aws::String &&value)
void SetAlarmName(Aws::String &&value)
void SetAlarmName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue