AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProcessingJobsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/ProcessingJobStatus.h>
12#include <aws/sagemaker/model/SortBy.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 ListProcessingJobsRequest();
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 "ListProcessingJobs"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
47 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
48 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
49 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
53
55
59 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
60 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
61 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
62 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
66
68
72 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
73 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
74 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
75 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
79
81
85 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
86 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
87 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
88 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
92
94
98 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
99 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
100 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
101 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
102 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
103 inline ListProcessingJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
104 inline ListProcessingJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
105 inline ListProcessingJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
107
109
112 inline const ProcessingJobStatus& GetStatusEquals() const{ return m_statusEquals; }
113 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
114 inline void SetStatusEquals(const ProcessingJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
115 inline void SetStatusEquals(ProcessingJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
117 inline ListProcessingJobsRequest& WithStatusEquals(ProcessingJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
119
121
124 inline const SortBy& GetSortBy() const{ return m_sortBy; }
125 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
126 inline void SetSortBy(const SortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
127 inline void SetSortBy(SortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
128 inline ListProcessingJobsRequest& WithSortBy(const SortBy& value) { SetSortBy(value); return *this;}
129 inline ListProcessingJobsRequest& WithSortBy(SortBy&& value) { SetSortBy(std::move(value)); return *this;}
131
133
136 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
137 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
138 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
139 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
140 inline ListProcessingJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
141 inline ListProcessingJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
143
145
150 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
151 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
152 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
153 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
155 inline ListProcessingJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
156 inline ListProcessingJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
157 inline ListProcessingJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
159
161
164 inline int GetMaxResults() const{ return m_maxResults; }
165 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
166 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
167 inline ListProcessingJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
169 private:
170
171 Aws::Utils::DateTime m_creationTimeAfter;
172 bool m_creationTimeAfterHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationTimeBefore;
175 bool m_creationTimeBeforeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastModifiedTimeAfter;
178 bool m_lastModifiedTimeAfterHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedTimeBefore;
181 bool m_lastModifiedTimeBeforeHasBeenSet = false;
182
183 Aws::String m_nameContains;
184 bool m_nameContainsHasBeenSet = false;
185
186 ProcessingJobStatus m_statusEquals;
187 bool m_statusEqualsHasBeenSet = false;
188
189 SortBy m_sortBy;
190 bool m_sortByHasBeenSet = false;
191
192 SortOrder m_sortOrder;
193 bool m_sortOrderHasBeenSet = false;
194
195 Aws::String m_nextToken;
196 bool m_nextTokenHasBeenSet = false;
197
198 int m_maxResults;
199 bool m_maxResultsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace SageMaker
204} // namespace Aws
ListProcessingJobsRequest & WithSortBy(SortBy &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListProcessingJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListProcessingJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListProcessingJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListProcessingJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListProcessingJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListProcessingJobsRequest & WithStatusEquals(const ProcessingJobStatus &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListProcessingJobsRequest & WithNameContains(const char *value)
ListProcessingJobsRequest & WithSortOrder(const SortOrder &value)
ListProcessingJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListProcessingJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListProcessingJobsRequest & WithSortOrder(SortOrder &&value)
ListProcessingJobsRequest & WithNameContains(Aws::String &&value)
ListProcessingJobsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListProcessingJobsRequest & WithNextToken(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListProcessingJobsRequest & WithNextToken(const Aws::String &value)
ListProcessingJobsRequest & WithNameContains(const Aws::String &value)
ListProcessingJobsRequest & WithSortBy(const SortBy &value)
ListProcessingJobsRequest & WithStatusEquals(ProcessingJobStatus &&value)
ListProcessingJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListProcessingJobsRequest & WithNextToken(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
void SetStatusEquals(const ProcessingJobStatus &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String