AWS SDK for C++  1.9.160
AWS SDK for C++
GetDedicatedIpsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SESV2
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<DedicatedIp>& GetDedicatedIps() const{ return m_dedicatedIps; }
48 
53  inline void SetDedicatedIps(const Aws::Vector<DedicatedIp>& value) { m_dedicatedIps = value; }
54 
59  inline void SetDedicatedIps(Aws::Vector<DedicatedIp>&& value) { m_dedicatedIps = std::move(value); }
60 
65  inline GetDedicatedIpsResult& WithDedicatedIps(const Aws::Vector<DedicatedIp>& value) { SetDedicatedIps(value); return *this;}
66 
71  inline GetDedicatedIpsResult& WithDedicatedIps(Aws::Vector<DedicatedIp>&& value) { SetDedicatedIps(std::move(value)); return *this;}
72 
77  inline GetDedicatedIpsResult& AddDedicatedIps(const DedicatedIp& value) { m_dedicatedIps.push_back(value); return *this; }
78 
83  inline GetDedicatedIpsResult& AddDedicatedIps(DedicatedIp&& value) { m_dedicatedIps.push_back(std::move(value)); return *this; }
84 
85 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
100  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
101 
108  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
109 
116  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
117 
124  inline GetDedicatedIpsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
132  inline GetDedicatedIpsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
140  inline GetDedicatedIpsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142  private:
143 
144  Aws::Vector<DedicatedIp> m_dedicatedIps;
145 
146  Aws::String m_nextToken;
147  };
148 
149 } // namespace Model
150 } // namespace SESV2
151 } // namespace Aws
Aws::SESV2::Model::GetDedicatedIpsResult::WithDedicatedIps
GetDedicatedIpsResult & WithDedicatedIps(Aws::Vector< DedicatedIp > &&value)
Definition: GetDedicatedIpsResult.h:71
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetDedicatedIpsResult::operator=
GetDedicatedIpsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetDedicatedIpsResult::GetDedicatedIpsResult
GetDedicatedIpsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetDedicatedIpsResult::WithNextToken
GetDedicatedIpsResult & WithNextToken(const Aws::String &value)
Definition: GetDedicatedIpsResult.h:124
Aws::SESV2::Model::GetDedicatedIpsResult::WithNextToken
GetDedicatedIpsResult & WithNextToken(Aws::String &&value)
Definition: GetDedicatedIpsResult.h:132
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::DedicatedIp
Definition: DedicatedIp.h:38
Aws::SESV2::Model::GetDedicatedIpsResult::WithDedicatedIps
GetDedicatedIpsResult & WithDedicatedIps(const Aws::Vector< DedicatedIp > &value)
Definition: GetDedicatedIpsResult.h:65
Aws::SESV2::Model::GetDedicatedIpsResult
Definition: GetDedicatedIpsResult.h:36
Aws::SESV2::Model::GetDedicatedIpsResult::AddDedicatedIps
GetDedicatedIpsResult & AddDedicatedIps(const DedicatedIp &value)
Definition: GetDedicatedIpsResult.h:77
Aws::SESV2::Model::GetDedicatedIpsResult::SetDedicatedIps
void SetDedicatedIps(const Aws::Vector< DedicatedIp > &value)
Definition: GetDedicatedIpsResult.h:53
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::GetDedicatedIpsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetDedicatedIpsResult.h:92
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::GetDedicatedIpsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetDedicatedIpsResult.h:100
Aws::SESV2::Model::GetDedicatedIpsResult::WithNextToken
GetDedicatedIpsResult & WithNextToken(const char *value)
Definition: GetDedicatedIpsResult.h:140
Aws::SESV2::Model::GetDedicatedIpsResult::GetDedicatedIps
const Aws::Vector< DedicatedIp > & GetDedicatedIps() const
Definition: GetDedicatedIpsResult.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::GetDedicatedIpsResult::SetDedicatedIps
void SetDedicatedIps(Aws::Vector< DedicatedIp > &&value)
Definition: GetDedicatedIpsResult.h:59
DedicatedIp.h
Aws::SESV2::Model::GetDedicatedIpsResult::AddDedicatedIps
GetDedicatedIpsResult & AddDedicatedIps(DedicatedIp &&value)
Definition: GetDedicatedIpsResult.h:83
Aws::SESV2::Model::GetDedicatedIpsResult::GetDedicatedIpsResult
GetDedicatedIpsResult()
Aws::SESV2::Model::GetDedicatedIpsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetDedicatedIpsResult.h:108
Aws::SESV2::Model::GetDedicatedIpsResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetDedicatedIpsResult.h:116