/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the details of a receipt rule.See Also:
AWS
* API Reference
A data structure that contains the specified receipt rule's name, actions, * recipients, domains, enabled status, scan status, and Transport Layer Security * (TLS) policy.
*/ inline const ReceiptRule& GetRule() const{ return m_rule; } /** *A data structure that contains the specified receipt rule's name, actions, * recipients, domains, enabled status, scan status, and Transport Layer Security * (TLS) policy.
*/ inline void SetRule(const ReceiptRule& value) { m_rule = value; } /** *A data structure that contains the specified receipt rule's name, actions, * recipients, domains, enabled status, scan status, and Transport Layer Security * (TLS) policy.
*/ inline void SetRule(ReceiptRule&& value) { m_rule = std::move(value); } /** *A data structure that contains the specified receipt rule's name, actions, * recipients, domains, enabled status, scan status, and Transport Layer Security * (TLS) policy.
*/ inline DescribeReceiptRuleResult& WithRule(const ReceiptRule& value) { SetRule(value); return *this;} /** *A data structure that contains the specified receipt rule's name, actions, * recipients, domains, enabled status, scan status, and Transport Layer Security * (TLS) policy.
*/ inline DescribeReceiptRuleResult& WithRule(ReceiptRule&& value) { SetRule(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeReceiptRuleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeReceiptRuleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: ReceiptRule m_rule; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws