AWS SDK for C++  1.8.127
AWS SDK for C++
ListIdentitiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListIdentities"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
50 
55  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
56 
61  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
62 
67  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
68 
73  inline ListIdentitiesRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
74 
79  inline ListIdentitiesRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline ListIdentitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline ListIdentitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline ListIdentitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
127  inline int GetMaxItems() const{ return m_maxItems; }
128 
133  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
134 
139  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
140 
145  inline ListIdentitiesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
146 
147  private:
148 
149  IdentityType m_identityType;
150  bool m_identityTypeHasBeenSet;
151 
152  Aws::String m_nextToken;
153  bool m_nextTokenHasBeenSet;
154 
155  int m_maxItems;
156  bool m_maxItemsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SES
161 } // namespace Aws
Aws::SES::Model::ListIdentitiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::ListIdentitiesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListIdentitiesRequest.h:105
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::ListIdentitiesRequest::WithMaxItems
ListIdentitiesRequest & WithMaxItems(int value)
Definition: ListIdentitiesRequest.h:145
Aws::SES::Model::ListIdentitiesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::ListIdentitiesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIdentitiesRequest.h:90
Aws::SES::Model::ListIdentitiesRequest::WithIdentityType
ListIdentitiesRequest & WithIdentityType(const IdentityType &value)
Definition: ListIdentitiesRequest.h:73
Aws::SES::Model::ListIdentitiesRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListIdentitiesRequest.h:133
Aws::SES::Model::ListIdentitiesRequest
Definition: ListIdentitiesRequest.h:28
Aws::SES::Model::ListIdentitiesRequest::GetMaxItems
int GetMaxItems() const
Definition: ListIdentitiesRequest.h:127
Aws::SES::Model::ListIdentitiesRequest::WithNextToken
ListIdentitiesRequest & WithNextToken(const Aws::String &value)
Definition: ListIdentitiesRequest.h:110
Aws::SES::Model::ListIdentitiesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIdentitiesRequest.h:85
SESRequest.h
Aws::SES::Model::ListIdentitiesRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListIdentitiesRequest.h:139
Aws::SES::Model::ListIdentitiesRequest::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: ListIdentitiesRequest.h:55
Aws::SES::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
IdentityType.h
Aws::SES::Model::ListIdentitiesRequest::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: ListIdentitiesRequest.h:67
AWSString.h
Aws::SES::Model::ListIdentitiesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIdentitiesRequest.h:100
Aws::SES::Model::ListIdentitiesRequest::WithNextToken
ListIdentitiesRequest & WithNextToken(Aws::String &&value)
Definition: ListIdentitiesRequest.h:115
SES_EXPORTS.h
Aws::SES::Model::ListIdentitiesRequest::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: ListIdentitiesRequest.h:49
Aws::SES::Model::ListIdentitiesRequest::WithNextToken
ListIdentitiesRequest & WithNextToken(const char *value)
Definition: ListIdentitiesRequest.h:120
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::ListIdentitiesRequest::WithIdentityType
ListIdentitiesRequest & WithIdentityType(IdentityType &&value)
Definition: ListIdentitiesRequest.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListIdentitiesRequest::ListIdentitiesRequest
ListIdentitiesRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ListIdentitiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIdentitiesRequest.h:36
Aws::SES::Model::ListIdentitiesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIdentitiesRequest.h:95
Aws::SES::Model::ListIdentitiesRequest::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: ListIdentitiesRequest.h:61