AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLabelingJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/HumanTaskConfig.h>
12#include <aws/sagemaker/model/LabelCounters.h>
13#include <aws/sagemaker/model/LabelingJobAlgorithmsConfig.h>
14#include <aws/sagemaker/model/LabelingJobInputConfig.h>
15#include <aws/sagemaker/model/LabelingJobOutput.h>
16#include <aws/sagemaker/model/LabelingJobOutputConfig.h>
17#include <aws/sagemaker/model/LabelingJobStatus.h>
18#include <aws/sagemaker/model/LabelingJobStoppingConditions.h>
19#include <aws/sagemaker/model/Tag.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker {
33namespace Model {
35 public:
36 AWS_SAGEMAKER_API DescribeLabelingJobResult() = default;
39
41
44 inline LabelingJobStatus GetLabelingJobStatus() const { return m_labelingJobStatus; }
46 m_labelingJobStatusHasBeenSet = true;
47 m_labelingJobStatus = value;
48 }
51 return *this;
52 }
54
56
61 inline const LabelCounters& GetLabelCounters() const { return m_labelCounters; }
62 template <typename LabelCountersT = LabelCounters>
63 void SetLabelCounters(LabelCountersT&& value) {
64 m_labelCountersHasBeenSet = true;
65 m_labelCounters = std::forward<LabelCountersT>(value);
66 }
67 template <typename LabelCountersT = LabelCounters>
69 SetLabelCounters(std::forward<LabelCountersT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
79 template <typename FailureReasonT = Aws::String>
80 void SetFailureReason(FailureReasonT&& value) {
81 m_failureReasonHasBeenSet = true;
82 m_failureReason = std::forward<FailureReasonT>(value);
83 }
84 template <typename FailureReasonT = Aws::String>
86 SetFailureReason(std::forward<FailureReasonT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
113 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
114 void SetLastModifiedTime(LastModifiedTimeT&& value) {
115 m_lastModifiedTimeHasBeenSet = true;
116 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
117 }
118 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
120 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetJobReferenceCode() const { return m_jobReferenceCode; }
130 template <typename JobReferenceCodeT = Aws::String>
131 void SetJobReferenceCode(JobReferenceCodeT&& value) {
132 m_jobReferenceCodeHasBeenSet = true;
133 m_jobReferenceCode = std::forward<JobReferenceCodeT>(value);
134 }
135 template <typename JobReferenceCodeT = Aws::String>
137 SetJobReferenceCode(std::forward<JobReferenceCodeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetLabelingJobName() const { return m_labelingJobName; }
147 template <typename LabelingJobNameT = Aws::String>
148 void SetLabelingJobName(LabelingJobNameT&& value) {
149 m_labelingJobNameHasBeenSet = true;
150 m_labelingJobName = std::forward<LabelingJobNameT>(value);
151 }
152 template <typename LabelingJobNameT = Aws::String>
154 SetLabelingJobName(std::forward<LabelingJobNameT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
164 template <typename LabelingJobArnT = Aws::String>
165 void SetLabelingJobArn(LabelingJobArnT&& value) {
166 m_labelingJobArnHasBeenSet = true;
167 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
168 }
169 template <typename LabelingJobArnT = Aws::String>
171 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetLabelAttributeName() const { return m_labelAttributeName; }
181 template <typename LabelAttributeNameT = Aws::String>
182 void SetLabelAttributeName(LabelAttributeNameT&& value) {
183 m_labelAttributeNameHasBeenSet = true;
184 m_labelAttributeName = std::forward<LabelAttributeNameT>(value);
185 }
186 template <typename LabelAttributeNameT = Aws::String>
187 DescribeLabelingJobResult& WithLabelAttributeName(LabelAttributeNameT&& value) {
188 SetLabelAttributeName(std::forward<LabelAttributeNameT>(value));
189 return *this;
190 }
192
194
199 inline const LabelingJobInputConfig& GetInputConfig() const { return m_inputConfig; }
200 template <typename InputConfigT = LabelingJobInputConfig>
201 void SetInputConfig(InputConfigT&& value) {
202 m_inputConfigHasBeenSet = true;
203 m_inputConfig = std::forward<InputConfigT>(value);
204 }
205 template <typename InputConfigT = LabelingJobInputConfig>
207 SetInputConfig(std::forward<InputConfigT>(value));
208 return *this;
209 }
211
213
218 inline const LabelingJobOutputConfig& GetOutputConfig() const { return m_outputConfig; }
219 template <typename OutputConfigT = LabelingJobOutputConfig>
220 void SetOutputConfig(OutputConfigT&& value) {
221 m_outputConfigHasBeenSet = true;
222 m_outputConfig = std::forward<OutputConfigT>(value);
223 }
224 template <typename OutputConfigT = LabelingJobOutputConfig>
226 SetOutputConfig(std::forward<OutputConfigT>(value));
227 return *this;
228 }
230
232
236 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
237 template <typename RoleArnT = Aws::String>
238 void SetRoleArn(RoleArnT&& value) {
239 m_roleArnHasBeenSet = true;
240 m_roleArn = std::forward<RoleArnT>(value);
241 }
242 template <typename RoleArnT = Aws::String>
244 SetRoleArn(std::forward<RoleArnT>(value));
245 return *this;
246 }
248
250
264 inline const Aws::String& GetLabelCategoryConfigS3Uri() const { return m_labelCategoryConfigS3Uri; }
265 template <typename LabelCategoryConfigS3UriT = Aws::String>
266 void SetLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) {
267 m_labelCategoryConfigS3UriHasBeenSet = true;
268 m_labelCategoryConfigS3Uri = std::forward<LabelCategoryConfigS3UriT>(value);
269 }
270 template <typename LabelCategoryConfigS3UriT = Aws::String>
271 DescribeLabelingJobResult& WithLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) {
272 SetLabelCategoryConfigS3Uri(std::forward<LabelCategoryConfigS3UriT>(value));
273 return *this;
274 }
276
278
282 inline const LabelingJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
283 template <typename StoppingConditionsT = LabelingJobStoppingConditions>
284 void SetStoppingConditions(StoppingConditionsT&& value) {
285 m_stoppingConditionsHasBeenSet = true;
286 m_stoppingConditions = std::forward<StoppingConditionsT>(value);
287 }
288 template <typename StoppingConditionsT = LabelingJobStoppingConditions>
289 DescribeLabelingJobResult& WithStoppingConditions(StoppingConditionsT&& value) {
290 SetStoppingConditions(std::forward<StoppingConditionsT>(value));
291 return *this;
292 }
294
296
299 inline const LabelingJobAlgorithmsConfig& GetLabelingJobAlgorithmsConfig() const { return m_labelingJobAlgorithmsConfig; }
300 template <typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
301 void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) {
302 m_labelingJobAlgorithmsConfigHasBeenSet = true;
303 m_labelingJobAlgorithmsConfig = std::forward<LabelingJobAlgorithmsConfigT>(value);
304 }
305 template <typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
306 DescribeLabelingJobResult& WithLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) {
307 SetLabelingJobAlgorithmsConfig(std::forward<LabelingJobAlgorithmsConfigT>(value));
308 return *this;
309 }
311
313
317 inline const HumanTaskConfig& GetHumanTaskConfig() const { return m_humanTaskConfig; }
318 template <typename HumanTaskConfigT = HumanTaskConfig>
319 void SetHumanTaskConfig(HumanTaskConfigT&& value) {
320 m_humanTaskConfigHasBeenSet = true;
321 m_humanTaskConfig = std::forward<HumanTaskConfigT>(value);
322 }
323 template <typename HumanTaskConfigT = HumanTaskConfig>
325 SetHumanTaskConfig(std::forward<HumanTaskConfigT>(value));
326 return *this;
327 }
329
331
338 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
339 template <typename TagsT = Aws::Vector<Tag>>
340 void SetTags(TagsT&& value) {
341 m_tagsHasBeenSet = true;
342 m_tags = std::forward<TagsT>(value);
343 }
344 template <typename TagsT = Aws::Vector<Tag>>
346 SetTags(std::forward<TagsT>(value));
347 return *this;
348 }
349 template <typename TagsT = Tag>
351 m_tagsHasBeenSet = true;
352 m_tags.emplace_back(std::forward<TagsT>(value));
353 return *this;
354 }
356
358
361 inline const LabelingJobOutput& GetLabelingJobOutput() const { return m_labelingJobOutput; }
362 template <typename LabelingJobOutputT = LabelingJobOutput>
363 void SetLabelingJobOutput(LabelingJobOutputT&& value) {
364 m_labelingJobOutputHasBeenSet = true;
365 m_labelingJobOutput = std::forward<LabelingJobOutputT>(value);
366 }
367 template <typename LabelingJobOutputT = LabelingJobOutput>
369 SetLabelingJobOutput(std::forward<LabelingJobOutputT>(value));
370 return *this;
371 }
373
375
376 inline const Aws::String& GetRequestId() const { return m_requestId; }
377 template <typename RequestIdT = Aws::String>
378 void SetRequestId(RequestIdT&& value) {
379 m_requestIdHasBeenSet = true;
380 m_requestId = std::forward<RequestIdT>(value);
381 }
382 template <typename RequestIdT = Aws::String>
384 SetRequestId(std::forward<RequestIdT>(value));
385 return *this;
386 }
388 private:
390
391 LabelCounters m_labelCounters;
392
393 Aws::String m_failureReason;
394
395 Aws::Utils::DateTime m_creationTime{};
396
397 Aws::Utils::DateTime m_lastModifiedTime{};
398
399 Aws::String m_jobReferenceCode;
400
401 Aws::String m_labelingJobName;
402
403 Aws::String m_labelingJobArn;
404
405 Aws::String m_labelAttributeName;
406
407 LabelingJobInputConfig m_inputConfig;
408
409 LabelingJobOutputConfig m_outputConfig;
410
411 Aws::String m_roleArn;
412
413 Aws::String m_labelCategoryConfigS3Uri;
414
415 LabelingJobStoppingConditions m_stoppingConditions;
416
417 LabelingJobAlgorithmsConfig m_labelingJobAlgorithmsConfig;
418
419 HumanTaskConfig m_humanTaskConfig;
420
421 Aws::Vector<Tag> m_tags;
422
423 LabelingJobOutput m_labelingJobOutput;
424
425 Aws::String m_requestId;
426 bool m_labelingJobStatusHasBeenSet = false;
427 bool m_labelCountersHasBeenSet = false;
428 bool m_failureReasonHasBeenSet = false;
429 bool m_creationTimeHasBeenSet = false;
430 bool m_lastModifiedTimeHasBeenSet = false;
431 bool m_jobReferenceCodeHasBeenSet = false;
432 bool m_labelingJobNameHasBeenSet = false;
433 bool m_labelingJobArnHasBeenSet = false;
434 bool m_labelAttributeNameHasBeenSet = false;
435 bool m_inputConfigHasBeenSet = false;
436 bool m_outputConfigHasBeenSet = false;
437 bool m_roleArnHasBeenSet = false;
438 bool m_labelCategoryConfigS3UriHasBeenSet = false;
439 bool m_stoppingConditionsHasBeenSet = false;
440 bool m_labelingJobAlgorithmsConfigHasBeenSet = false;
441 bool m_humanTaskConfigHasBeenSet = false;
442 bool m_tagsHasBeenSet = false;
443 bool m_labelingJobOutputHasBeenSet = false;
444 bool m_requestIdHasBeenSet = false;
445};
446
447} // namespace Model
448} // namespace SageMaker
449} // 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