/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the details of the specified receipt rule set.See
* Also:
AWS
* API Reference
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::VectorA list of the receipt rules that belong to the specified receipt rule * set.
*/ inline void SetRules(const Aws::VectorA list of the receipt rules that belong to the specified receipt rule * set.
*/ inline void SetRules(Aws::VectorA list of the receipt rules that belong to the specified receipt rule * set.
*/ inline DescribeReceiptRuleSetResult& WithRules(const Aws::VectorA list of the receipt rules that belong to the specified receipt rule * set.
*/ inline DescribeReceiptRuleSetResult& WithRules(Aws::VectorA 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