AWS SDK for C++  1.9.153
AWS SDK for C++
ListImportJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace SESV2
20 {
21 namespace Model
22 {
23 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "ListImportJobs"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45 
46 
51  inline const ImportDestinationType& GetImportDestinationType() const{ return m_importDestinationType; }
52 
57  inline bool ImportDestinationTypeHasBeenSet() const { return m_importDestinationTypeHasBeenSet; }
58 
63  inline void SetImportDestinationType(const ImportDestinationType& value) { m_importDestinationTypeHasBeenSet = true; m_importDestinationType = value; }
64 
69  inline void SetImportDestinationType(ImportDestinationType&& value) { m_importDestinationTypeHasBeenSet = true; m_importDestinationType = std::move(value); }
70 
75  inline ListImportJobsRequest& WithImportDestinationType(const ImportDestinationType& value) { SetImportDestinationType(value); return *this;}
76 
81  inline ListImportJobsRequest& WithImportDestinationType(ImportDestinationType&& value) { SetImportDestinationType(std::move(value)); return *this;}
82 
83 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
98  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 
106  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 
114  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
115 
122  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
123 
130  inline ListImportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 
138  inline ListImportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
139 
146  inline ListImportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 
148 
156  inline int GetPageSize() const{ return m_pageSize; }
157 
165  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
166 
174  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
175 
183  inline ListImportJobsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
184 
185  private:
186 
187  ImportDestinationType m_importDestinationType;
188  bool m_importDestinationTypeHasBeenSet;
189 
190  Aws::String m_nextToken;
191  bool m_nextTokenHasBeenSet;
192 
193  int m_pageSize;
194  bool m_pageSizeHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace SESV2
199 } // namespace Aws
Aws::SESV2::Model::ListImportJobsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListImportJobsRequest.h:165
Aws::SESV2::Model::ListImportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListImportJobsRequest.h:122
Aws::Http::URI
Definition: URI.h:32
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListImportJobsRequest::WithImportDestinationType
ListImportJobsRequest & WithImportDestinationType(ImportDestinationType &&value)
Definition: ListImportJobsRequest.h:81
Aws::SESV2::Model::ListImportJobsRequest::ImportDestinationTypeHasBeenSet
bool ImportDestinationTypeHasBeenSet() const
Definition: ListImportJobsRequest.h:57
Aws::SESV2::Model::ListImportJobsRequest::WithImportDestinationType
ListImportJobsRequest & WithImportDestinationType(const ImportDestinationType &value)
Definition: ListImportJobsRequest.h:75
Aws::SESV2::Model::ListImportJobsRequest::GetImportDestinationType
const ImportDestinationType & GetImportDestinationType() const
Definition: ListImportJobsRequest.h:51
Aws::SESV2::Model::ImportDestinationType
ImportDestinationType
Definition: ImportDestinationType.h:17
Aws::SESV2::Model::ListImportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListImportJobsRequest.h:98
Aws::SESV2::Model::ListImportJobsRequest::WithNextToken
ListImportJobsRequest & WithNextToken(const char *value)
Definition: ListImportJobsRequest.h:146
Aws::SESV2::Model::ListImportJobsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::SESV2::Model::ListImportJobsRequest::ListImportJobsRequest
ListImportJobsRequest()
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::ListImportJobsRequest::SetImportDestinationType
void SetImportDestinationType(ImportDestinationType &&value)
Definition: ListImportJobsRequest.h:69
Aws::SESV2::Model::ListImportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImportJobsRequest.h:106
ImportDestinationType.h
Aws::SESV2::Model::ListImportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListImportJobsRequest.h:40
Aws::SESV2::Model::ListImportJobsRequest::WithNextToken
ListImportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListImportJobsRequest.h:130
AWSString.h
Aws::SESV2::Model::ListImportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
SESV2_EXPORTS.h
Aws::SESV2::Model::ListImportJobsRequest::GetPageSize
int GetPageSize() const
Definition: ListImportJobsRequest.h:156
Aws::SESV2::Model::ListImportJobsRequest::SetImportDestinationType
void SetImportDestinationType(const ImportDestinationType &value)
Definition: ListImportJobsRequest.h:63
Aws::SESV2::Model::ListImportJobsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListImportJobsRequest.h:174
Aws::SESV2::Model::ListImportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImportJobsRequest.h:90
Aws::SESV2::Model::ListImportJobsRequest::WithNextToken
ListImportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListImportJobsRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListImportJobsRequest
Definition: ListImportJobsRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::ListImportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImportJobsRequest.h:114
Aws::SESV2::Model::ListImportJobsRequest::WithPageSize
ListImportJobsRequest & WithPageSize(int value)
Definition: ListImportJobsRequest.h:183