AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLabelingJobsRequest.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/SortBy.h>
12#include <aws/sagemaker/model/SortOrder.h>
13#include <aws/sagemaker/model/LabelingJobStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListLabelingJobsRequest() = 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 "ListLabelingJobs"; }
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 ListLabelingJobsRequest& 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 ListLabelingJobsRequest& 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 ListLabelingJobsRequest& 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 ListLabelingJobsRequest& WithLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { SetLastModifiedTimeBefore(std::forward<LastModifiedTimeBeforeT>(value)); return *this;}
92
94
98 inline int GetMaxResults() const { return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListLabelingJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103
105
110 inline const Aws::String& GetNextToken() const { return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 template<typename NextTokenT = Aws::String>
113 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
114 template<typename NextTokenT = Aws::String>
115 ListLabelingJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
117
119
123 inline const Aws::String& GetNameContains() const { return m_nameContains; }
124 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
125 template<typename NameContainsT = Aws::String>
126 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
127 template<typename NameContainsT = Aws::String>
128 ListLabelingJobsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
130
132
135 inline SortBy GetSortBy() const { return m_sortBy; }
136 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
137 inline void SetSortBy(SortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
138 inline ListLabelingJobsRequest& WithSortBy(SortBy value) { SetSortBy(value); return *this;}
140
142
145 inline SortOrder GetSortOrder() const { return m_sortOrder; }
146 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
147 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
148 inline ListLabelingJobsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
150
152
155 inline LabelingJobStatus GetStatusEquals() const { return m_statusEquals; }
156 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
157 inline void SetStatusEquals(LabelingJobStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
160 private:
161
162 Aws::Utils::DateTime m_creationTimeAfter{};
163 bool m_creationTimeAfterHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationTimeBefore{};
166 bool m_creationTimeBeforeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedTimeAfter{};
169 bool m_lastModifiedTimeAfterHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastModifiedTimeBefore{};
172 bool m_lastModifiedTimeBeforeHasBeenSet = false;
173
174 int m_maxResults{0};
175 bool m_maxResultsHasBeenSet = false;
176
177 Aws::String m_nextToken;
178 bool m_nextTokenHasBeenSet = false;
179
180 Aws::String m_nameContains;
181 bool m_nameContainsHasBeenSet = false;
182
183 SortBy m_sortBy{SortBy::NOT_SET};
184 bool m_sortByHasBeenSet = false;
185
186 SortOrder m_sortOrder{SortOrder::NOT_SET};
187 bool m_sortOrderHasBeenSet = false;
188
190 bool m_statusEqualsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SageMaker
195} // namespace Aws
void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListLabelingJobsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
ListLabelingJobsRequest & WithSortBy(SortBy value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetCreationTimeBefore(CreationTimeBeforeT &&value)
ListLabelingJobsRequest & WithLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
void SetCreationTimeAfter(CreationTimeAfterT &&value)
ListLabelingJobsRequest & WithMaxResults(int value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListLabelingJobsRequest & WithLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
ListLabelingJobsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListLabelingJobsRequest & WithSortOrder(SortOrder value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
const Aws::Utils::DateTime & GetCreationTimeAfter() const
void SetLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
ListLabelingJobsRequest & WithStatusEquals(LabelingJobStatus value)
ListLabelingJobsRequest & WithNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
AWS_SAGEMAKER_API ListLabelingJobsRequest()=default
ListLabelingJobsRequest & WithNameContains(NameContainsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String