AWS SDK for C++  1.9.109
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 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 "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 SESV2
141 } // namespace Aws
Aws::SESV2::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(Aws::String &&value)
Definition: ListConfigurationSetsRequest.h:85
Aws::Http::URI
Definition: URI.h:32
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListConfigurationSetsRequest
Definition: ListConfigurationSetsRequest.h:30
Aws::SESV2::Model::ListConfigurationSetsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListConfigurationSetsRequest.h:119
Aws::SESV2::Model::ListConfigurationSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListConfigurationSetsRequest.h:55
Aws::SESV2::Model::ListConfigurationSetsRequest::GetPageSize
int GetPageSize() const
Definition: ListConfigurationSetsRequest.h:101
Aws::SESV2::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationSetsRequest.h:61
Aws::SESV2::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(const char *value)
Definition: ListConfigurationSetsRequest.h:91
Aws::SESV2::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(const Aws::String &value)
Definition: ListConfigurationSetsRequest.h:79
Aws::SESV2::Model::ListConfigurationSetsRequest::ListConfigurationSetsRequest
ListConfigurationSetsRequest()
Aws::SESV2::Model::ListConfigurationSetsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListConfigurationSetsRequest.h:110
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::ListConfigurationSetsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
SESV2_EXPORTS.h
Aws::SESV2::Model::ListConfigurationSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationSetsRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationSetsRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListConfigurationSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListConfigurationSetsRequest.h:38
SESV2Request.h
Aws::SESV2::Model::ListConfigurationSetsRequest::WithPageSize
ListConfigurationSetsRequest & WithPageSize(int value)
Definition: ListConfigurationSetsRequest.h:128
Aws::SESV2::Model::ListConfigurationSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationSetsRequest.h:73