AWS SDK for C++  1.8.129
AWS SDK for C++
ListReceiptRuleSetsResult.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 Aws::Vector<ReceiptRuleSetMetadata>& GetRuleSets() const{ return m_ruleSets; }
49 
54  inline void SetRuleSets(const Aws::Vector<ReceiptRuleSetMetadata>& value) { m_ruleSets = value; }
55 
60  inline void SetRuleSets(Aws::Vector<ReceiptRuleSetMetadata>&& value) { m_ruleSets = std::move(value); }
61 
66  inline ListReceiptRuleSetsResult& WithRuleSets(const Aws::Vector<ReceiptRuleSetMetadata>& value) { SetRuleSets(value); return *this;}
67 
72  inline ListReceiptRuleSetsResult& WithRuleSets(Aws::Vector<ReceiptRuleSetMetadata>&& value) { SetRuleSets(std::move(value)); return *this;}
73 
78  inline ListReceiptRuleSetsResult& AddRuleSets(const ReceiptRuleSetMetadata& value) { m_ruleSets.push_back(value); return *this; }
79 
84  inline ListReceiptRuleSetsResult& AddRuleSets(ReceiptRuleSetMetadata&& value) { m_ruleSets.push_back(std::move(value)); return *this; }
85 
86 
93  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 
101  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
102 
109  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
110 
117  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
118 
125  inline ListReceiptRuleSetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
133  inline ListReceiptRuleSetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
141  inline ListReceiptRuleSetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143 
144 
145  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
146 
147 
148  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
149 
150 
151  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
152 
153 
154  inline ListReceiptRuleSetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
155 
156 
157  inline ListReceiptRuleSetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
158 
159  private:
160 
162 
163  Aws::String m_nextToken;
164 
165  ResponseMetadata m_responseMetadata;
166  };
167 
168 } // namespace Model
169 } // namespace SES
170 } // namespace Aws
Aws::SES::Model::ListReceiptRuleSetsResult::ListReceiptRuleSetsResult
ListReceiptRuleSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::ListReceiptRuleSetsResult::WithRuleSets
ListReceiptRuleSetsResult & WithRuleSets(Aws::Vector< ReceiptRuleSetMetadata > &&value)
Definition: ListReceiptRuleSetsResult.h:72
Aws::SES::Model::ListReceiptRuleSetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListReceiptRuleSetsResult.h:101
Aws::SES::Model::ListReceiptRuleSetsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListReceiptRuleSetsResult.h:148
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::ListReceiptRuleSetsResult::ListReceiptRuleSetsResult
ListReceiptRuleSetsResult()
Aws::SES::Model::ListReceiptRuleSetsResult
Definition: ListReceiptRuleSetsResult.h:37
Aws::SES::Model::ListReceiptRuleSetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListReceiptRuleSetsResult.h:117
Aws::SES::Model::ListReceiptRuleSetsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListReceiptRuleSetsResult.h:145
Aws::SES::Model::ListReceiptRuleSetsResult::GetRuleSets
const Aws::Vector< ReceiptRuleSetMetadata > & GetRuleSets() const
Definition: ListReceiptRuleSetsResult.h:48
Aws::SES::Model::ListReceiptRuleSetsResult::WithNextToken
ListReceiptRuleSetsResult & WithNextToken(const Aws::String &value)
Definition: ListReceiptRuleSetsResult.h:125
Aws::SES::Model::ListReceiptRuleSetsResult::WithResponseMetadata
ListReceiptRuleSetsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListReceiptRuleSetsResult.h:154
AWSString.h
Aws::SES::Model::ListReceiptRuleSetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListReceiptRuleSetsResult.h:93
Aws::SES::Model::ListReceiptRuleSetsResult::WithRuleSets
ListReceiptRuleSetsResult & WithRuleSets(const Aws::Vector< ReceiptRuleSetMetadata > &value)
Definition: ListReceiptRuleSetsResult.h:66
SES_EXPORTS.h
Aws::SES::Model::ListReceiptRuleSetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListReceiptRuleSetsResult.h:109
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ListReceiptRuleSetsResult::WithNextToken
ListReceiptRuleSetsResult & WithNextToken(const char *value)
Definition: ListReceiptRuleSetsResult.h:141
Aws::SES::Model::ListReceiptRuleSetsResult::SetRuleSets
void SetRuleSets(const Aws::Vector< ReceiptRuleSetMetadata > &value)
Definition: ListReceiptRuleSetsResult.h:54
Aws::SES::Model::ListReceiptRuleSetsResult::WithResponseMetadata
ListReceiptRuleSetsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListReceiptRuleSetsResult.h:157
Aws::SES::Model::ListReceiptRuleSetsResult::operator=
ListReceiptRuleSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ReceiptRuleSetMetadata
Definition: ReceiptRuleSetMetadata.h:38
Aws::SES::Model::ListReceiptRuleSetsResult::SetRuleSets
void SetRuleSets(Aws::Vector< ReceiptRuleSetMetadata > &&value)
Definition: ListReceiptRuleSetsResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListReceiptRuleSetsResult::AddRuleSets
ListReceiptRuleSetsResult & AddRuleSets(ReceiptRuleSetMetadata &&value)
Definition: ListReceiptRuleSetsResult.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::SES::Model::ListReceiptRuleSetsResult::AddRuleSets
ListReceiptRuleSetsResult & AddRuleSets(const ReceiptRuleSetMetadata &value)
Definition: ListReceiptRuleSetsResult.h:78
Aws::SES::Model::ListReceiptRuleSetsResult::WithNextToken
ListReceiptRuleSetsResult & WithNextToken(Aws::String &&value)
Definition: ListReceiptRuleSetsResult.h:133
Aws::SES::Model::ListReceiptRuleSetsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListReceiptRuleSetsResult.h:151