AWS SDK for C++  1.8.71
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
void SetIdentityType(IdentityType &&value)
ListIdentitiesRequest & WithNextToken(const char *value)
ListIdentitiesRequest & WithNextToken(Aws::String &&value)
const IdentityType & GetIdentityType() const
void SetNextToken(const Aws::String &value)
ListIdentitiesRequest & WithIdentityType(IdentityType &&value)
virtual const char * GetServiceRequestName() const override
void SetIdentityType(const IdentityType &value)
ListIdentitiesRequest & WithMaxItems(int value)
ListIdentitiesRequest & WithIdentityType(const IdentityType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListIdentitiesRequest & WithNextToken(const Aws::String &value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
const Aws::String & GetNextToken() const