AWS SDK for C++  1.9.158
AWS SDK for C++
ListLabelingJobsForWorkteamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListLabelingJobsForWorkteam"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; }
45 
50  inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
51 
56  inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; }
57 
62  inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); }
63 
68  inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); }
69 
74  inline ListLabelingJobsForWorkteamRequest& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;}
75 
80  inline ListLabelingJobsForWorkteamRequest& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;}
81 
86  inline ListLabelingJobsForWorkteamRequest& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;}
87 
88 
93  inline int GetMaxResults() const{ return m_maxResults; }
94 
99  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 
105  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
106 
111  inline ListLabelingJobsForWorkteamRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
112 
113 
119  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 
126  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 
133  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
134 
140  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
141 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
154  inline ListLabelingJobsForWorkteamRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
155 
161  inline ListLabelingJobsForWorkteamRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
162 
168  inline ListLabelingJobsForWorkteamRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
169 
170 
175  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
176 
181  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
182 
187  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
188 
193  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
194 
199  inline ListLabelingJobsForWorkteamRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
200 
205  inline ListLabelingJobsForWorkteamRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
206 
207 
212  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
213 
218  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
219 
224  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
225 
230  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
231 
236  inline ListLabelingJobsForWorkteamRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
237 
242  inline ListLabelingJobsForWorkteamRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
243 
244 
249  inline const Aws::String& GetJobReferenceCodeContains() const{ return m_jobReferenceCodeContains; }
250 
255  inline bool JobReferenceCodeContainsHasBeenSet() const { return m_jobReferenceCodeContainsHasBeenSet; }
256 
261  inline void SetJobReferenceCodeContains(const Aws::String& value) { m_jobReferenceCodeContainsHasBeenSet = true; m_jobReferenceCodeContains = value; }
262 
267  inline void SetJobReferenceCodeContains(Aws::String&& value) { m_jobReferenceCodeContainsHasBeenSet = true; m_jobReferenceCodeContains = std::move(value); }
268 
273  inline void SetJobReferenceCodeContains(const char* value) { m_jobReferenceCodeContainsHasBeenSet = true; m_jobReferenceCodeContains.assign(value); }
274 
279  inline ListLabelingJobsForWorkteamRequest& WithJobReferenceCodeContains(const Aws::String& value) { SetJobReferenceCodeContains(value); return *this;}
280 
285  inline ListLabelingJobsForWorkteamRequest& WithJobReferenceCodeContains(Aws::String&& value) { SetJobReferenceCodeContains(std::move(value)); return *this;}
286 
291  inline ListLabelingJobsForWorkteamRequest& WithJobReferenceCodeContains(const char* value) { SetJobReferenceCodeContains(value); return *this;}
292 
293 
297  inline const ListLabelingJobsForWorkteamSortByOptions& GetSortBy() const{ return m_sortBy; }
298 
302  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
303 
307  inline void SetSortBy(const ListLabelingJobsForWorkteamSortByOptions& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
308 
312  inline void SetSortBy(ListLabelingJobsForWorkteamSortByOptions&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
313 
317  inline ListLabelingJobsForWorkteamRequest& WithSortBy(const ListLabelingJobsForWorkteamSortByOptions& value) { SetSortBy(value); return *this;}
318 
322  inline ListLabelingJobsForWorkteamRequest& WithSortBy(ListLabelingJobsForWorkteamSortByOptions&& value) { SetSortBy(std::move(value)); return *this;}
323 
324 
328  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
329 
333  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
334 
338  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
339 
343  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
344 
348  inline ListLabelingJobsForWorkteamRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
349 
353  inline ListLabelingJobsForWorkteamRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
354 
355  private:
356 
357  Aws::String m_workteamArn;
358  bool m_workteamArnHasBeenSet;
359 
360  int m_maxResults;
361  bool m_maxResultsHasBeenSet;
362 
363  Aws::String m_nextToken;
364  bool m_nextTokenHasBeenSet;
365 
366  Aws::Utils::DateTime m_creationTimeAfter;
367  bool m_creationTimeAfterHasBeenSet;
368 
369  Aws::Utils::DateTime m_creationTimeBefore;
370  bool m_creationTimeBeforeHasBeenSet;
371 
372  Aws::String m_jobReferenceCodeContains;
373  bool m_jobReferenceCodeContainsHasBeenSet;
374 
376  bool m_sortByHasBeenSet;
377 
378  SortOrder m_sortOrder;
379  bool m_sortOrderHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace SageMaker
384 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithJobReferenceCodeContains
ListLabelingJobsForWorkteamRequest & WithJobReferenceCodeContains(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:291
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SortOrder
SortOrder
Definition: SortOrder.h:17
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:147
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:99
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithNextToken
ListLabelingJobsForWorkteamRequest & WithNextToken(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:161
DateTime.h
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetCreationTimeBefore
const Aws::Utils::DateTime & GetCreationTimeBefore() const
Definition: ListLabelingJobsForWorkteamRequest.h:212
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithNextToken
ListLabelingJobsForWorkteamRequest & WithNextToken(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:154
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetSortOrder
const SortOrder & GetSortOrder() const
Definition: ListLabelingJobsForWorkteamRequest.h:328
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SortOrderHasBeenSet
bool SortOrderHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:333
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetCreationTimeAfter
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:193
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetCreationTimeAfter
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Definition: ListLabelingJobsForWorkteamRequest.h:175
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetSortBy
void SetSortBy(ListLabelingJobsForWorkteamSortByOptions &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:312
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithSortBy
ListLabelingJobsForWorkteamRequest & WithSortBy(ListLabelingJobsForWorkteamSortByOptions &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:322
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithCreationTimeAfter
ListLabelingJobsForWorkteamRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:205
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetJobReferenceCodeContains
void SetJobReferenceCodeContains(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:261
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::CreationTimeBeforeHasBeenSet
bool CreationTimeBeforeHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:218
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithJobReferenceCodeContains
ListLabelingJobsForWorkteamRequest & WithJobReferenceCodeContains(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:279
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListLabelingJobsForWorkteamRequest.h:105
SortOrder.h
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetMaxResults
int GetMaxResults() const
Definition: ListLabelingJobsForWorkteamRequest.h:93
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetWorkteamArn
void SetWorkteamArn(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:56
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:133
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithWorkteamArn
ListLabelingJobsForWorkteamRequest & WithWorkteamArn(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:80
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:302
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:126
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithSortOrder
ListLabelingJobsForWorkteamRequest & WithSortOrder(SortOrder &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:353
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetJobReferenceCodeContains
void SetJobReferenceCodeContains(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:273
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetCreationTimeBefore
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListLabelingJobsForWorkteamRequest.h:224
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithNextToken
ListLabelingJobsForWorkteamRequest & WithNextToken(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:168
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLabelingJobsForWorkteamRequest.h:33
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetWorkteamArn
void SetWorkteamArn(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:62
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:140
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithCreationTimeAfter
ListLabelingJobsForWorkteamRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListLabelingJobsForWorkteamRequest.h:199
AWSString.h
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithSortBy
ListLabelingJobsForWorkteamRequest & WithSortBy(const ListLabelingJobsForWorkteamSortByOptions &value)
Definition: ListLabelingJobsForWorkteamRequest.h:317
ListLabelingJobsForWorkteamSortByOptions.h
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetCreationTimeBefore
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:230
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithCreationTimeBefore
ListLabelingJobsForWorkteamRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Definition: ListLabelingJobsForWorkteamRequest.h:236
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::CreationTimeAfterHasBeenSet
bool CreationTimeAfterHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:181
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::ListLabelingJobsForWorkteamRequest
ListLabelingJobsForWorkteamRequest()
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::JobReferenceCodeContainsHasBeenSet
bool JobReferenceCodeContainsHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:255
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WorkteamArnHasBeenSet
bool WorkteamArnHasBeenSet() const
Definition: ListLabelingJobsForWorkteamRequest.h:50
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithJobReferenceCodeContains
ListLabelingJobsForWorkteamRequest & WithJobReferenceCodeContains(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:285
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetCreationTimeAfter
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
Definition: ListLabelingJobsForWorkteamRequest.h:187
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetSortOrder
void SetSortOrder(SortOrder &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:343
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithCreationTimeBefore
ListLabelingJobsForWorkteamRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:242
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetWorkteamArn
void SetWorkteamArn(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:68
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithSortOrder
ListLabelingJobsForWorkteamRequest & WithSortOrder(const SortOrder &value)
Definition: ListLabelingJobsForWorkteamRequest.h:348
SageMakerRequest.h
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithWorkteamArn
ListLabelingJobsForWorkteamRequest & WithWorkteamArn(const char *value)
Definition: ListLabelingJobsForWorkteamRequest.h:86
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetJobReferenceCodeContains
const Aws::String & GetJobReferenceCodeContains() const
Definition: ListLabelingJobsForWorkteamRequest.h:249
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetSortBy
const ListLabelingJobsForWorkteamSortByOptions & GetSortBy() const
Definition: ListLabelingJobsForWorkteamRequest.h:297
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetWorkteamArn
const Aws::String & GetWorkteamArn() const
Definition: ListLabelingJobsForWorkteamRequest.h:44
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetJobReferenceCodeContains
void SetJobReferenceCodeContains(Aws::String &&value)
Definition: ListLabelingJobsForWorkteamRequest.h:267
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithWorkteamArn
ListLabelingJobsForWorkteamRequest & WithWorkteamArn(const Aws::String &value)
Definition: ListLabelingJobsForWorkteamRequest.h:74
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::WithMaxResults
ListLabelingJobsForWorkteamRequest & WithMaxResults(int value)
Definition: ListLabelingJobsForWorkteamRequest.h:111
Aws::SageMaker::Model::ListLabelingJobsForWorkteamSortByOptions
ListLabelingJobsForWorkteamSortByOptions
Definition: ListLabelingJobsForWorkteamSortByOptions.h:17
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetSortBy
void SetSortBy(const ListLabelingJobsForWorkteamSortByOptions &value)
Definition: ListLabelingJobsForWorkteamRequest.h:307
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest
Definition: ListLabelingJobsForWorkteamRequest.h:25
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::SetSortOrder
void SetSortOrder(const SortOrder &value)
Definition: ListLabelingJobsForWorkteamRequest.h:338
Aws::SageMaker::Model::ListLabelingJobsForWorkteamRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLabelingJobsForWorkteamRequest.h:119