7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/model/Action.h>
51 inline void SetSql(
Aws::String&& value) { m_sqlHasBeenSet =
true; m_sql = std::move(value); }
52 inline void SetSql(
const char* value) { m_sqlHasBeenSet =
true; m_sql.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
92 inline void SetRuleDisabled(
bool value) { m_ruleDisabledHasBeenSet =
true; m_ruleDisabled = value; }
104 inline void SetAwsIotSqlVersion(
const char* value) { m_awsIotSqlVersionHasBeenSet =
true; m_awsIotSqlVersion.assign(value); }
117 inline void SetErrorAction(
Action&& value) { m_errorActionHasBeenSet =
true; m_errorAction = std::move(value); }
124 bool m_sqlHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
130 bool m_actionsHasBeenSet =
false;
133 bool m_ruleDisabledHasBeenSet =
false;
136 bool m_awsIotSqlVersionHasBeenSet =
false;
139 bool m_errorActionHasBeenSet =
false;
void SetAwsIotSqlVersion(const Aws::String &value)
void SetDescription(const char *value)
void SetAwsIotSqlVersion(Aws::String &&value)
bool GetRuleDisabled() const
const Aws::String & GetSql() const
TopicRulePayload & WithAwsIotSqlVersion(const char *value)
void SetActions(Aws::Vector< Action > &&value)
TopicRulePayload & WithErrorAction(Action &&value)
TopicRulePayload & WithRuleDisabled(bool value)
void SetSql(const Aws::String &value)
TopicRulePayload & WithAwsIotSqlVersion(Aws::String &&value)
TopicRulePayload & WithAwsIotSqlVersion(const Aws::String &value)
bool RuleDisabledHasBeenSet() const
void SetSql(const char *value)
void SetActions(const Aws::Vector< Action > &value)
bool AwsIotSqlVersionHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetErrorAction(const Action &value)
const Aws::Vector< Action > & GetActions() const
void SetErrorAction(Action &&value)
bool ErrorActionHasBeenSet() const
bool SqlHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicRulePayload & AddActions(const Action &value)
void SetSql(Aws::String &&value)
void SetAwsIotSqlVersion(const char *value)
void SetDescription(Aws::String &&value)
TopicRulePayload & WithDescription(Aws::String &&value)
TopicRulePayload & WithErrorAction(const Action &value)
TopicRulePayload & AddActions(Action &&value)
TopicRulePayload & WithSql(Aws::String &&value)
void SetRuleDisabled(bool value)
TopicRulePayload & WithSql(const Aws::String &value)
const Action & GetErrorAction() const
TopicRulePayload & WithDescription(const char *value)
TopicRulePayload & WithDescription(const Aws::String &value)
const Aws::String & GetAwsIotSqlVersion() const
AWS_IOT_API TopicRulePayload(Aws::Utils::Json::JsonView jsonValue)
TopicRulePayload & WithActions(const Aws::Vector< Action > &value)
TopicRulePayload & WithActions(Aws::Vector< Action > &&value)
bool ActionsHasBeenSet() const
TopicRulePayload & WithSql(const char *value)
AWS_IOT_API TopicRulePayload()
const Aws::String & GetDescription() const
AWS_IOT_API TopicRulePayload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue