AWS SDK for C++  1.9.159
AWS SDK for C++
ListEmailIdentitiesResult.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 {
37  {
38  public:
42 
43 
48  inline const Aws::Vector<IdentityInfo>& GetEmailIdentities() const{ return m_emailIdentities; }
49 
54  inline void SetEmailIdentities(const Aws::Vector<IdentityInfo>& value) { m_emailIdentities = value; }
55 
60  inline void SetEmailIdentities(Aws::Vector<IdentityInfo>&& value) { m_emailIdentities = std::move(value); }
61 
66  inline ListEmailIdentitiesResult& WithEmailIdentities(const Aws::Vector<IdentityInfo>& value) { SetEmailIdentities(value); return *this;}
67 
72  inline ListEmailIdentitiesResult& WithEmailIdentities(Aws::Vector<IdentityInfo>&& value) { SetEmailIdentities(std::move(value)); return *this;}
73 
78  inline ListEmailIdentitiesResult& AddEmailIdentities(const IdentityInfo& value) { m_emailIdentities.push_back(value); return *this; }
79 
84  inline ListEmailIdentitiesResult& AddEmailIdentities(IdentityInfo&& value) { m_emailIdentities.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 ListEmailIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
133  inline ListEmailIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
141  inline ListEmailIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<IdentityInfo> m_emailIdentities;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace SESV2
152 } // namespace Aws
Aws::SESV2::Model::ListEmailIdentitiesResult::WithNextToken
ListEmailIdentitiesResult & WithNextToken(const char *value)
Definition: ListEmailIdentitiesResult.h:141
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListEmailIdentitiesResult::ListEmailIdentitiesResult
ListEmailIdentitiesResult()
Aws::SESV2::Model::ListEmailIdentitiesResult::WithEmailIdentities
ListEmailIdentitiesResult & WithEmailIdentities(Aws::Vector< IdentityInfo > &&value)
Definition: ListEmailIdentitiesResult.h:72
Aws::SESV2::Model::ListEmailIdentitiesResult::operator=
ListEmailIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListEmailIdentitiesResult::SetEmailIdentities
void SetEmailIdentities(Aws::Vector< IdentityInfo > &&value)
Definition: ListEmailIdentitiesResult.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::ListEmailIdentitiesResult
Definition: ListEmailIdentitiesResult.h:37
AWSVector.h
Aws::SESV2::Model::IdentityInfo
Definition: IdentityInfo.h:33
Aws::SESV2::Model::ListEmailIdentitiesResult::AddEmailIdentities
ListEmailIdentitiesResult & AddEmailIdentities(IdentityInfo &&value)
Definition: ListEmailIdentitiesResult.h:84
AWSString.h
Aws::SESV2::Model::ListEmailIdentitiesResult::GetEmailIdentities
const Aws::Vector< IdentityInfo > & GetEmailIdentities() const
Definition: ListEmailIdentitiesResult.h:48
SESV2_EXPORTS.h
Aws::SESV2::Model::ListEmailIdentitiesResult::WithNextToken
ListEmailIdentitiesResult & WithNextToken(const Aws::String &value)
Definition: ListEmailIdentitiesResult.h:125
Aws::SESV2::Model::ListEmailIdentitiesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEmailIdentitiesResult.h:109
Aws::SESV2::Model::ListEmailIdentitiesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListEmailIdentitiesResult.h:117
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListEmailIdentitiesResult::AddEmailIdentities
ListEmailIdentitiesResult & AddEmailIdentities(const IdentityInfo &value)
Definition: ListEmailIdentitiesResult.h:78
Aws::SESV2::Model::ListEmailIdentitiesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEmailIdentitiesResult.h:93
IdentityInfo.h
Aws::SESV2::Model::ListEmailIdentitiesResult::WithNextToken
ListEmailIdentitiesResult & WithNextToken(Aws::String &&value)
Definition: ListEmailIdentitiesResult.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListEmailIdentitiesResult::SetEmailIdentities
void SetEmailIdentities(const Aws::Vector< IdentityInfo > &value)
Definition: ListEmailIdentitiesResult.h:54
Aws::SESV2::Model::ListEmailIdentitiesResult::WithEmailIdentities
ListEmailIdentitiesResult & WithEmailIdentities(const Aws::Vector< IdentityInfo > &value)
Definition: ListEmailIdentitiesResult.h:66
Aws::SESV2::Model::ListEmailIdentitiesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEmailIdentitiesResult.h:101
Aws::SESV2::Model::ListEmailIdentitiesResult::ListEmailIdentitiesResult
ListEmailIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)