AWS SDK for C++  1.8.95
AWS SDK for C++
ListLabelingJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace SageMaker
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 "ListLabelingJobs"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
45  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
46 
51  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
52 
57  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
58 
63  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
64 
69  inline ListLabelingJobsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
70 
75  inline ListLabelingJobsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
76 
77 
82  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
83 
88  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
89 
94  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
95 
100  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
101 
106  inline ListLabelingJobsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
107 
112  inline ListLabelingJobsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
113 
114 
119  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
120 
125  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
126 
131  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
132 
137  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
138 
143  inline ListLabelingJobsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
144 
149  inline ListLabelingJobsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
150 
151 
156  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
157 
162  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
163 
168  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
169 
174  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
175 
180  inline ListLabelingJobsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
181 
186  inline ListLabelingJobsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
187 
188 
193  inline int GetMaxResults() const{ return m_maxResults; }
194 
199  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
200 
205  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
206 
211  inline ListLabelingJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
212 
213 
219  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
220 
226  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
227 
233  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
234 
240  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
241 
247  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
248 
254  inline ListLabelingJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
255 
261  inline ListLabelingJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
262 
268  inline ListLabelingJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
269 
270 
275  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
276 
281  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
282 
287  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
288 
293  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
294 
299  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
300 
305  inline ListLabelingJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
306 
311  inline ListLabelingJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
312 
317  inline ListLabelingJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
318 
319 
323  inline const SortBy& GetSortBy() const{ return m_sortBy; }
324 
328  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
329 
333  inline void SetSortBy(const SortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
334 
338  inline void SetSortBy(SortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
339 
343  inline ListLabelingJobsRequest& WithSortBy(const SortBy& value) { SetSortBy(value); return *this;}
344 
348  inline ListLabelingJobsRequest& WithSortBy(SortBy&& value) { SetSortBy(std::move(value)); return *this;}
349 
350 
354  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
355 
359  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
360 
364  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
365 
369  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
370 
374  inline ListLabelingJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
375 
379  inline ListLabelingJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
380 
381 
385  inline const LabelingJobStatus& GetStatusEquals() const{ return m_statusEquals; }
386 
390  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
391 
395  inline void SetStatusEquals(const LabelingJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
396 
400  inline void SetStatusEquals(LabelingJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
401 
405  inline ListLabelingJobsRequest& WithStatusEquals(const LabelingJobStatus& value) { SetStatusEquals(value); return *this;}
406 
410  inline ListLabelingJobsRequest& WithStatusEquals(LabelingJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
411 
412  private:
413 
414  Aws::Utils::DateTime m_creationTimeAfter;
415  bool m_creationTimeAfterHasBeenSet;
416 
417  Aws::Utils::DateTime m_creationTimeBefore;
418  bool m_creationTimeBeforeHasBeenSet;
419 
420  Aws::Utils::DateTime m_lastModifiedTimeAfter;
421  bool m_lastModifiedTimeAfterHasBeenSet;
422 
423  Aws::Utils::DateTime m_lastModifiedTimeBefore;
424  bool m_lastModifiedTimeBeforeHasBeenSet;
425 
426  int m_maxResults;
427  bool m_maxResultsHasBeenSet;
428 
429  Aws::String m_nextToken;
430  bool m_nextTokenHasBeenSet;
431 
432  Aws::String m_nameContains;
433  bool m_nameContainsHasBeenSet;
434 
435  SortBy m_sortBy;
436  bool m_sortByHasBeenSet;
437 
438  SortOrder m_sortOrder;
439  bool m_sortOrderHasBeenSet;
440 
441  LabelingJobStatus m_statusEquals;
442  bool m_statusEqualsHasBeenSet;
443  };
444 
445 } // namespace Model
446 } // namespace SageMaker
447 } // namespace Aws
ListLabelingJobsRequest & WithNameContains(Aws::String &&value)
#define AWS_SAGEMAKER_API
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListLabelingJobsRequest & WithNameContains(const Aws::String &value)
ListLabelingJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
ListLabelingJobsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListLabelingJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithSortBy(SortBy &&value)
ListLabelingJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithNextToken(Aws::String &&value)
ListLabelingJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithStatusEquals(const LabelingJobStatus &value)
ListLabelingJobsRequest & WithSortOrder(const SortOrder &value)
ListLabelingJobsRequest & WithSortBy(const SortBy &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetStatusEquals(const LabelingJobStatus &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithNextToken(const Aws::String &value)
ListLabelingJobsRequest & WithStatusEquals(LabelingJobStatus &&value)
ListLabelingJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListLabelingJobsRequest & WithNameContains(const char *value)
ListLabelingJobsRequest & WithSortOrder(SortOrder &&value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithNextToken(const char *value)