AWS SDK for C++  1.8.71
AWS SDK for C++
GetDedicatedIpsRequest.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 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetDedicatedIps"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetPoolName() const{ return m_poolName; }
49 
53  inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
54 
58  inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
59 
63  inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
64 
68  inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
69 
73  inline GetDedicatedIpsRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
74 
78  inline GetDedicatedIpsRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
79 
83  inline GetDedicatedIpsRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;}
84 
85 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
96  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 
102  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
114  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 
120  inline GetDedicatedIpsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
126  inline GetDedicatedIpsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
132  inline GetDedicatedIpsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134 
142  inline int GetPageSize() const{ return m_pageSize; }
143 
151  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
152 
160  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
161 
169  inline GetDedicatedIpsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
170 
171  private:
172 
173  Aws::String m_poolName;
174  bool m_poolNameHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178 
179  int m_pageSize;
180  bool m_pageSizeHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace SESV2
185 } // namespace Aws
GetDedicatedIpsRequest & WithPoolName(const Aws::String &value)
GetDedicatedIpsRequest & WithPageSize(int value)
GetDedicatedIpsRequest & WithPoolName(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetPoolName(const Aws::String &value)
GetDedicatedIpsRequest & WithNextToken(const Aws::String &value)
GetDedicatedIpsRequest & WithNextToken(const char *value)
GetDedicatedIpsRequest & WithNextToken(Aws::String &&value)
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
GetDedicatedIpsRequest & WithPoolName(Aws::String &&value)