AWS SDK for C++  1.9.161
AWS SDK for C++
ListDeliverabilityTestReportsRequest.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 "ListDeliverabilityTestReports"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
50  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 
57  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 
64  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 
71  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 
78  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 
85  inline ListDeliverabilityTestReportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 
92  inline ListDeliverabilityTestReportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 
99  inline ListDeliverabilityTestReportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 
101 
110  inline int GetPageSize() const{ return m_pageSize; }
111 
120  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
121 
130  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
131 
140  inline ListDeliverabilityTestReportsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
141 
142  private:
143 
144  Aws::String m_nextToken;
145  bool m_nextTokenHasBeenSet;
146 
147  int m_pageSize;
148  bool m_pageSizeHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace SESV2
153 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest
Definition: ListDeliverabilityTestReportsRequest.h:30
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListDeliverabilityTestReportsRequest.h:130
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeliverabilityTestReportsRequest.h:71
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDeliverabilityTestReportsRequest.h:38
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::WithPageSize
ListDeliverabilityTestReportsRequest & WithPageSize(int value)
Definition: ListDeliverabilityTestReportsRequest.h:140
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDeliverabilityTestReportsRequest.h:57
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::ListDeliverabilityTestReportsRequest
ListDeliverabilityTestReportsRequest()
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeliverabilityTestReportsRequest.h:64
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::WithNextToken
ListDeliverabilityTestReportsRequest & WithNextToken(const char *value)
Definition: ListDeliverabilityTestReportsRequest.h:99
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::WithNextToken
ListDeliverabilityTestReportsRequest & WithNextToken(Aws::String &&value)
Definition: ListDeliverabilityTestReportsRequest.h:92
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeliverabilityTestReportsRequest.h:78
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::WithNextToken
ListDeliverabilityTestReportsRequest & WithNextToken(const Aws::String &value)
Definition: ListDeliverabilityTestReportsRequest.h:85
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListDeliverabilityTestReportsRequest.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeliverabilityTestReportsRequest.h:50
Aws::SESV2::Model::ListDeliverabilityTestReportsRequest::GetPageSize
int GetPageSize() const
Definition: ListDeliverabilityTestReportsRequest.h:110
SESV2Request.h