AWS SDK for C++  1.9.161
AWS SDK for C++
ListDatasetExportJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Personalize
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListDatasetExportJobs"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
42 
47  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
48 
53  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
54 
59  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
60 
65  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
66 
71  inline ListDatasetExportJobsRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
72 
77  inline ListDatasetExportJobsRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
78 
83  inline ListDatasetExportJobsRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
84 
85 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
96  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 
102  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
114  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 
120  inline ListDatasetExportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
126  inline ListDatasetExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
132  inline ListDatasetExportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134 
138  inline int GetMaxResults() const{ return m_maxResults; }
139 
143  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
144 
148  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
149 
153  inline ListDatasetExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155  private:
156 
157  Aws::String m_datasetArn;
158  bool m_datasetArnHasBeenSet;
159 
160  Aws::String m_nextToken;
161  bool m_nextTokenHasBeenSet;
162 
163  int m_maxResults;
164  bool m_maxResultsHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Personalize
169 } // namespace Aws
Aws::Personalize::Model::ListDatasetExportJobsRequest::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: ListDatasetExportJobsRequest.h:47
Aws::Personalize::Model::ListDatasetExportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::Model::ListDatasetExportJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: ListDatasetExportJobsRequest.h:53
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithNextToken
ListDatasetExportJobsRequest & WithNextToken(const char *value)
Definition: ListDatasetExportJobsRequest.h:132
PersonalizeRequest.h
Aws::Personalize::Model::ListDatasetExportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDatasetExportJobsRequest.h:96
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithMaxResults
ListDatasetExportJobsRequest & WithMaxResults(int value)
Definition: ListDatasetExportJobsRequest.h:153
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithDatasetArn
ListDatasetExportJobsRequest & WithDatasetArn(Aws::String &&value)
Definition: ListDatasetExportJobsRequest.h:77
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithNextToken
ListDatasetExportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListDatasetExportJobsRequest.h:120
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetExportJobsRequest.h:108
Aws::Personalize::Model::ListDatasetExportJobsRequest::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: ListDatasetExportJobsRequest.h:41
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDatasetExportJobsRequest.h:148
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithDatasetArn
ListDatasetExportJobsRequest & WithDatasetArn(const Aws::String &value)
Definition: ListDatasetExportJobsRequest.h:71
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: ListDatasetExportJobsRequest.h:59
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetExportJobsRequest.h:114
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetExportJobsRequest.h:102
Aws::Personalize::Model::ListDatasetExportJobsRequest::ListDatasetExportJobsRequest
ListDatasetExportJobsRequest()
Aws::Personalize::Model::ListDatasetExportJobsRequest::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: ListDatasetExportJobsRequest.h:65
AWSString.h
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::ListDatasetExportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDatasetExportJobsRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::ListDatasetExportJobsRequest
Definition: ListDatasetExportJobsRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ListDatasetExportJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDatasetExportJobsRequest.h:143
Personalize_EXPORTS.h
Aws::Personalize::Model::ListDatasetExportJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDatasetExportJobsRequest.h:138
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithDatasetArn
ListDatasetExportJobsRequest & WithDatasetArn(const char *value)
Definition: ListDatasetExportJobsRequest.h:83
Aws::Personalize::Model::ListDatasetExportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetExportJobsRequest.h:90
Aws::Personalize::Model::ListDatasetExportJobsRequest::WithNextToken
ListDatasetExportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListDatasetExportJobsRequest.h:126