AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
44
45
47
50 inline LabelingJobStatus GetLabelingJobStatus() const { return m_labelingJobStatus; }
51 inline void SetLabelingJobStatus(LabelingJobStatus value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = value; }
54
56
61 inline const LabelCounters& GetLabelCounters() const { return m_labelCounters; }
62 template<typename LabelCountersT = LabelCounters>
63 void SetLabelCounters(LabelCountersT&& value) { m_labelCountersHasBeenSet = true; m_labelCounters = std::forward<LabelCountersT>(value); }
64 template<typename LabelCountersT = LabelCounters>
65 DescribeLabelingJobResult& WithLabelCounters(LabelCountersT&& value) { SetLabelCounters(std::forward<LabelCountersT>(value)); return *this;}
67
69
72 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
73 template<typename FailureReasonT = Aws::String>
74 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
75 template<typename FailureReasonT = Aws::String>
76 DescribeLabelingJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 DescribeLabelingJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
95 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
96 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
97 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
98 DescribeLabelingJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
100
102
105 inline const Aws::String& GetJobReferenceCode() const { return m_jobReferenceCode; }
106 template<typename JobReferenceCodeT = Aws::String>
107 void SetJobReferenceCode(JobReferenceCodeT&& value) { m_jobReferenceCodeHasBeenSet = true; m_jobReferenceCode = std::forward<JobReferenceCodeT>(value); }
108 template<typename JobReferenceCodeT = Aws::String>
109 DescribeLabelingJobResult& WithJobReferenceCode(JobReferenceCodeT&& value) { SetJobReferenceCode(std::forward<JobReferenceCodeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetLabelingJobName() const { return m_labelingJobName; }
117 template<typename LabelingJobNameT = Aws::String>
118 void SetLabelingJobName(LabelingJobNameT&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::forward<LabelingJobNameT>(value); }
119 template<typename LabelingJobNameT = Aws::String>
120 DescribeLabelingJobResult& WithLabelingJobName(LabelingJobNameT&& value) { SetLabelingJobName(std::forward<LabelingJobNameT>(value)); return *this;}
122
124
127 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
128 template<typename LabelingJobArnT = Aws::String>
129 void SetLabelingJobArn(LabelingJobArnT&& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = std::forward<LabelingJobArnT>(value); }
130 template<typename LabelingJobArnT = Aws::String>
131 DescribeLabelingJobResult& WithLabelingJobArn(LabelingJobArnT&& value) { SetLabelingJobArn(std::forward<LabelingJobArnT>(value)); return *this;}
133
135
138 inline const Aws::String& GetLabelAttributeName() const { return m_labelAttributeName; }
139 template<typename LabelAttributeNameT = Aws::String>
140 void SetLabelAttributeName(LabelAttributeNameT&& value) { m_labelAttributeNameHasBeenSet = true; m_labelAttributeName = std::forward<LabelAttributeNameT>(value); }
141 template<typename LabelAttributeNameT = Aws::String>
142 DescribeLabelingJobResult& WithLabelAttributeName(LabelAttributeNameT&& value) { SetLabelAttributeName(std::forward<LabelAttributeNameT>(value)); return *this;}
144
146
151 inline const LabelingJobInputConfig& GetInputConfig() const { return m_inputConfig; }
152 template<typename InputConfigT = LabelingJobInputConfig>
153 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
154 template<typename InputConfigT = LabelingJobInputConfig>
155 DescribeLabelingJobResult& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
157
159
164 inline const LabelingJobOutputConfig& GetOutputConfig() const { return m_outputConfig; }
165 template<typename OutputConfigT = LabelingJobOutputConfig>
166 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
167 template<typename OutputConfigT = LabelingJobOutputConfig>
168 DescribeLabelingJobResult& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
170
172
176 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
177 template<typename RoleArnT = Aws::String>
178 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
179 template<typename RoleArnT = Aws::String>
180 DescribeLabelingJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
182
184
198 inline const Aws::String& GetLabelCategoryConfigS3Uri() const { return m_labelCategoryConfigS3Uri; }
199 template<typename LabelCategoryConfigS3UriT = Aws::String>
200 void SetLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) { m_labelCategoryConfigS3UriHasBeenSet = true; m_labelCategoryConfigS3Uri = std::forward<LabelCategoryConfigS3UriT>(value); }
201 template<typename LabelCategoryConfigS3UriT = Aws::String>
202 DescribeLabelingJobResult& WithLabelCategoryConfigS3Uri(LabelCategoryConfigS3UriT&& value) { SetLabelCategoryConfigS3Uri(std::forward<LabelCategoryConfigS3UriT>(value)); return *this;}
204
206
210 inline const LabelingJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
211 template<typename StoppingConditionsT = LabelingJobStoppingConditions>
212 void SetStoppingConditions(StoppingConditionsT&& value) { m_stoppingConditionsHasBeenSet = true; m_stoppingConditions = std::forward<StoppingConditionsT>(value); }
213 template<typename StoppingConditionsT = LabelingJobStoppingConditions>
214 DescribeLabelingJobResult& WithStoppingConditions(StoppingConditionsT&& value) { SetStoppingConditions(std::forward<StoppingConditionsT>(value)); return *this;}
216
218
221 inline const LabelingJobAlgorithmsConfig& GetLabelingJobAlgorithmsConfig() const { return m_labelingJobAlgorithmsConfig; }
222 template<typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
223 void SetLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) { m_labelingJobAlgorithmsConfigHasBeenSet = true; m_labelingJobAlgorithmsConfig = std::forward<LabelingJobAlgorithmsConfigT>(value); }
224 template<typename LabelingJobAlgorithmsConfigT = LabelingJobAlgorithmsConfig>
225 DescribeLabelingJobResult& WithLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfigT&& value) { SetLabelingJobAlgorithmsConfig(std::forward<LabelingJobAlgorithmsConfigT>(value)); return *this;}
227
229
233 inline const HumanTaskConfig& GetHumanTaskConfig() const { return m_humanTaskConfig; }
234 template<typename HumanTaskConfigT = HumanTaskConfig>
235 void SetHumanTaskConfig(HumanTaskConfigT&& value) { m_humanTaskConfigHasBeenSet = true; m_humanTaskConfig = std::forward<HumanTaskConfigT>(value); }
236 template<typename HumanTaskConfigT = HumanTaskConfig>
237 DescribeLabelingJobResult& WithHumanTaskConfig(HumanTaskConfigT&& value) { SetHumanTaskConfig(std::forward<HumanTaskConfigT>(value)); return *this;}
239
241
248 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
249 template<typename TagsT = Aws::Vector<Tag>>
250 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
251 template<typename TagsT = Aws::Vector<Tag>>
252 DescribeLabelingJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
253 template<typename TagsT = Tag>
254 DescribeLabelingJobResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
256
258
261 inline const LabelingJobOutput& GetLabelingJobOutput() const { return m_labelingJobOutput; }
262 template<typename LabelingJobOutputT = LabelingJobOutput>
263 void SetLabelingJobOutput(LabelingJobOutputT&& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = std::forward<LabelingJobOutputT>(value); }
264 template<typename LabelingJobOutputT = LabelingJobOutput>
265 DescribeLabelingJobResult& WithLabelingJobOutput(LabelingJobOutputT&& value) { SetLabelingJobOutput(std::forward<LabelingJobOutputT>(value)); return *this;}
267
269
270 inline const Aws::String& GetRequestId() const { return m_requestId; }
271 template<typename RequestIdT = Aws::String>
272 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
273 template<typename RequestIdT = Aws::String>
274 DescribeLabelingJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
276 private:
277
279 bool m_labelingJobStatusHasBeenSet = false;
280
281 LabelCounters m_labelCounters;
282 bool m_labelCountersHasBeenSet = false;
283
284 Aws::String m_failureReason;
285 bool m_failureReasonHasBeenSet = false;
286
287 Aws::Utils::DateTime m_creationTime{};
288 bool m_creationTimeHasBeenSet = false;
289
290 Aws::Utils::DateTime m_lastModifiedTime{};
291 bool m_lastModifiedTimeHasBeenSet = false;
292
293 Aws::String m_jobReferenceCode;
294 bool m_jobReferenceCodeHasBeenSet = false;
295
296 Aws::String m_labelingJobName;
297 bool m_labelingJobNameHasBeenSet = false;
298
299 Aws::String m_labelingJobArn;
300 bool m_labelingJobArnHasBeenSet = false;
301
302 Aws::String m_labelAttributeName;
303 bool m_labelAttributeNameHasBeenSet = false;
304
305 LabelingJobInputConfig m_inputConfig;
306 bool m_inputConfigHasBeenSet = false;
307
308 LabelingJobOutputConfig m_outputConfig;
309 bool m_outputConfigHasBeenSet = false;
310
311 Aws::String m_roleArn;
312 bool m_roleArnHasBeenSet = false;
313
314 Aws::String m_labelCategoryConfigS3Uri;
315 bool m_labelCategoryConfigS3UriHasBeenSet = false;
316
317 LabelingJobStoppingConditions m_stoppingConditions;
318 bool m_stoppingConditionsHasBeenSet = false;
319
320 LabelingJobAlgorithmsConfig m_labelingJobAlgorithmsConfig;
321 bool m_labelingJobAlgorithmsConfigHasBeenSet = false;
322
323 HumanTaskConfig m_humanTaskConfig;
324 bool m_humanTaskConfigHasBeenSet = false;
325
326 Aws::Vector<Tag> m_tags;
327 bool m_tagsHasBeenSet = false;
328
329 LabelingJobOutput m_labelingJobOutput;
330 bool m_labelingJobOutputHasBeenSet = false;
331
332 Aws::String m_requestId;
333 bool m_requestIdHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace SageMaker
338} // 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