AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ListLabelingJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ListLabelingJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ListLabelingJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119
121
125 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
126 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
127 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
128 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
129 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
130 inline ListLabelingJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
131 inline ListLabelingJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
132 inline ListLabelingJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
134
136
139 inline const SortBy& GetSortBy() const{ return m_sortBy; }
140 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
141 inline void SetSortBy(const SortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
142 inline void SetSortBy(SortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
143 inline ListLabelingJobsRequest& WithSortBy(const SortBy& value) { SetSortBy(value); return *this;}
144 inline ListLabelingJobsRequest& WithSortBy(SortBy&& value) { SetSortBy(std::move(value)); return *this;}
146
148
151 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
152 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
153 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
154 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
155 inline ListLabelingJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
156 inline ListLabelingJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
158
160
163 inline const LabelingJobStatus& GetStatusEquals() const{ return m_statusEquals; }
164 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
165 inline void SetStatusEquals(const LabelingJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
166 inline void SetStatusEquals(LabelingJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
167 inline ListLabelingJobsRequest& WithStatusEquals(const LabelingJobStatus& value) { SetStatusEquals(value); return *this;}
168 inline ListLabelingJobsRequest& WithStatusEquals(LabelingJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
170 private:
171
172 Aws::Utils::DateTime m_creationTimeAfter;
173 bool m_creationTimeAfterHasBeenSet = false;
174
175 Aws::Utils::DateTime m_creationTimeBefore;
176 bool m_creationTimeBeforeHasBeenSet = false;
177
178 Aws::Utils::DateTime m_lastModifiedTimeAfter;
179 bool m_lastModifiedTimeAfterHasBeenSet = false;
180
181 Aws::Utils::DateTime m_lastModifiedTimeBefore;
182 bool m_lastModifiedTimeBeforeHasBeenSet = false;
183
184 int m_maxResults;
185 bool m_maxResultsHasBeenSet = false;
186
187 Aws::String m_nextToken;
188 bool m_nextTokenHasBeenSet = false;
189
190 Aws::String m_nameContains;
191 bool m_nameContainsHasBeenSet = false;
192
193 SortBy m_sortBy;
194 bool m_sortByHasBeenSet = false;
195
196 SortOrder m_sortOrder;
197 bool m_sortOrderHasBeenSet = false;
198
199 LabelingJobStatus m_statusEquals;
200 bool m_statusEqualsHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace SageMaker
205} // namespace Aws
ListLabelingJobsRequest & WithSortBy(const SortBy &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithStatusEquals(LabelingJobStatus &&value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithNextToken(const Aws::String &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetStatusEquals(const LabelingJobStatus &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithNextToken(Aws::String &&value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithSortOrder(SortOrder &&value)
ListLabelingJobsRequest & WithMaxResults(int value)
ListLabelingJobsRequest & WithStatusEquals(const LabelingJobStatus &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListLabelingJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListLabelingJobsRequest & WithNameContains(const Aws::String &value)
ListLabelingJobsRequest & WithNameContains(Aws::String &&value)
ListLabelingJobsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithSortOrder(const SortOrder &value)
ListLabelingJobsRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListLabelingJobsRequest & WithNameContains(const char *value)
ListLabelingJobsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListLabelingJobsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListLabelingJobsRequest & WithSortBy(SortBy &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String