AWS SDK for C++  1.8.182
AWS SDK for C++
DescribeActiveReceiptRuleSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace SES
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
48  inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
49 
54  inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
55 
60  inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = std::move(value); }
61 
66  inline DescribeActiveReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
67 
72  inline DescribeActiveReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(std::move(value)); return *this;}
73 
74 
78  inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
79 
83  inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
84 
88  inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = std::move(value); }
89 
93  inline DescribeActiveReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
94 
98  inline DescribeActiveReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(std::move(value)); return *this;}
99 
103  inline DescribeActiveReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
104 
108  inline DescribeActiveReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(std::move(value)); return *this; }
109 
110 
111 
112  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
113 
114 
115  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
116 
117 
118  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
119 
120 
121  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
122 
123 
124  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
125 
126  private:
127 
128  ReceiptRuleSetMetadata m_metadata;
129 
130  Aws::Vector<ReceiptRule> m_rules;
131 
132  ResponseMetadata m_responseMetadata;
133  };
134 
135 } // namespace Model
136 } // namespace SES
137 } // namespace Aws
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::operator=
DescribeActiveReceiptRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::DescribeActiveReceiptRuleSetResult
DescribeActiveReceiptRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithResponseMetadata
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:124
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::AddRules
DescribeActiveReceiptRuleSetResult & AddRules(const ReceiptRule &value)
Definition: DescribeActiveReceiptRuleSetResult.h:103
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
ReceiptRuleSetMetadata.h
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::DescribeActiveReceiptRuleSetResult
DescribeActiveReceiptRuleSetResult()
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:118
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithMetadata
DescribeActiveReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
Definition: DescribeActiveReceiptRuleSetResult.h:66
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::AddRules
DescribeActiveReceiptRuleSetResult & AddRules(ReceiptRule &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:108
Aws::SES::Model::ReceiptRule
Definition: ReceiptRule.h:42
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::GetRules
const Aws::Vector< ReceiptRule > & GetRules() const
Definition: DescribeActiveReceiptRuleSetResult.h:78
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithRules
DescribeActiveReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:98
ReceiptRule.h
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeActiveReceiptRuleSetResult.h:115
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetRules
void SetRules(const Aws::Vector< ReceiptRule > &value)
Definition: DescribeActiveReceiptRuleSetResult.h:83
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithMetadata
DescribeActiveReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:72
Aws::SES::Model::ReceiptRuleSetMetadata
Definition: ReceiptRuleSetMetadata.h:38
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithRules
DescribeActiveReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
Definition: DescribeActiveReceiptRuleSetResult.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::WithResponseMetadata
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeActiveReceiptRuleSetResult.h:121
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetRules
void SetRules(Aws::Vector< ReceiptRule > &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:88
Aws::SES::Model::DescribeActiveReceiptRuleSetResult
Definition: DescribeActiveReceiptRuleSetResult.h:37
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeActiveReceiptRuleSetResult.h:112
ResponseMetadata.h
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetMetadata
void SetMetadata(ReceiptRuleSetMetadata &&value)
Definition: DescribeActiveReceiptRuleSetResult.h:60
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::GetMetadata
const ReceiptRuleSetMetadata & GetMetadata() const
Definition: DescribeActiveReceiptRuleSetResult.h:48
Aws::SES::Model::DescribeActiveReceiptRuleSetResult::SetMetadata
void SetMetadata(const ReceiptRuleSetMetadata &value)
Definition: DescribeActiveReceiptRuleSetResult.h:54