AWS SDK for C++  1.8.129
AWS SDK for C++
ListIdentitiesResult.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 Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SES
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Aws::String>& GetIdentities() const{ return m_identities; }
47 
51  inline void SetIdentities(const Aws::Vector<Aws::String>& value) { m_identities = value; }
52 
56  inline void SetIdentities(Aws::Vector<Aws::String>&& value) { m_identities = std::move(value); }
57 
61  inline ListIdentitiesResult& WithIdentities(const Aws::Vector<Aws::String>& value) { SetIdentities(value); return *this;}
62 
66  inline ListIdentitiesResult& WithIdentities(Aws::Vector<Aws::String>&& value) { SetIdentities(std::move(value)); return *this;}
67 
71  inline ListIdentitiesResult& AddIdentities(const Aws::String& value) { m_identities.push_back(value); return *this; }
72 
76  inline ListIdentitiesResult& AddIdentities(Aws::String&& value) { m_identities.push_back(std::move(value)); return *this; }
77 
81  inline ListIdentitiesResult& AddIdentities(const char* value) { m_identities.push_back(value); return *this; }
82 
83 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
97  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
98 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
107  inline ListIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
112  inline ListIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
117  inline ListIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119 
120 
121  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
122 
123 
124  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
125 
126 
127  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
128 
129 
130  inline ListIdentitiesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
131 
132 
133  inline ListIdentitiesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
134 
135  private:
136 
137  Aws::Vector<Aws::String> m_identities;
138 
139  Aws::String m_nextToken;
140 
141  ResponseMetadata m_responseMetadata;
142  };
143 
144 } // namespace Model
145 } // namespace SES
146 } // namespace Aws
Aws::SES::Model::ListIdentitiesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListIdentitiesResult.h:127
Aws::SES::Model::ListIdentitiesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListIdentitiesResult.h:124
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::ListIdentitiesResult::GetIdentities
const Aws::Vector< Aws::String > & GetIdentities() const
Definition: ListIdentitiesResult.h:46
Aws::SES::Model::ListIdentitiesResult::AddIdentities
ListIdentitiesResult & AddIdentities(const Aws::String &value)
Definition: ListIdentitiesResult.h:71
Aws::SES::Model::ListIdentitiesResult::WithResponseMetadata
ListIdentitiesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListIdentitiesResult.h:133
Aws::SES::Model::ListIdentitiesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIdentitiesResult.h:87
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::ListIdentitiesResult::WithNextToken
ListIdentitiesResult & WithNextToken(const Aws::String &value)
Definition: ListIdentitiesResult.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::ListIdentitiesResult::WithNextToken
ListIdentitiesResult & WithNextToken(const char *value)
Definition: ListIdentitiesResult.h:117
AWSVector.h
Aws::SES::Model::ListIdentitiesResult::operator=
ListIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListIdentitiesResult::WithNextToken
ListIdentitiesResult & WithNextToken(Aws::String &&value)
Definition: ListIdentitiesResult.h:112
Aws::SES::Model::ListIdentitiesResult::SetIdentities
void SetIdentities(const Aws::Vector< Aws::String > &value)
Definition: ListIdentitiesResult.h:51
AWSString.h
Aws::SES::Model::ListIdentitiesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIdentitiesResult.h:97
Aws::SES::Model::ListIdentitiesResult::ListIdentitiesResult
ListIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListIdentitiesResult::WithIdentities
ListIdentitiesResult & WithIdentities(Aws::Vector< Aws::String > &&value)
Definition: ListIdentitiesResult.h:66
SES_EXPORTS.h
Aws::SES::Model::ListIdentitiesResult::WithIdentities
ListIdentitiesResult & WithIdentities(const Aws::Vector< Aws::String > &value)
Definition: ListIdentitiesResult.h:61
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ListIdentitiesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListIdentitiesResult.h:121
Aws::SES::Model::ListIdentitiesResult::SetIdentities
void SetIdentities(Aws::Vector< Aws::String > &&value)
Definition: ListIdentitiesResult.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ListIdentitiesResult::AddIdentities
ListIdentitiesResult & AddIdentities(Aws::String &&value)
Definition: ListIdentitiesResult.h:76
Aws::SES::Model::ListIdentitiesResult
Definition: ListIdentitiesResult.h:36
Aws::SES::Model::ListIdentitiesResult::AddIdentities
ListIdentitiesResult & AddIdentities(const char *value)
Definition: ListIdentitiesResult.h:81
Aws::SES::Model::ListIdentitiesResult::WithResponseMetadata
ListIdentitiesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListIdentitiesResult.h:130
ResponseMetadata.h
Aws::SES::Model::ListIdentitiesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListIdentitiesResult.h:102
Aws::SES::Model::ListIdentitiesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIdentitiesResult.h:92
Aws::SES::Model::ListIdentitiesResult::ListIdentitiesResult
ListIdentitiesResult()