AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCompilationJobsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/CompilationJobStatus.h>
12#include <aws/sagemaker/model/ListCompilationJobsSortBy.h>
13#include <aws/sagemaker/model/SortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListCompilationJobsRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
50 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
51 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
52 inline ListCompilationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
53 inline ListCompilationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline ListCompilationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline ListCompilationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
73 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
74 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
75 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
79
81
85 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
86 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
87 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
88 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
92
94
98 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
99 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
100 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
101 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
105
107
111 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
112 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
113 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
114 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
118
120
124 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
125 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
126 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
127 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
128 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
129 inline ListCompilationJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
130 inline ListCompilationJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
131 inline ListCompilationJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
133
135
139 inline const CompilationJobStatus& GetStatusEquals() const{ return m_statusEquals; }
140 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
141 inline void SetStatusEquals(const CompilationJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
142 inline void SetStatusEquals(CompilationJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
144 inline ListCompilationJobsRequest& WithStatusEquals(CompilationJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
146
148
152 inline const ListCompilationJobsSortBy& GetSortBy() const{ return m_sortBy; }
153 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
154 inline void SetSortBy(const ListCompilationJobsSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
155 inline void SetSortBy(ListCompilationJobsSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
156 inline ListCompilationJobsRequest& WithSortBy(const ListCompilationJobsSortBy& value) { SetSortBy(value); return *this;}
157 inline ListCompilationJobsRequest& WithSortBy(ListCompilationJobsSortBy&& value) { SetSortBy(std::move(value)); return *this;}
159
161
164 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
165 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
166 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
167 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
168 inline ListCompilationJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
169 inline ListCompilationJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
171 private:
172
173 Aws::String m_nextToken;
174 bool m_nextTokenHasBeenSet = false;
175
176 int m_maxResults;
177 bool m_maxResultsHasBeenSet = false;
178
179 Aws::Utils::DateTime m_creationTimeAfter;
180 bool m_creationTimeAfterHasBeenSet = false;
181
182 Aws::Utils::DateTime m_creationTimeBefore;
183 bool m_creationTimeBeforeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_lastModifiedTimeAfter;
186 bool m_lastModifiedTimeAfterHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedTimeBefore;
189 bool m_lastModifiedTimeBeforeHasBeenSet = false;
190
191 Aws::String m_nameContains;
192 bool m_nameContainsHasBeenSet = false;
193
194 CompilationJobStatus m_statusEquals;
195 bool m_statusEqualsHasBeenSet = false;
196
198 bool m_sortByHasBeenSet = false;
199
200 SortOrder m_sortOrder;
201 bool m_sortOrderHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace SageMaker
206} // namespace Aws
ListCompilationJobsRequest & WithSortBy(ListCompilationJobsSortBy &&value)
ListCompilationJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListCompilationJobsRequest & WithSortOrder(const SortOrder &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListCompilationJobsRequest & WithMaxResults(int value)
ListCompilationJobsRequest & WithNameContains(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
void SetStatusEquals(const CompilationJobStatus &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListCompilationJobsRequest & WithNextToken(Aws::String &&value)
ListCompilationJobsRequest & WithStatusEquals(CompilationJobStatus &&value)
void SetSortBy(const ListCompilationJobsSortBy &value)
ListCompilationJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListCompilationJobsRequest & WithNameContains(const char *value)
ListCompilationJobsRequest & WithSortOrder(SortOrder &&value)
ListCompilationJobsRequest & WithStatusEquals(const CompilationJobStatus &value)
ListCompilationJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
virtual const char * GetServiceRequestName() const override
ListCompilationJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListCompilationJobsRequest & WithNextToken(const Aws::String &value)
const ListCompilationJobsSortBy & GetSortBy() const
ListCompilationJobsRequest & WithSortBy(const ListCompilationJobsSortBy &value)
ListCompilationJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithNextToken(const char *value)
ListCompilationJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListCompilationJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListCompilationJobsRequest & WithNameContains(const Aws::String &value)
ListCompilationJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String