AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeActiveReceiptRuleSetResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/model/ReceiptRuleSetMetadata.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/email/model/ResponseMetadata.h>
11#include <aws/email/model/ReceiptRule.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace SES
27{
28namespace Model
29{
37 {
38 public:
42
43
45
49 inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
50 inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
51 inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = std::move(value); }
53 inline DescribeActiveReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
61 inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
62 inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = std::move(value); }
64 inline DescribeActiveReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(std::move(value)); return *this;}
65 inline DescribeActiveReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
66 inline DescribeActiveReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(std::move(value)); return *this; }
68
70
71 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
72 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
73 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 private:
78
79 ReceiptRuleSetMetadata m_metadata;
80
82
83 ResponseMetadata m_responseMetadata;
84 };
85
86} // namespace Model
87} // namespace SES
88} // namespace Aws
AWS_SES_API DescribeActiveReceiptRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeActiveReceiptRuleSetResult & AddRules(const ReceiptRule &value)
DescribeActiveReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)
AWS_SES_API DescribeActiveReceiptRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeActiveReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
DescribeActiveReceiptRuleSetResult & AddRules(ReceiptRule &&value)
DescribeActiveReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeActiveReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument