/** * 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 metadata and receipt rules for the receipt rule set that is * currently active.

See Also:

AWS * API Reference

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

The metadata for the currently active receipt rule set. The metadata consists * of the rule set name and a timestamp of when the rule set was created.

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

The metadata for the currently active receipt rule set. The metadata consists * of the rule set name and a timestamp of when the rule set was created.

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

The metadata for the currently active receipt rule set. The metadata consists * of the rule set name and a timestamp of when the rule set was created.

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

The metadata for the currently active receipt rule set. The metadata consists * of the rule set name and a timestamp of when the rule set was created.

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

The metadata for the currently active receipt rule set. The metadata consists * of the rule set name and a timestamp of when the rule set was created.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

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

The receipt rules that belong to the active rule set.

*/ inline DescribeActiveReceiptRuleSetResult& 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 DescribeActiveReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeActiveReceiptRuleSetResult& 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