AWS SDK for C++  1.8.71
AWS SDK for C++
ListEmailIdentitiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace SESV2
19 {
20 namespace Model
21 {
22 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "ListEmailIdentities"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45 
46 
51  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
52 
57  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 
63  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 
69  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 
75  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 
81  inline ListEmailIdentitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 
87  inline ListEmailIdentitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 
93  inline ListEmailIdentitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 
95 
104  inline int GetPageSize() const{ return m_pageSize; }
105 
114  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
115 
124  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
125 
134  inline ListEmailIdentitiesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
135 
136  private:
137 
138  Aws::String m_nextToken;
139  bool m_nextTokenHasBeenSet;
140 
141  int m_pageSize;
142  bool m_pageSizeHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace SESV2
147 } // namespace Aws
virtual const char * GetServiceRequestName() const override
ListEmailIdentitiesRequest & WithNextToken(const Aws::String &value)
ListEmailIdentitiesRequest & WithPageSize(int value)
ListEmailIdentitiesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListEmailIdentitiesRequest & WithNextToken(Aws::String &&value)
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28