AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeReceiptRuleSetResult.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 DescribeReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
67 
72  inline DescribeReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(std::move(value)); return *this;}
73 
74 
79  inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
80 
85  inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
86 
91  inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = std::move(value); }
92 
97  inline DescribeReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
98 
103  inline DescribeReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(std::move(value)); return *this;}
104 
109  inline DescribeReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
110 
115  inline DescribeReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(std::move(value)); return *this; }
116 
117 
118 
119  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
120 
121 
122  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
123 
124 
125  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
126 
127 
128  inline DescribeReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
129 
130 
131  inline DescribeReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
132 
133  private:
134 
135  ReceiptRuleSetMetadata m_metadata;
136 
137  Aws::Vector<ReceiptRule> m_rules;
138 
139  ResponseMetadata m_responseMetadata;
140  };
141 
142 } // namespace Model
143 } // namespace SES
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::DescribeReceiptRuleSetResult::WithResponseMetadata
DescribeReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReceiptRuleSetResult.h:128
Aws::SES::Model::DescribeReceiptRuleSetResult::WithRules
DescribeReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
Definition: DescribeReceiptRuleSetResult.h:103
Aws::SES::Model::DescribeReceiptRuleSetResult::WithMetadata
DescribeReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
Definition: DescribeReceiptRuleSetResult.h:66
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::DescribeReceiptRuleSetResult::GetRules
const Aws::Vector< ReceiptRule > & GetRules() const
Definition: DescribeReceiptRuleSetResult.h:79
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::DescribeReceiptRuleSetResult::SetMetadata
void SetMetadata(const ReceiptRuleSetMetadata &value)
Definition: DescribeReceiptRuleSetResult.h:54
AWSVector.h
ReceiptRuleSetMetadata.h
Aws::SES::Model::DescribeReceiptRuleSetResult::WithRules
DescribeReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
Definition: DescribeReceiptRuleSetResult.h:97
Aws::SES::Model::DescribeReceiptRuleSetResult::SetRules
void SetRules(Aws::Vector< ReceiptRule > &&value)
Definition: DescribeReceiptRuleSetResult.h:91
Aws::SES::Model::DescribeReceiptRuleSetResult::WithMetadata
DescribeReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)
Definition: DescribeReceiptRuleSetResult.h:72
Aws::SES::Model::DescribeReceiptRuleSetResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReceiptRuleSetResult.h:122
Aws::SES::Model::ReceiptRule
Definition: ReceiptRule.h:42
Aws::SES::Model::DescribeReceiptRuleSetResult::DescribeReceiptRuleSetResult
DescribeReceiptRuleSetResult()
Aws::SES::Model::DescribeReceiptRuleSetResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReceiptRuleSetResult.h:125
ReceiptRule.h
Aws::SES::Model::DescribeReceiptRuleSetResult::DescribeReceiptRuleSetResult
DescribeReceiptRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::DescribeReceiptRuleSetResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeReceiptRuleSetResult.h:119
Aws::SES::Model::DescribeReceiptRuleSetResult::AddRules
DescribeReceiptRuleSetResult & AddRules(ReceiptRule &&value)
Definition: DescribeReceiptRuleSetResult.h:115
SES_EXPORTS.h
Aws::SES::Model::DescribeReceiptRuleSetResult::AddRules
DescribeReceiptRuleSetResult & AddRules(const ReceiptRule &value)
Definition: DescribeReceiptRuleSetResult.h:109
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::DescribeReceiptRuleSetResult::WithResponseMetadata
DescribeReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReceiptRuleSetResult.h:131
Aws::SES::Model::DescribeReceiptRuleSetResult
Definition: DescribeReceiptRuleSetResult.h:37
Aws::SES::Model::ReceiptRuleSetMetadata
Definition: ReceiptRuleSetMetadata.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DescribeReceiptRuleSetResult::SetMetadata
void SetMetadata(ReceiptRuleSetMetadata &&value)
Definition: DescribeReceiptRuleSetResult.h:60
Aws::SES::Model::DescribeReceiptRuleSetResult::SetRules
void SetRules(const Aws::Vector< ReceiptRule > &value)
Definition: DescribeReceiptRuleSetResult.h:85
ResponseMetadata.h
Aws::SES::Model::DescribeReceiptRuleSetResult::GetMetadata
const ReceiptRuleSetMetadata & GetMetadata() const
Definition: DescribeReceiptRuleSetResult.h:48
Aws::SES::Model::DescribeReceiptRuleSetResult::operator=
DescribeReceiptRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)