7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/Action.h>
51 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
65 inline void SetSql(
Aws::String&& value) { m_sqlHasBeenSet =
true; m_sql = std::move(value); }
66 inline void SetSql(
const char* value) { m_sqlHasBeenSet =
true; m_sql.assign(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
118 inline void SetRuleDisabled(
bool value) { m_ruleDisabledHasBeenSet =
true; m_ruleDisabled = value; }
130 inline void SetAwsIotSqlVersion(
const char* value) { m_awsIotSqlVersionHasBeenSet =
true; m_awsIotSqlVersion.assign(value); }
143 inline void SetErrorAction(
Action&& value) { m_errorActionHasBeenSet =
true; m_errorAction = std::move(value); }
150 bool m_ruleNameHasBeenSet =
false;
153 bool m_sqlHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
159 bool m_createdAtHasBeenSet =
false;
162 bool m_actionsHasBeenSet =
false;
165 bool m_ruleDisabledHasBeenSet =
false;
168 bool m_awsIotSqlVersionHasBeenSet =
false;
171 bool m_errorActionHasBeenSet =
false;
bool DescriptionHasBeenSet() const
bool CreatedAtHasBeenSet() const
TopicRule & WithRuleName(const char *value)
TopicRule & WithCreatedAt(Aws::Utils::DateTime &&value)
bool ActionsHasBeenSet() const
void SetRuleName(const Aws::String &value)
TopicRule & WithDescription(const char *value)
void SetAwsIotSqlVersion(const char *value)
TopicRule & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetErrorAction(Action &&value)
bool GetRuleDisabled() const
void SetRuleName(Aws::String &&value)
void SetDescription(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(const Aws::Vector< Action > &value)
void SetDescription(const Aws::String &value)
TopicRule & AddActions(const Action &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_IOT_API TopicRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorAction(const Action &value)
TopicRule & WithErrorAction(const Action &value)
TopicRule & WithCreatedAt(const Aws::Utils::DateTime &value)
TopicRule & WithSql(Aws::String &&value)
void SetAwsIotSqlVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
TopicRule & AddActions(Action &&value)
TopicRule & WithActions(Aws::Vector< Action > &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Action > & GetActions() const
TopicRule & WithRuleName(const Aws::String &value)
bool RuleDisabledHasBeenSet() const
const Action & GetErrorAction() const
bool AwsIotSqlVersionHasBeenSet() const
TopicRule & WithRuleName(Aws::String &&value)
void SetAwsIotSqlVersion(const Aws::String &value)
TopicRule & WithActions(const Aws::Vector< Action > &value)
TopicRule & WithRuleDisabled(bool value)
void SetSql(const Aws::String &value)
TopicRule & WithAwsIotSqlVersion(const Aws::String &value)
void SetRuleDisabled(bool value)
const Aws::String & GetSql() const
void SetSql(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool SqlHasBeenSet() const
const Aws::String & GetRuleName() const
TopicRule & WithSql(const Aws::String &value)
bool ErrorActionHasBeenSet() const
const Aws::String & GetAwsIotSqlVersion() const
AWS_IOT_API TopicRule(Aws::Utils::Json::JsonView jsonValue)
TopicRule & WithErrorAction(Action &&value)
bool RuleNameHasBeenSet() const
void SetSql(const char *value)
TopicRule & WithAwsIotSqlVersion(Aws::String &&value)
TopicRule & WithDescription(const Aws::String &value)
void SetActions(Aws::Vector< Action > &&value)
TopicRule & WithAwsIotSqlVersion(const char *value)
void SetRuleName(const char *value)
TopicRule & WithSql(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue