/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to return the details of a receipt rule. You use receipt
* rules to receive email with Amazon SES. For more information, see the Amazon
* SES Developer Guide.See Also:
AWS
* API Reference
The name of the receipt rule set that the receipt rule belongs to.
*/ inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; } /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; } /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; } /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); } /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); } /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline DescribeReceiptRuleRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;} /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline DescribeReceiptRuleRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;} /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline DescribeReceiptRuleRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;} /** *The name of the receipt rule.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the receipt rule.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the receipt rule.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the receipt rule.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the receipt rule.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the receipt rule.
*/ inline DescribeReceiptRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the receipt rule.
*/ inline DescribeReceiptRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the receipt rule.
*/ inline DescribeReceiptRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;} private: Aws::String m_ruleSetName; bool m_ruleSetNameHasBeenSet = false; Aws::String m_ruleName; bool m_ruleNameHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws