/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to update 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 UpdateReceiptRuleRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;} /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline UpdateReceiptRuleRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;} /** *The name of the receipt rule set that the receipt rule belongs to.
*/ inline UpdateReceiptRuleRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;} /** *A data structure that contains the updated receipt rule information.
*/ inline const ReceiptRule& GetRule() const{ return m_rule; } /** *A data structure that contains the updated receipt rule information.
*/ inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; } /** *A data structure that contains the updated receipt rule information.
*/ inline void SetRule(const ReceiptRule& value) { m_ruleHasBeenSet = true; m_rule = value; } /** *A data structure that contains the updated receipt rule information.
*/ inline void SetRule(ReceiptRule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); } /** *A data structure that contains the updated receipt rule information.
*/ inline UpdateReceiptRuleRequest& WithRule(const ReceiptRule& value) { SetRule(value); return *this;} /** *A data structure that contains the updated receipt rule information.
*/ inline UpdateReceiptRuleRequest& WithRule(ReceiptRule&& value) { SetRule(std::move(value)); return *this;} private: Aws::String m_ruleSetName; bool m_ruleSetNameHasBeenSet = false; ReceiptRule m_rule; bool m_ruleHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws