AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLabelingJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/LabelingJobStatus.h>
9#include <aws/sagemaker/model/LabelCounters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/LabelingJobInputConfig.h>
13#include <aws/sagemaker/model/LabelingJobOutputConfig.h>
14#include <aws/sagemaker/model/LabelingJobStoppingConditions.h>
15#include <aws/sagemaker/model/LabelingJobAlgorithmsConfig.h>
16#include <aws/sagemaker/model/HumanTaskConfig.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/sagemaker/model/LabelingJobOutput.h>
19#include <aws/sagemaker/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace SageMaker
35{
36namespace Model
37{
39 {
40 public:
41 AWS_SAGEMAKER_API DescribeLabelingJobResult();
44
45
47
50 inline const LabelingJobStatus& GetLabelingJobStatus() const{ return m_labelingJobStatus; }
51 inline void SetLabelingJobStatus(const LabelingJobStatus& value) { m_labelingJobStatus = value; }
52 inline void SetLabelingJobStatus(LabelingJobStatus&& value) { m_labelingJobStatus = std::move(value); }
56
58
63 inline const LabelCounters& GetLabelCounters() const{ return m_labelCounters; }
64 inline void SetLabelCounters(const LabelCounters& value) { m_labelCounters = value; }
65 inline void SetLabelCounters(LabelCounters&& value) { m_labelCounters = std::move(value); }
66 inline DescribeLabelingJobResult& WithLabelCounters(const LabelCounters& value) { SetLabelCounters(value); return *this;}
67 inline DescribeLabelingJobResult& WithLabelCounters(LabelCounters&& value) { SetLabelCounters(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
75 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
76 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
77 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
78 inline DescribeLabelingJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
79 inline DescribeLabelingJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
80 inline DescribeLabelingJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
88 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
89 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
91 inline DescribeLabelingJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
99 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
100 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
104
106
109 inline const Aws::String& GetJobReferenceCode() const{ return m_jobReferenceCode; }
110 inline void SetJobReferenceCode(const Aws::String& value) { m_jobReferenceCode = value; }
111 inline void SetJobReferenceCode(Aws::String&& value) { m_jobReferenceCode = std::move(value); }
112 inline void SetJobReferenceCode(const char* value) { m_jobReferenceCode.assign(value); }
114 inline DescribeLabelingJobResult& WithJobReferenceCode(Aws::String&& value) { SetJobReferenceCode(std::move(value)); return *this;}
115 inline DescribeLabelingJobResult& WithJobReferenceCode(const char* value) { SetJobReferenceCode(value); return *this;}
117
119
122 inline const Aws::String& GetLabelingJobName() const{ return m_labelingJobName; }
123 inline void SetLabelingJobName(const Aws::String& value) { m_labelingJobName = value; }
124 inline void SetLabelingJobName(Aws::String&& value) { m_labelingJobName = std::move(value); }
125 inline void SetLabelingJobName(const char* value) { m_labelingJobName.assign(value); }
127 inline DescribeLabelingJobResult& WithLabelingJobName(Aws::String&& value) { SetLabelingJobName(std::move(value)); return *this;}
128 inline DescribeLabelingJobResult& WithLabelingJobName(const char* value) { SetLabelingJobName(value); return *this;}
130
132
135 inline const Aws::String& GetLabelingJobArn() const{ return m_labelingJobArn; }
136 inline void SetLabelingJobArn(const Aws::String& value) { m_labelingJobArn = value; }
137 inline void SetLabelingJobArn(Aws::String&& value) { m_labelingJobArn = std::move(value); }
138 inline void SetLabelingJobArn(const char* value) { m_labelingJobArn.assign(value); }
139 inline DescribeLabelingJobResult& WithLabelingJobArn(const Aws::String& value) { SetLabelingJobArn(value); return *this;}
140 inline DescribeLabelingJobResult& WithLabelingJobArn(Aws::String&& value) { SetLabelingJobArn(std::move(value)); return *this;}
141 inline DescribeLabelingJobResult& WithLabelingJobArn(const char* value) { SetLabelingJobArn(value); return *this;}
143
145
148 inline const Aws::String& GetLabelAttributeName() const{ return m_labelAttributeName; }
149 inline void SetLabelAttributeName(const Aws::String& value) { m_labelAttributeName = value; }
150 inline void SetLabelAttributeName(Aws::String&& value) { m_labelAttributeName = std::move(value); }
151 inline void SetLabelAttributeName(const char* value) { m_labelAttributeName.assign(value); }
153 inline DescribeLabelingJobResult& WithLabelAttributeName(Aws::String&& value) { SetLabelAttributeName(std::move(value)); return *this;}
154 inline DescribeLabelingJobResult& WithLabelAttributeName(const char* value) { SetLabelAttributeName(value); return *this;}
156
158
163 inline const LabelingJobInputConfig& GetInputConfig() const{ return m_inputConfig; }
164 inline void SetInputConfig(const LabelingJobInputConfig& value) { m_inputConfig = value; }
165 inline void SetInputConfig(LabelingJobInputConfig&& value) { m_inputConfig = std::move(value); }
167 inline DescribeLabelingJobResult& WithInputConfig(LabelingJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;}
169
171
176 inline const LabelingJobOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
177 inline void SetOutputConfig(const LabelingJobOutputConfig& value) { m_outputConfig = value; }
178 inline void SetOutputConfig(LabelingJobOutputConfig&& value) { m_outputConfig = std::move(value); }
180 inline DescribeLabelingJobResult& WithOutputConfig(LabelingJobOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
182
184
188 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
189 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
190 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
191 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
192 inline DescribeLabelingJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
193 inline DescribeLabelingJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
194 inline DescribeLabelingJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
196
198
212 inline const Aws::String& GetLabelCategoryConfigS3Uri() const{ return m_labelCategoryConfigS3Uri; }
213 inline void SetLabelCategoryConfigS3Uri(const Aws::String& value) { m_labelCategoryConfigS3Uri = value; }
214 inline void SetLabelCategoryConfigS3Uri(Aws::String&& value) { m_labelCategoryConfigS3Uri = std::move(value); }
215 inline void SetLabelCategoryConfigS3Uri(const char* value) { m_labelCategoryConfigS3Uri.assign(value); }
220
222
226 inline const LabelingJobStoppingConditions& GetStoppingConditions() const{ return m_stoppingConditions; }
227 inline void SetStoppingConditions(const LabelingJobStoppingConditions& value) { m_stoppingConditions = value; }
228 inline void SetStoppingConditions(LabelingJobStoppingConditions&& value) { m_stoppingConditions = std::move(value); }
232
234
237 inline const LabelingJobAlgorithmsConfig& GetLabelingJobAlgorithmsConfig() const{ return m_labelingJobAlgorithmsConfig; }
238 inline void SetLabelingJobAlgorithmsConfig(const LabelingJobAlgorithmsConfig& value) { m_labelingJobAlgorithmsConfig = value; }
239 inline void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig&& value) { m_labelingJobAlgorithmsConfig = std::move(value); }
243
245
249 inline const HumanTaskConfig& GetHumanTaskConfig() const{ return m_humanTaskConfig; }
250 inline void SetHumanTaskConfig(const HumanTaskConfig& value) { m_humanTaskConfig = value; }
251 inline void SetHumanTaskConfig(HumanTaskConfig&& value) { m_humanTaskConfig = std::move(value); }
253 inline DescribeLabelingJobResult& WithHumanTaskConfig(HumanTaskConfig&& value) { SetHumanTaskConfig(std::move(value)); return *this;}
255
257
264 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
265 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
266 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
267 inline DescribeLabelingJobResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
268 inline DescribeLabelingJobResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
269 inline DescribeLabelingJobResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
270 inline DescribeLabelingJobResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
272
274
277 inline const LabelingJobOutput& GetLabelingJobOutput() const{ return m_labelingJobOutput; }
278 inline void SetLabelingJobOutput(const LabelingJobOutput& value) { m_labelingJobOutput = value; }
279 inline void SetLabelingJobOutput(LabelingJobOutput&& value) { m_labelingJobOutput = std::move(value); }
283
285
286 inline const Aws::String& GetRequestId() const{ return m_requestId; }
287 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
288 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
289 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
290 inline DescribeLabelingJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
291 inline DescribeLabelingJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
292 inline DescribeLabelingJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
294 private:
295
296 LabelingJobStatus m_labelingJobStatus;
297
298 LabelCounters m_labelCounters;
299
300 Aws::String m_failureReason;
301
302 Aws::Utils::DateTime m_creationTime;
303
304 Aws::Utils::DateTime m_lastModifiedTime;
305
306 Aws::String m_jobReferenceCode;
307
308 Aws::String m_labelingJobName;
309
310 Aws::String m_labelingJobArn;
311
312 Aws::String m_labelAttributeName;
313
314 LabelingJobInputConfig m_inputConfig;
315
316 LabelingJobOutputConfig m_outputConfig;
317
318 Aws::String m_roleArn;
319
320 Aws::String m_labelCategoryConfigS3Uri;
321
322 LabelingJobStoppingConditions m_stoppingConditions;
323
324 LabelingJobAlgorithmsConfig m_labelingJobAlgorithmsConfig;
325
326 HumanTaskConfig m_humanTaskConfig;
327
328 Aws::Vector<Tag> m_tags;
329
330 LabelingJobOutput m_labelingJobOutput;
331
332 Aws::String m_requestId;
333 };
334
335} // namespace Model
336} // namespace SageMaker
337} // namespace Aws
void SetOutputConfig(LabelingJobOutputConfig &&value)
DescribeLabelingJobResult & WithLabelCategoryConfigS3Uri(const Aws::String &value)
DescribeLabelingJobResult & WithOutputConfig(const LabelingJobOutputConfig &value)
DescribeLabelingJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeLabelingJobResult & WithTags(Aws::Vector< Tag > &&value)
DescribeLabelingJobResult & WithRoleArn(const Aws::String &value)
AWS_SAGEMAKER_API DescribeLabelingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStoppingConditions(LabelingJobStoppingConditions &&value)
DescribeLabelingJobResult & WithLabelAttributeName(const char *value)
void SetStoppingConditions(const LabelingJobStoppingConditions &value)
const LabelingJobAlgorithmsConfig & GetLabelingJobAlgorithmsConfig() const
DescribeLabelingJobResult & WithHumanTaskConfig(HumanTaskConfig &&value)
const LabelingJobStoppingConditions & GetStoppingConditions() const
DescribeLabelingJobResult & WithJobReferenceCode(const Aws::String &value)
DescribeLabelingJobResult & WithTags(const Aws::Vector< Tag > &value)
DescribeLabelingJobResult & WithLabelingJobArn(const Aws::String &value)
DescribeLabelingJobResult & WithLabelCategoryConfigS3Uri(Aws::String &&value)
DescribeLabelingJobResult & WithRequestId(const char *value)
void SetLabelingJobAlgorithmsConfig(const LabelingJobAlgorithmsConfig &value)
DescribeLabelingJobResult & WithInputConfig(const LabelingJobInputConfig &value)
DescribeLabelingJobResult & WithStoppingConditions(const LabelingJobStoppingConditions &value)
const LabelingJobOutputConfig & GetOutputConfig() const
const LabelingJobInputConfig & GetInputConfig() const
DescribeLabelingJobResult & WithLabelingJobName(const Aws::String &value)
DescribeLabelingJobResult & WithLabelingJobOutput(LabelingJobOutput &&value)
DescribeLabelingJobResult & WithLabelCounters(const LabelCounters &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeLabelingJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeLabelingJobResult & WithOutputConfig(LabelingJobOutputConfig &&value)
AWS_SAGEMAKER_API DescribeLabelingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLabelingJobResult & WithLabelingJobArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeLabelingJobResult & WithRoleArn(Aws::String &&value)
DescribeLabelingJobResult & WithLabelingJobAlgorithmsConfig(const LabelingJobAlgorithmsConfig &value)
DescribeLabelingJobResult & WithRoleArn(const char *value)
DescribeLabelingJobResult & WithLabelingJobOutput(const LabelingJobOutput &value)
DescribeLabelingJobResult & WithLabelingJobName(const char *value)
DescribeLabelingJobResult & AddTags(const Tag &value)
DescribeLabelingJobResult & WithLabelingJobArn(Aws::String &&value)
DescribeLabelingJobResult & WithJobReferenceCode(const char *value)
DescribeLabelingJobResult & WithFailureReason(const Aws::String &value)
void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig &&value)
DescribeLabelingJobResult & WithLabelAttributeName(Aws::String &&value)
void SetLabelingJobStatus(const LabelingJobStatus &value)
void SetInputConfig(const LabelingJobInputConfig &value)
DescribeLabelingJobResult & WithLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig &&value)
DescribeLabelingJobResult & WithFailureReason(const char *value)
void SetOutputConfig(const LabelingJobOutputConfig &value)
DescribeLabelingJobResult & WithLabelingJobStatus(LabelingJobStatus &&value)
DescribeLabelingJobResult & WithLabelCounters(LabelCounters &&value)
DescribeLabelingJobResult & WithLabelCategoryConfigS3Uri(const char *value)
DescribeLabelingJobResult & WithFailureReason(Aws::String &&value)
DescribeLabelingJobResult & WithStoppingConditions(LabelingJobStoppingConditions &&value)
DescribeLabelingJobResult & WithLabelingJobName(Aws::String &&value)
DescribeLabelingJobResult & WithInputConfig(LabelingJobInputConfig &&value)
DescribeLabelingJobResult & WithLabelingJobStatus(const LabelingJobStatus &value)
DescribeLabelingJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLabelingJobResult & WithLabelAttributeName(const Aws::String &value)
DescribeLabelingJobResult & WithJobReferenceCode(Aws::String &&value)
DescribeLabelingJobResult & WithHumanTaskConfig(const HumanTaskConfig &value)
DescribeLabelingJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeLabelingJobResult & WithRequestId(Aws::String &&value)
DescribeLabelingJobResult & AddTags(Tag &&value)
DescribeLabelingJobResult & WithRequestId(const Aws::String &value)
void SetLabelingJobOutput(const LabelingJobOutput &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