AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
49 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
50 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
51 ListProcessingJobsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
60 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
61 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
62 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
63 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
64 ListProcessingJobsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const { return m_lastModifiedTimeAfter; }
73 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
74 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
75 void SetLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::forward<LastModifiedTimeAfterT>(value); }
76 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
77 ListProcessingJobsRequest& WithLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { SetLastModifiedTimeAfter(std::forward<LastModifiedTimeAfterT>(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const { return m_lastModifiedTimeBefore; }
86 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
87 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
88 void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::forward<LastModifiedTimeBeforeT>(value); }
89 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
90 ListProcessingJobsRequest& WithLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { SetLastModifiedTimeBefore(std::forward<LastModifiedTimeBeforeT>(value)); return *this;}
92
94
98 inline const Aws::String& GetNameContains() const { return m_nameContains; }
99 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
100 template<typename NameContainsT = Aws::String>
101 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
102 template<typename NameContainsT = Aws::String>
103 ListProcessingJobsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
105
107
110 inline ProcessingJobStatus GetStatusEquals() const { return m_statusEquals; }
111 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
112 inline void SetStatusEquals(ProcessingJobStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
115
117
120 inline SortBy GetSortBy() const { return m_sortBy; }
121 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
122 inline void SetSortBy(SortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
123 inline ListProcessingJobsRequest& WithSortBy(SortBy value) { SetSortBy(value); return *this;}
125
127
130 inline SortOrder GetSortOrder() const { return m_sortOrder; }
131 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
132 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
133 inline ListProcessingJobsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
135
137
142 inline const Aws::String& GetNextToken() const { return m_nextToken; }
143 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 template<typename NextTokenT = Aws::String>
145 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
146 template<typename NextTokenT = Aws::String>
147 ListProcessingJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
149
151
154 inline int GetMaxResults() const { return m_maxResults; }
155 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
156 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
157 inline ListProcessingJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
159 private:
160
161 Aws::Utils::DateTime m_creationTimeAfter{};
162 bool m_creationTimeAfterHasBeenSet = false;
163
164 Aws::Utils::DateTime m_creationTimeBefore{};
165 bool m_creationTimeBeforeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastModifiedTimeAfter{};
168 bool m_lastModifiedTimeAfterHasBeenSet = false;
169
170 Aws::Utils::DateTime m_lastModifiedTimeBefore{};
171 bool m_lastModifiedTimeBeforeHasBeenSet = false;
172
173 Aws::String m_nameContains;
174 bool m_nameContainsHasBeenSet = false;
175
177 bool m_statusEqualsHasBeenSet = false;
178
179 SortBy m_sortBy{SortBy::NOT_SET};
180 bool m_sortByHasBeenSet = false;
181
182 SortOrder m_sortOrder{SortOrder::NOT_SET};
183 bool m_sortOrderHasBeenSet = false;
184
185 Aws::String m_nextToken;
186 bool m_nextTokenHasBeenSet = false;
187
188 int m_maxResults{0};
189 bool m_maxResultsHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
AWS_SAGEMAKER_API ListProcessingJobsRequest()=default
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListProcessingJobsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListProcessingJobsRequest & WithSortBy(SortBy value)
ListProcessingJobsRequest & WithNextToken(NextTokenT &&value)
ListProcessingJobsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListProcessingJobsRequest & WithSortOrder(SortOrder value)
ListProcessingJobsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
ListProcessingJobsRequest & WithLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
ListProcessingJobsRequest & WithLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListProcessingJobsRequest & WithStatusEquals(ProcessingJobStatus value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListProcessingJobsRequest & WithNameContains(NameContainsT &&value)
void SetLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String