AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeLabelingJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/HumanTaskConfig.h>
13#include <aws/sagemaker/model/LabelCounters.h>
14#include <aws/sagemaker/model/LabelingJobAlgorithmsConfig.h>
15#include <aws/sagemaker/model/LabelingJobInputConfig.h>
16#include <aws/sagemaker/model/LabelingJobOutput.h>
17#include <aws/sagemaker/model/LabelingJobOutputConfig.h>
18#include <aws/sagemaker/model/LabelingJobStatus.h>
19#include <aws/sagemaker/model/LabelingJobStoppingConditions.h>
20#include <aws/sagemaker/model/Tag.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace SageMaker {
34namespace Model {
36 public:
37 AWS_SAGEMAKER_API DescribeLabelingJobResult() = default;
40
42
45 inline LabelingJobStatus GetLabelingJobStatus() const { return m_labelingJobStatus; }
47 m_labelingJobStatusHasBeenSet = true;
48 m_labelingJobStatus = value;
49 }
52 return *this;
53 }
55
57
62 inline const LabelCounters& GetLabelCounters() const { return m_labelCounters; }
63 template <typename LabelCountersT = LabelCounters>
64 void SetLabelCounters(LabelCountersT&& value) {
65 m_labelCountersHasBeenSet = true;
66 m_labelCounters = std::forward<LabelCountersT>(value);
67 }
68 template <typename LabelCountersT = LabelCounters>
70 SetLabelCounters(std::forward<LabelCountersT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
80 template <typename FailureReasonT = Aws::String>
81 void SetFailureReason(FailureReasonT&& value) {
82 m_failureReasonHasBeenSet = true;
83 m_failureReason = std::forward<FailureReasonT>(value);
84 }
85 template <typename FailureReasonT = Aws::String>
87 SetFailureReason(std::forward<FailureReasonT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 template <typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) {
99 m_creationTimeHasBeenSet = true;
100 m_creationTime = std::forward<CreationTimeT>(value);
101 }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
104 SetCreationTime(std::forward<CreationTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
114 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
115 void SetLastModifiedTime(LastModifiedTimeT&& value) {
116 m_lastModifiedTimeHasBeenSet = true;
117 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
118 }
119 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
121 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetJobReferenceCode() const { return m_jobReferenceCode; }
131 template <typename JobReferenceCodeT = Aws::String>
132 void SetJobReferenceCode(JobReferenceCodeT&& value) {
133 m_jobReferenceCodeHasBeenSet = true;
134 m_jobReferenceCode = std::forward<JobReferenceCodeT>(value);
135 }
136 template <typename JobReferenceCodeT = Aws::String>
138 SetJobReferenceCode(std::forward<JobReferenceCodeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetLabelingJobName() const { return m_labelingJobName; }
148 template <typename LabelingJobNameT = Aws::String>
149 void SetLabelingJobName(LabelingJobNameT&& value) {
150 m_labelingJobNameHasBeenSet = true;
151 m_labelingJobName = std::forward<LabelingJobNameT>(value);
152 }
153 template <typename LabelingJobNameT = Aws::String>
155 SetLabelingJobName(std::forward<LabelingJobNameT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
165 template <typename LabelingJobArnT = Aws::String>
166 void SetLabelingJobArn(LabelingJobArnT&& value) {
167 m_labelingJobArnHasBeenSet = true;
168 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
169 }
170 template <typename LabelingJobArnT = Aws::String>
172 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetLabelAttributeName() const { return m_labelAttributeName; }
182 template <typename LabelAttributeNameT = Aws::String>
183 void SetLabelAttributeName(LabelAttributeNameT&& value) {
184 m_labelAttributeNameHasBeenSet = true;
185 m_labelAttributeName = std::forward<LabelAttributeNameT>(value);
186 }
187 template <typename LabelAttributeNameT = Aws::String>
188 DescribeLabelingJobResult& WithLabelAttributeName(LabelAttributeNameT&& value) {
189 SetLabelAttributeName(std::forward<LabelAttributeNameT>(value));
190 return *this;
191 }
193
195
200 inline const LabelingJobInputConfig& GetInputConfig() const { return m_inputConfig; }
201 template <typename InputConfigT = LabelingJobInputConfig>
202 void SetInputConfig(InputConfigT&& value) {
203 m_inputConfigHasBeenSet = true;
204 m_inputConfig = std::forward<InputConfigT>(value);
205 }
206 template <typename InputConfigT = LabelingJobInputConfig>
208 SetInputConfig(std::forward<InputConfigT>(value));
209 return *this;
210 }
212
214
219 inline const LabelingJobOutputConfig& GetOutputConfig() const { return m_outputConfig; }
220 template <typename OutputConfigT = LabelingJobOutputConfig>
221 void SetOutputConfig(OutputConfigT&& value) {
222 m_outputConfigHasBeenSet = true;
223 m_outputConfig = std::forward<OutputConfigT>(value);
224 }
225 template <typename OutputConfigT = LabelingJobOutputConfig>
227 SetOutputConfig(std::forward<OutputConfigT>(value));
228 return *this;
229 }
231
233
237 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
238 template <typename RoleArnT = Aws::String>
239 void SetRoleArn(RoleArnT&& value) {
240 m_roleArnHasBeenSet = true;
241 m_roleArn = std::forward<RoleArnT>(value);
242 }
243 template <typename RoleArnT = Aws::String>
245 SetRoleArn(std::forward<RoleArnT>(value));
246 return *this;
247 }
249
251
265 inline const Aws::String& GetLabelCategoryConfigS3Uri() const { return m_labelCategoryConfigS3Uri; }
266 template <typename LabelCategoryConfigS3UriT = Aws::String>
267 void SetLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) {
268 m_labelCategoryConfigS3UriHasBeenSet = true;
269 m_labelCategoryConfigS3Uri = std::forward<LabelCategoryConfigS3UriT>(value);
270 }
271 template <typename LabelCategoryConfigS3UriT = Aws::String>
272 DescribeLabelingJobResult& WithLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) {
273 SetLabelCategoryConfigS3Uri(std::forward<LabelCategoryConfigS3UriT>(value));
274 return *this;
275 }
277
279
283 inline const LabelingJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
284 template <typename StoppingConditionsT = LabelingJobStoppingConditions>
285 void SetStoppingConditions(StoppingConditionsT&& value) {
286 m_stoppingConditionsHasBeenSet = true;
287 m_stoppingConditions = std::forward<StoppingConditionsT>(value);
288 }
289 template <typename StoppingConditionsT = LabelingJobStoppingConditions>
290 DescribeLabelingJobResult& WithStoppingConditions(StoppingConditionsT&& value) {
291 SetStoppingConditions(std::forward<StoppingConditionsT>(value));
292 return *this;
293 }
295
297
300 inline const LabelingJobAlgorithmsConfig& GetLabelingJobAlgorithmsConfig() const { return m_labelingJobAlgorithmsConfig; }
301 template <typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
302 void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) {
303 m_labelingJobAlgorithmsConfigHasBeenSet = true;
304 m_labelingJobAlgorithmsConfig = std::forward<LabelingJobAlgorithmsConfigT>(value);
305 }
306 template <typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
307 DescribeLabelingJobResult& WithLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) {
308 SetLabelingJobAlgorithmsConfig(std::forward<LabelingJobAlgorithmsConfigT>(value));
309 return *this;
310 }
312
314
318 inline const HumanTaskConfig& GetHumanTaskConfig() const { return m_humanTaskConfig; }
319 template <typename HumanTaskConfigT = HumanTaskConfig>
320 void SetHumanTaskConfig(HumanTaskConfigT&& value) {
321 m_humanTaskConfigHasBeenSet = true;
322 m_humanTaskConfig = std::forward<HumanTaskConfigT>(value);
323 }
324 template <typename HumanTaskConfigT = HumanTaskConfig>
326 SetHumanTaskConfig(std::forward<HumanTaskConfigT>(value));
327 return *this;
328 }
330
332
339 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
340 template <typename TagsT = Aws::Vector<Tag>>
341 void SetTags(TagsT&& value) {
342 m_tagsHasBeenSet = true;
343 m_tags = std::forward<TagsT>(value);
344 }
345 template <typename TagsT = Aws::Vector<Tag>>
347 SetTags(std::forward<TagsT>(value));
348 return *this;
349 }
350 template <typename TagsT = Tag>
352 m_tagsHasBeenSet = true;
353 m_tags.emplace_back(std::forward<TagsT>(value));
354 return *this;
355 }
357
359
362 inline const LabelingJobOutput& GetLabelingJobOutput() const { return m_labelingJobOutput; }
363 template <typename LabelingJobOutputT = LabelingJobOutput>
364 void SetLabelingJobOutput(LabelingJobOutputT&& value) {
365 m_labelingJobOutputHasBeenSet = true;
366 m_labelingJobOutput = std::forward<LabelingJobOutputT>(value);
367 }
368 template <typename LabelingJobOutputT = LabelingJobOutput>
370 SetLabelingJobOutput(std::forward<LabelingJobOutputT>(value));
371 return *this;
372 }
374
376
377 inline const Aws::String& GetRequestId() const { return m_requestId; }
378 template <typename RequestIdT = Aws::String>
379 void SetRequestId(RequestIdT&& value) {
380 m_requestIdHasBeenSet = true;
381 m_requestId = std::forward<RequestIdT>(value);
382 }
383 template <typename RequestIdT = Aws::String>
385 SetRequestId(std::forward<RequestIdT>(value));
386 return *this;
387 }
389 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
390
391 private:
393
394 LabelCounters m_labelCounters;
395
396 Aws::String m_failureReason;
397
398 Aws::Utils::DateTime m_creationTime{};
399
400 Aws::Utils::DateTime m_lastModifiedTime{};
401
402 Aws::String m_jobReferenceCode;
403
404 Aws::String m_labelingJobName;
405
406 Aws::String m_labelingJobArn;
407
408 Aws::String m_labelAttributeName;
409
410 LabelingJobInputConfig m_inputConfig;
411
412 LabelingJobOutputConfig m_outputConfig;
413
414 Aws::String m_roleArn;
415
416 Aws::String m_labelCategoryConfigS3Uri;
417
418 LabelingJobStoppingConditions m_stoppingConditions;
419
420 LabelingJobAlgorithmsConfig m_labelingJobAlgorithmsConfig;
421
422 HumanTaskConfig m_humanTaskConfig;
423
424 Aws::Vector<Tag> m_tags;
425
426 LabelingJobOutput m_labelingJobOutput;
427
428 Aws::String m_requestId;
429 Aws::Http::HttpResponseCode m_HttpResponseCode;
430 bool m_labelingJobStatusHasBeenSet = false;
431 bool m_labelCountersHasBeenSet = false;
432 bool m_failureReasonHasBeenSet = false;
433 bool m_creationTimeHasBeenSet = false;
434 bool m_lastModifiedTimeHasBeenSet = false;
435 bool m_jobReferenceCodeHasBeenSet = false;
436 bool m_labelingJobNameHasBeenSet = false;
437 bool m_labelingJobArnHasBeenSet = false;
438 bool m_labelAttributeNameHasBeenSet = false;
439 bool m_inputConfigHasBeenSet = false;
440 bool m_outputConfigHasBeenSet = false;
441 bool m_roleArnHasBeenSet = false;
442 bool m_labelCategoryConfigS3UriHasBeenSet = false;
443 bool m_stoppingConditionsHasBeenSet = false;
444 bool m_labelingJobAlgorithmsConfigHasBeenSet = false;
445 bool m_humanTaskConfigHasBeenSet = false;
446 bool m_tagsHasBeenSet = false;
447 bool m_labelingJobOutputHasBeenSet = false;
448 bool m_requestIdHasBeenSet = false;
449};
450
451} // namespace Model
452} // namespace SageMaker
453} // namespace Aws
DescribeLabelingJobResult & WithLabelingJobOutput(LabelingJobOutputT &&value)
DescribeLabelingJobResult & WithLabelAttributeName(LabelAttributeNameT &&value)
DescribeLabelingJobResult & WithCreationTime(CreationTimeT &&value)
DescribeLabelingJobResult & WithInputConfig(InputConfigT &&value)
DescribeLabelingJobResult & WithJobReferenceCode(JobReferenceCodeT &&value)
DescribeLabelingJobResult & WithRequestId(RequestIdT &&value)
DescribeLabelingJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeLabelingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LabelingJobAlgorithmsConfig & GetLabelingJobAlgorithmsConfig() const
const LabelingJobStoppingConditions & GetStoppingConditions() const
DescribeLabelingJobResult & AddTags(TagsT &&value)
DescribeLabelingJobResult & WithTags(TagsT &&value)
DescribeLabelingJobResult & WithFailureReason(FailureReasonT &&value)
const LabelingJobOutputConfig & GetOutputConfig() const
DescribeLabelingJobResult & WithStoppingConditions(StoppingConditionsT &&value)
const LabelingJobInputConfig & GetInputConfig() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeLabelingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLabelingJobResult & WithRoleArn(RoleArnT &&value)
void SetLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT &&value)
DescribeLabelingJobResult & WithLabelCounters(LabelCountersT &&value)
DescribeLabelingJobResult & WithHumanTaskConfig(HumanTaskConfigT &&value)
DescribeLabelingJobResult & WithLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT &&value)
DescribeLabelingJobResult & WithOutputConfig(OutputConfigT &&value)
DescribeLabelingJobResult & WithLabelingJobStatus(LabelingJobStatus value)
DescribeLabelingJobResult & WithLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT &&value)
void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT &&value)
DescribeLabelingJobResult & WithLabelingJobName(LabelingJobNameT &&value)
AWS_SAGEMAKER_API DescribeLabelingJobResult()=default
DescribeLabelingJobResult & WithLabelingJobArn(LabelingJobArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue