/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Retrieves an archive rule.See Also:
AWS
* API Reference
The name of the analyzer to retrieve rules from.
*/ inline const Aws::String& GetAnalyzerName() const{ return m_analyzerName; } /** *The name of the analyzer to retrieve rules from.
*/ inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; } /** *The name of the analyzer to retrieve rules from.
*/ inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; } /** *The name of the analyzer to retrieve rules from.
*/ inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); } /** *The name of the analyzer to retrieve rules from.
*/ inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); } /** *The name of the analyzer to retrieve rules from.
*/ inline GetArchiveRuleRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;} /** *The name of the analyzer to retrieve rules from.
*/ inline GetArchiveRuleRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;} /** *The name of the analyzer to retrieve rules from.
*/ inline GetArchiveRuleRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;} /** *The name of the rule to retrieve.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the rule to retrieve.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the rule to retrieve.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the rule to retrieve.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the rule to retrieve.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the rule to retrieve.
*/ inline GetArchiveRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the rule to retrieve.
*/ inline GetArchiveRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the rule to retrieve.
*/ inline GetArchiveRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;} private: Aws::String m_analyzerName; bool m_analyzerNameHasBeenSet = false; Aws::String m_ruleName; bool m_ruleNameHasBeenSet = false; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws