AWS SDK for C++  1.8.71
AWS SDK for C++
ListConfigurationSetsRequest.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 PinpointEmail
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 "ListConfigurationSets"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 
55  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 
61  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 
67  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 
73  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 
79  inline ListConfigurationSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
85  inline ListConfigurationSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
86 
91  inline ListConfigurationSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 
93 
101  inline int GetPageSize() const{ return m_pageSize; }
102 
110  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
111 
119  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
120 
128  inline ListConfigurationSetsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
129 
130  private:
131 
132  Aws::String m_nextToken;
133  bool m_nextTokenHasBeenSet;
134 
135  int m_pageSize;
136  bool m_pageSizeHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace PinpointEmail
141 } // namespace Aws
ListConfigurationSetsRequest & WithNextToken(const Aws::String &value)
#define AWS_PINPOINTEMAIL_API
ListConfigurationSetsRequest & WithNextToken(Aws::String &&value)
ListConfigurationSetsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97