/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents the details of the specified receipt rule set.

See * Also:

AWS * API Reference

*/ class DescribeReceiptRuleSetResult { public: AWS_SES_API DescribeReceiptRuleSetResult(); AWS_SES_API DescribeReceiptRuleSetResult(const Aws::AmazonWebServiceResult& result); AWS_SES_API DescribeReceiptRuleSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The metadata for the receipt rule set, which consists of the rule set name * and the timestamp of when the rule set was created.

*/ inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; } /** *

The metadata for the receipt rule set, which consists of the rule set name * and the timestamp of when the rule set was created.

*/ inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; } /** *

The metadata for the receipt rule set, which consists of the rule set name * and the timestamp of when the rule set was created.

*/ inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = std::move(value); } /** *

The metadata for the receipt rule set, which consists of the rule set name * and the timestamp of when the rule set was created.

*/ inline DescribeReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;} /** *

The metadata for the receipt rule set, which consists of the rule set name * and the timestamp of when the rule set was created.

*/ inline DescribeReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline const Aws::Vector& GetRules() const{ return m_rules; } /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline void SetRules(const Aws::Vector& value) { m_rules = value; } /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline void SetRules(Aws::Vector&& value) { m_rules = std::move(value); } /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline DescribeReceiptRuleSetResult& WithRules(const Aws::Vector& value) { SetRules(value); return *this;} /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline DescribeReceiptRuleSetResult& WithRules(Aws::Vector&& value) { SetRules(std::move(value)); return *this;} /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline DescribeReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; } /** *

A list of the receipt rules that belong to the specified receipt rule * set.

*/ inline DescribeReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(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 DescribeReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: ReceiptRuleSetMetadata m_metadata; Aws::Vector m_rules; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws