/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the ListTopicRules operation.See Also:
AWS
* API Reference
The topic.
*/ inline const Aws::String& GetTopic() const{ return m_topic; } /** *The topic.
*/ inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; } /** *The topic.
*/ inline void SetTopic(const Aws::String& value) { m_topicHasBeenSet = true; m_topic = value; } /** *The topic.
*/ inline void SetTopic(Aws::String&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); } /** *The topic.
*/ inline void SetTopic(const char* value) { m_topicHasBeenSet = true; m_topic.assign(value); } /** *The topic.
*/ inline ListTopicRulesRequest& WithTopic(const Aws::String& value) { SetTopic(value); return *this;} /** *The topic.
*/ inline ListTopicRulesRequest& WithTopic(Aws::String&& value) { SetTopic(std::move(value)); return *this;} /** *The topic.
*/ inline ListTopicRulesRequest& WithTopic(const char* value) { SetTopic(value); return *this;} /** *The maximum number of results to return.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to return.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to return.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to return.
*/ inline ListTopicRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
Specifies whether the rule is disabled.
*/ inline bool GetRuleDisabled() const{ return m_ruleDisabled; } /** *Specifies whether the rule is disabled.
*/ inline bool RuleDisabledHasBeenSet() const { return m_ruleDisabledHasBeenSet; } /** *Specifies whether the rule is disabled.
*/ inline void SetRuleDisabled(bool value) { m_ruleDisabledHasBeenSet = true; m_ruleDisabled = value; } /** *Specifies whether the rule is disabled.
*/ inline ListTopicRulesRequest& WithRuleDisabled(bool value) { SetRuleDisabled(value); return *this;} private: Aws::String m_topic; bool m_topicHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; bool m_ruleDisabled; bool m_ruleDisabledHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws