AWS SDK for C++  1.9.153
AWS SDK for C++
ListDedicatedIpPoolsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
45  inline const Aws::Vector<Aws::String>& GetDedicatedIpPools() const{ return m_dedicatedIpPools; }
46 
51  inline void SetDedicatedIpPools(const Aws::Vector<Aws::String>& value) { m_dedicatedIpPools = value; }
52 
57  inline void SetDedicatedIpPools(Aws::Vector<Aws::String>&& value) { m_dedicatedIpPools = std::move(value); }
58 
63  inline ListDedicatedIpPoolsResult& WithDedicatedIpPools(const Aws::Vector<Aws::String>& value) { SetDedicatedIpPools(value); return *this;}
64 
69  inline ListDedicatedIpPoolsResult& WithDedicatedIpPools(Aws::Vector<Aws::String>&& value) { SetDedicatedIpPools(std::move(value)); return *this;}
70 
75  inline ListDedicatedIpPoolsResult& AddDedicatedIpPools(const Aws::String& value) { m_dedicatedIpPools.push_back(value); return *this; }
76 
81  inline ListDedicatedIpPoolsResult& AddDedicatedIpPools(Aws::String&& value) { m_dedicatedIpPools.push_back(std::move(value)); return *this; }
82 
87  inline ListDedicatedIpPoolsResult& AddDedicatedIpPools(const char* value) { m_dedicatedIpPools.push_back(value); return *this; }
88 
89 
95  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 
102  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
103 
109  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
110 
116  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
117 
123  inline ListDedicatedIpPoolsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
124 
130  inline ListDedicatedIpPoolsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
137  inline ListDedicatedIpPoolsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
138 
139  private:
140 
141  Aws::Vector<Aws::String> m_dedicatedIpPools;
142 
143  Aws::String m_nextToken;
144  };
145 
146 } // namespace Model
147 } // namespace SESV2
148 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListDedicatedIpPoolsResult::ListDedicatedIpPoolsResult
ListDedicatedIpPoolsResult()
Aws::SESV2::Model::ListDedicatedIpPoolsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDedicatedIpPoolsResult.h:116
Aws::SESV2::Model::ListDedicatedIpPoolsResult::operator=
ListDedicatedIpPoolsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListDedicatedIpPoolsResult::GetDedicatedIpPools
const Aws::Vector< Aws::String > & GetDedicatedIpPools() const
Definition: ListDedicatedIpPoolsResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::ListDedicatedIpPoolsResult::WithDedicatedIpPools
ListDedicatedIpPoolsResult & WithDedicatedIpPools(Aws::Vector< Aws::String > &&value)
Definition: ListDedicatedIpPoolsResult.h:69
Aws::SESV2::Model::ListDedicatedIpPoolsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDedicatedIpPoolsResult.h:109
AWSVector.h
Aws::SESV2::Model::ListDedicatedIpPoolsResult::SetDedicatedIpPools
void SetDedicatedIpPools(const Aws::Vector< Aws::String > &value)
Definition: ListDedicatedIpPoolsResult.h:51
Aws::SESV2::Model::ListDedicatedIpPoolsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDedicatedIpPoolsResult.h:95
Aws::SESV2::Model::ListDedicatedIpPoolsResult::ListDedicatedIpPoolsResult
ListDedicatedIpPoolsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListDedicatedIpPoolsResult::AddDedicatedIpPools
ListDedicatedIpPoolsResult & AddDedicatedIpPools(const Aws::String &value)
Definition: ListDedicatedIpPoolsResult.h:75
Aws::SESV2::Model::ListDedicatedIpPoolsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDedicatedIpPoolsResult.h:102
Aws::SESV2::Model::ListDedicatedIpPoolsResult::SetDedicatedIpPools
void SetDedicatedIpPools(Aws::Vector< Aws::String > &&value)
Definition: ListDedicatedIpPoolsResult.h:57
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::ListDedicatedIpPoolsResult::WithDedicatedIpPools
ListDedicatedIpPoolsResult & WithDedicatedIpPools(const Aws::Vector< Aws::String > &value)
Definition: ListDedicatedIpPoolsResult.h:63
Aws::SESV2::Model::ListDedicatedIpPoolsResult::WithNextToken
ListDedicatedIpPoolsResult & WithNextToken(const char *value)
Definition: ListDedicatedIpPoolsResult.h:137
Aws::SESV2::Model::ListDedicatedIpPoolsResult::AddDedicatedIpPools
ListDedicatedIpPoolsResult & AddDedicatedIpPools(Aws::String &&value)
Definition: ListDedicatedIpPoolsResult.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListDedicatedIpPoolsResult::WithNextToken
ListDedicatedIpPoolsResult & WithNextToken(const Aws::String &value)
Definition: ListDedicatedIpPoolsResult.h:123
Aws::SESV2::Model::ListDedicatedIpPoolsResult::WithNextToken
ListDedicatedIpPoolsResult & WithNextToken(Aws::String &&value)
Definition: ListDedicatedIpPoolsResult.h:130
Aws::SESV2::Model::ListDedicatedIpPoolsResult::AddDedicatedIpPools
ListDedicatedIpPoolsResult & AddDedicatedIpPools(const char *value)
Definition: ListDedicatedIpPoolsResult.h:87
Aws::SESV2::Model::ListDedicatedIpPoolsResult
Definition: ListDedicatedIpPoolsResult.h:34