AWS SDK for C++  1.8.71
AWS SDK for C++
ListCompilationJobsRequest.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 "ListCompilationJobs"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
46  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 
53  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 
60  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 
67  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 
74  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 
81  inline ListCompilationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 
88  inline ListCompilationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 
95  inline ListCompilationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96 
97 
101  inline int GetMaxResults() const{ return m_maxResults; }
102 
106  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 
111  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 
116  inline ListCompilationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
117 
118 
123  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
124 
129  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
130 
135  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
136 
141  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
142 
147  inline ListCompilationJobsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
148 
153  inline ListCompilationJobsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
154 
155 
160  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
161 
166  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
167 
172  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
173 
178  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
179 
184  inline ListCompilationJobsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
185 
190  inline ListCompilationJobsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
191 
192 
197  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
198 
203  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
204 
209  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
210 
215  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
216 
221  inline ListCompilationJobsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
222 
227  inline ListCompilationJobsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
228 
229 
234  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
235 
240  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
241 
246  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
247 
252  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
253 
258  inline ListCompilationJobsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
259 
264  inline ListCompilationJobsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
265 
266 
271  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
272 
277  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
278 
283  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
284 
289  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
290 
295  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
296 
301  inline ListCompilationJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
302 
307  inline ListCompilationJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
308 
313  inline ListCompilationJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
314 
315 
320  inline const CompilationJobStatus& GetStatusEquals() const{ return m_statusEquals; }
321 
326  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
327 
332  inline void SetStatusEquals(const CompilationJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
333 
338  inline void SetStatusEquals(CompilationJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
339 
344  inline ListCompilationJobsRequest& WithStatusEquals(const CompilationJobStatus& value) { SetStatusEquals(value); return *this;}
345 
350  inline ListCompilationJobsRequest& WithStatusEquals(CompilationJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
351 
352 
357  inline const ListCompilationJobsSortBy& GetSortBy() const{ return m_sortBy; }
358 
363  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
364 
369  inline void SetSortBy(const ListCompilationJobsSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
370 
375  inline void SetSortBy(ListCompilationJobsSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
376 
381  inline ListCompilationJobsRequest& WithSortBy(const ListCompilationJobsSortBy& value) { SetSortBy(value); return *this;}
382 
387  inline ListCompilationJobsRequest& WithSortBy(ListCompilationJobsSortBy&& value) { SetSortBy(std::move(value)); return *this;}
388 
389 
393  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
394 
398  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
399 
403  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
404 
408  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
409 
413  inline ListCompilationJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
414 
418  inline ListCompilationJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
419 
420  private:
421 
422  Aws::String m_nextToken;
423  bool m_nextTokenHasBeenSet;
424 
425  int m_maxResults;
426  bool m_maxResultsHasBeenSet;
427 
428  Aws::Utils::DateTime m_creationTimeAfter;
429  bool m_creationTimeAfterHasBeenSet;
430 
431  Aws::Utils::DateTime m_creationTimeBefore;
432  bool m_creationTimeBeforeHasBeenSet;
433 
434  Aws::Utils::DateTime m_lastModifiedTimeAfter;
435  bool m_lastModifiedTimeAfterHasBeenSet;
436 
437  Aws::Utils::DateTime m_lastModifiedTimeBefore;
438  bool m_lastModifiedTimeBeforeHasBeenSet;
439 
440  Aws::String m_nameContains;
441  bool m_nameContainsHasBeenSet;
442 
443  CompilationJobStatus m_statusEquals;
444  bool m_statusEqualsHasBeenSet;
445 
446  ListCompilationJobsSortBy m_sortBy;
447  bool m_sortByHasBeenSet;
448 
449  SortOrder m_sortOrder;
450  bool m_sortOrderHasBeenSet;
451  };
452 
453 } // namespace Model
454 } // namespace SageMaker
455 } // namespace Aws
virtual const char * GetServiceRequestName() const override
#define AWS_SAGEMAKER_API
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithStatusEquals(const CompilationJobStatus &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithNameContains(Aws::String &&value)
ListCompilationJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
const ListCompilationJobsSortBy & GetSortBy() const
ListCompilationJobsRequest & WithSortOrder(const SortOrder &value)
ListCompilationJobsRequest & WithNextToken(const char *value)
ListCompilationJobsRequest & WithStatusEquals(CompilationJobStatus &&value)
ListCompilationJobsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListCompilationJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListCompilationJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetSortBy(const ListCompilationJobsSortBy &value)
ListCompilationJobsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListCompilationJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListCompilationJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithSortBy(ListCompilationJobsSortBy &&value)
ListCompilationJobsRequest & WithSortOrder(SortOrder &&value)
ListCompilationJobsRequest & WithNameContains(const Aws::String &value)
ListCompilationJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListCompilationJobsRequest & WithNextToken(Aws::String &&value)
void SetStatusEquals(const CompilationJobStatus &value)
ListCompilationJobsRequest & WithNameContains(const char *value)
ListCompilationJobsRequest & WithSortBy(const ListCompilationJobsSortBy &value)