7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
47 template<
typename RuleArnT = Aws::String>
48 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
49 template<
typename RuleArnT = Aws::String>
59 template<
typename RuleNameT = Aws::String>
60 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
61 template<
typename RuleNameT = Aws::String>
71 template<
typename TopicPatternT = Aws::String>
72 void SetTopicPattern(TopicPatternT&& value) { m_topicPatternHasBeenSet =
true; m_topicPattern = std::forward<TopicPatternT>(value); }
73 template<
typename TopicPatternT = Aws::String>
83 template<
typename CreatedAtT = Aws::Utils::DateTime>
84 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
85 template<
typename CreatedAtT = Aws::Utils::DateTime>
95 inline void SetRuleDisabled(
bool value) { m_ruleDisabledHasBeenSet =
true; m_ruleDisabled = value; }
101 bool m_ruleArnHasBeenSet =
false;
104 bool m_ruleNameHasBeenSet =
false;
107 bool m_topicPatternHasBeenSet =
false;
110 bool m_createdAtHasBeenSet =
false;
112 bool m_ruleDisabled{
false};
113 bool m_ruleDisabledHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
bool RuleArnHasBeenSet() const
TopicRuleListItem & WithRuleName(RuleNameT &&value)
TopicRuleListItem & WithRuleDisabled(bool value)
AWS_IOT_API TopicRuleListItem(Aws::Utils::Json::JsonView jsonValue)
bool GetRuleDisabled() const
TopicRuleListItem & WithRuleArn(RuleArnT &&value)
void SetRuleDisabled(bool value)
AWS_IOT_API TopicRuleListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTopicPattern() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleName() const
void SetTopicPattern(TopicPatternT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetRuleArn() const
TopicRuleListItem & WithTopicPattern(TopicPatternT &&value)
AWS_IOT_API TopicRuleListItem()=default
void SetRuleName(RuleNameT &&value)
void SetRuleArn(RuleArnT &&value)
bool RuleDisabledHasBeenSet() const
bool TopicPatternHasBeenSet() const
TopicRuleListItem & WithCreatedAt(CreatedAtT &&value)
bool RuleNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue