AWS SDK for C++  1.9.156
AWS SDK for C++
ListContactListsRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListContactLists"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
48  inline int GetPageSize() const{ return m_pageSize; }
49 
57  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
58 
66  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
67 
75  inline ListContactListsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
76 
77 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
92  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 
100  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
116  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 
124  inline ListContactListsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
132  inline ListContactListsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
140  inline ListContactListsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142  private:
143 
144  int m_pageSize;
145  bool m_pageSizeHasBeenSet;
146 
147  Aws::String m_nextToken;
148  bool m_nextTokenHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace SESV2
153 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SESV2::Model::ListContactListsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListContactListsRequest.h:57
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListContactListsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListContactListsRequest.h:116
Aws::SESV2::Model::ListContactListsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::ListContactListsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::SESV2::Model::ListContactListsRequest::WithNextToken
ListContactListsRequest & WithNextToken(Aws::String &&value)
Definition: ListContactListsRequest.h:132
Aws::SESV2::Model::ListContactListsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListContactListsRequest.h:92
Aws::SESV2::Model::ListContactListsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListContactListsRequest.h:66
Aws::SESV2::Model::ListContactListsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListContactListsRequest.h:34
Aws::SESV2::Model::ListContactListsRequest
Definition: ListContactListsRequest.h:26
Aws::SESV2::Model::ListContactListsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContactListsRequest.h:100
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::ListContactListsRequest::WithNextToken
ListContactListsRequest & WithNextToken(const Aws::String &value)
Definition: ListContactListsRequest.h:124
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::ListContactListsRequest::ListContactListsRequest
ListContactListsRequest()
Aws::SESV2::Model::ListContactListsRequest::GetPageSize
int GetPageSize() const
Definition: ListContactListsRequest.h:48
Aws::SESV2::Model::ListContactListsRequest::WithPageSize
ListContactListsRequest & WithPageSize(int value)
Definition: ListContactListsRequest.h:75
Aws::SESV2::Model::ListContactListsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContactListsRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListContactListsRequest::WithNextToken
ListContactListsRequest & WithNextToken(const char *value)
Definition: ListContactListsRequest.h:140
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListContactListsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContactListsRequest.h:84
SESV2Request.h