AWS SDK for C++  1.8.95
AWS SDK for C++
ListAutoMLJobsRequest.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 "ListAutoMLJobs"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
44  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
45 
49  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
50 
54  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
55 
59  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
60 
64  inline ListAutoMLJobsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
65 
69  inline ListAutoMLJobsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
70 
71 
75  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
76 
80  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
81 
85  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
86 
90  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
91 
95  inline ListAutoMLJobsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
96 
100  inline ListAutoMLJobsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
101 
102 
106  inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
107 
111  inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
112 
116  inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
117 
121  inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
122 
126  inline ListAutoMLJobsRequest& WithLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetLastModifiedTimeAfter(value); return *this;}
127 
131  inline ListAutoMLJobsRequest& WithLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetLastModifiedTimeAfter(std::move(value)); return *this;}
132 
133 
137  inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
138 
142  inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
143 
147  inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
148 
152  inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
153 
157  inline ListAutoMLJobsRequest& WithLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetLastModifiedTimeBefore(value); return *this;}
158 
162  inline ListAutoMLJobsRequest& WithLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetLastModifiedTimeBefore(std::move(value)); return *this;}
163 
164 
168  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
169 
173  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
174 
178  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
179 
183  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
184 
188  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
189 
193  inline ListAutoMLJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
194 
198  inline ListAutoMLJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
199 
203  inline ListAutoMLJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
204 
205 
209  inline const AutoMLJobStatus& GetStatusEquals() const{ return m_statusEquals; }
210 
214  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
215 
219  inline void SetStatusEquals(const AutoMLJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
220 
224  inline void SetStatusEquals(AutoMLJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
225 
229  inline ListAutoMLJobsRequest& WithStatusEquals(const AutoMLJobStatus& value) { SetStatusEquals(value); return *this;}
230 
234  inline ListAutoMLJobsRequest& WithStatusEquals(AutoMLJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
235 
236 
240  inline const AutoMLSortOrder& GetSortOrder() const{ return m_sortOrder; }
241 
245  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
246 
250  inline void SetSortOrder(const AutoMLSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
251 
255  inline void SetSortOrder(AutoMLSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
256 
260  inline ListAutoMLJobsRequest& WithSortOrder(const AutoMLSortOrder& value) { SetSortOrder(value); return *this;}
261 
265  inline ListAutoMLJobsRequest& WithSortOrder(AutoMLSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
266 
267 
271  inline const AutoMLSortBy& GetSortBy() const{ return m_sortBy; }
272 
276  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
277 
281  inline void SetSortBy(const AutoMLSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
282 
286  inline void SetSortBy(AutoMLSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
287 
291  inline ListAutoMLJobsRequest& WithSortBy(const AutoMLSortBy& value) { SetSortBy(value); return *this;}
292 
296  inline ListAutoMLJobsRequest& WithSortBy(AutoMLSortBy&& value) { SetSortBy(std::move(value)); return *this;}
297 
298 
302  inline int GetMaxResults() const{ return m_maxResults; }
303 
307  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
308 
312  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
313 
317  inline ListAutoMLJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
318 
319 
324  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
325 
330  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
331 
336  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
337 
342  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
343 
348  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
349 
354  inline ListAutoMLJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
355 
360  inline ListAutoMLJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
361 
366  inline ListAutoMLJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
367 
368  private:
369 
370  Aws::Utils::DateTime m_creationTimeAfter;
371  bool m_creationTimeAfterHasBeenSet;
372 
373  Aws::Utils::DateTime m_creationTimeBefore;
374  bool m_creationTimeBeforeHasBeenSet;
375 
376  Aws::Utils::DateTime m_lastModifiedTimeAfter;
377  bool m_lastModifiedTimeAfterHasBeenSet;
378 
379  Aws::Utils::DateTime m_lastModifiedTimeBefore;
380  bool m_lastModifiedTimeBeforeHasBeenSet;
381 
382  Aws::String m_nameContains;
383  bool m_nameContainsHasBeenSet;
384 
385  AutoMLJobStatus m_statusEquals;
386  bool m_statusEqualsHasBeenSet;
387 
388  AutoMLSortOrder m_sortOrder;
389  bool m_sortOrderHasBeenSet;
390 
391  AutoMLSortBy m_sortBy;
392  bool m_sortByHasBeenSet;
393 
394  int m_maxResults;
395  bool m_maxResultsHasBeenSet;
396 
397  Aws::String m_nextToken;
398  bool m_nextTokenHasBeenSet;
399  };
400 
401 } // namespace Model
402 } // namespace SageMaker
403 } // namespace Aws
ListAutoMLJobsRequest & WithMaxResults(int value)
ListAutoMLJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
#define AWS_SAGEMAKER_API
ListAutoMLJobsRequest & WithStatusEquals(AutoMLJobStatus &&value)
ListAutoMLJobsRequest & WithNameContains(const Aws::String &value)
ListAutoMLJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListAutoMLJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetStatusEquals(const AutoMLJobStatus &value)
void SetSortOrder(const AutoMLSortOrder &value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
const AutoMLJobStatus & GetStatusEquals() const
ListAutoMLJobsRequest & WithSortOrder(AutoMLSortOrder &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListAutoMLJobsRequest & WithNextToken(const char *value)
ListAutoMLJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListAutoMLJobsRequest & WithSortBy(const AutoMLSortBy &value)
virtual const char * GetServiceRequestName() const override
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListAutoMLJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListAutoMLJobsRequest & WithNameContains(const char *value)
ListAutoMLJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListAutoMLJobsRequest & WithStatusEquals(const AutoMLJobStatus &value)
ListAutoMLJobsRequest & WithNameContains(Aws::String &&value)
ListAutoMLJobsRequest & WithSortBy(AutoMLSortBy &&value)
ListAutoMLJobsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListAutoMLJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListAutoMLJobsRequest & WithSortOrder(const AutoMLSortOrder &value)
ListAutoMLJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListAutoMLJobsRequest & WithNextToken(Aws::String &&value)