AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelingJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/LabelCounters.h>
11#include <aws/sagemaker/model/LabelingJobInputConfig.h>
12#include <aws/sagemaker/model/LabelingJobOutput.h>
13#include <aws/sagemaker/model/LabelingJobStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
26
34 public:
35 AWS_SAGEMAKER_API LabelingJobSummary() = default;
36 AWS_SAGEMAKER_API LabelingJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetLabelingJobName() const { return m_labelingJobName; }
45 inline bool LabelingJobNameHasBeenSet() const { return m_labelingJobNameHasBeenSet; }
46 template <typename LabelingJobNameT = Aws::String>
47 void SetLabelingJobName(LabelingJobNameT&& value) {
48 m_labelingJobNameHasBeenSet = true;
49 m_labelingJobName = std::forward<LabelingJobNameT>(value);
50 }
51 template <typename LabelingJobNameT = Aws::String>
52 LabelingJobSummary& WithLabelingJobName(LabelingJobNameT&& value) {
53 SetLabelingJobName(std::forward<LabelingJobNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
64 inline bool LabelingJobArnHasBeenSet() const { return m_labelingJobArnHasBeenSet; }
65 template <typename LabelingJobArnT = Aws::String>
66 void SetLabelingJobArn(LabelingJobArnT&& value) {
67 m_labelingJobArnHasBeenSet = true;
68 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
69 }
70 template <typename LabelingJobArnT = Aws::String>
71 LabelingJobSummary& WithLabelingJobArn(LabelingJobArnT&& value) {
72 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
82 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
83 template <typename CreationTimeT = Aws::Utils::DateTime>
84 void SetCreationTime(CreationTimeT&& value) {
85 m_creationTimeHasBeenSet = true;
86 m_creationTime = std::forward<CreationTimeT>(value);
87 }
88 template <typename CreationTimeT = Aws::Utils::DateTime>
89 LabelingJobSummary& WithCreationTime(CreationTimeT&& value) {
90 SetCreationTime(std::forward<CreationTimeT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
100 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
101 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
102 void SetLastModifiedTime(LastModifiedTimeT&& value) {
103 m_lastModifiedTimeHasBeenSet = true;
104 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
105 }
106 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
107 LabelingJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
108 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
109 return *this;
110 }
112
114
117 inline LabelingJobStatus GetLabelingJobStatus() const { return m_labelingJobStatus; }
118 inline bool LabelingJobStatusHasBeenSet() const { return m_labelingJobStatusHasBeenSet; }
120 m_labelingJobStatusHasBeenSet = true;
121 m_labelingJobStatus = value;
122 }
125 return *this;
126 }
128
130
133 inline const LabelCounters& GetLabelCounters() const { return m_labelCounters; }
134 inline bool LabelCountersHasBeenSet() const { return m_labelCountersHasBeenSet; }
135 template <typename LabelCountersT = LabelCounters>
136 void SetLabelCounters(LabelCountersT&& value) {
137 m_labelCountersHasBeenSet = true;
138 m_labelCounters = std::forward<LabelCountersT>(value);
139 }
140 template <typename LabelCountersT = LabelCounters>
141 LabelingJobSummary& WithLabelCounters(LabelCountersT&& value) {
142 SetLabelCounters(std::forward<LabelCountersT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetWorkteamArn() const { return m_workteamArn; }
152 inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
153 template <typename WorkteamArnT = Aws::String>
154 void SetWorkteamArn(WorkteamArnT&& value) {
155 m_workteamArnHasBeenSet = true;
156 m_workteamArn = std::forward<WorkteamArnT>(value);
157 }
158 template <typename WorkteamArnT = Aws::String>
159 LabelingJobSummary& WithWorkteamArn(WorkteamArnT&& value) {
160 SetWorkteamArn(std::forward<WorkteamArnT>(value));
161 return *this;
162 }
164
166
170 inline const Aws::String& GetPreHumanTaskLambdaArn() const { return m_preHumanTaskLambdaArn; }
171 inline bool PreHumanTaskLambdaArnHasBeenSet() const { return m_preHumanTaskLambdaArnHasBeenSet; }
172 template <typename PreHumanTaskLambdaArnT = Aws::String>
173 void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) {
174 m_preHumanTaskLambdaArnHasBeenSet = true;
175 m_preHumanTaskLambdaArn = std::forward<PreHumanTaskLambdaArnT>(value);
176 }
177 template <typename PreHumanTaskLambdaArnT = Aws::String>
178 LabelingJobSummary& WithPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) {
179 SetPreHumanTaskLambdaArn(std::forward<PreHumanTaskLambdaArnT>(value));
180 return *this;
181 }
183
185
192 inline const Aws::String& GetAnnotationConsolidationLambdaArn() const { return m_annotationConsolidationLambdaArn; }
193 inline bool AnnotationConsolidationLambdaArnHasBeenSet() const { return m_annotationConsolidationLambdaArnHasBeenSet; }
194 template <typename AnnotationConsolidationLambdaArnT = Aws::String>
195 void SetAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT&& value) {
196 m_annotationConsolidationLambdaArnHasBeenSet = true;
197 m_annotationConsolidationLambdaArn = std::forward<AnnotationConsolidationLambdaArnT>(value);
198 }
199 template <typename AnnotationConsolidationLambdaArnT = Aws::String>
200 LabelingJobSummary& WithAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT&& value) {
201 SetAnnotationConsolidationLambdaArn(std::forward<AnnotationConsolidationLambdaArnT>(value));
202 return *this;
203 }
205
207
211 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
212 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
213 template <typename FailureReasonT = Aws::String>
214 void SetFailureReason(FailureReasonT&& value) {
215 m_failureReasonHasBeenSet = true;
216 m_failureReason = std::forward<FailureReasonT>(value);
217 }
218 template <typename FailureReasonT = Aws::String>
219 LabelingJobSummary& WithFailureReason(FailureReasonT&& value) {
220 SetFailureReason(std::forward<FailureReasonT>(value));
221 return *this;
222 }
224
226
229 inline const LabelingJobOutput& GetLabelingJobOutput() const { return m_labelingJobOutput; }
230 inline bool LabelingJobOutputHasBeenSet() const { return m_labelingJobOutputHasBeenSet; }
231 template <typename LabelingJobOutputT = LabelingJobOutput>
232 void SetLabelingJobOutput(LabelingJobOutputT&& value) {
233 m_labelingJobOutputHasBeenSet = true;
234 m_labelingJobOutput = std::forward<LabelingJobOutputT>(value);
235 }
236 template <typename LabelingJobOutputT = LabelingJobOutput>
237 LabelingJobSummary& WithLabelingJobOutput(LabelingJobOutputT&& value) {
238 SetLabelingJobOutput(std::forward<LabelingJobOutputT>(value));
239 return *this;
240 }
242
244
247 inline const LabelingJobInputConfig& GetInputConfig() const { return m_inputConfig; }
248 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
249 template <typename InputConfigT = LabelingJobInputConfig>
250 void SetInputConfig(InputConfigT&& value) {
251 m_inputConfigHasBeenSet = true;
252 m_inputConfig = std::forward<InputConfigT>(value);
253 }
254 template <typename InputConfigT = LabelingJobInputConfig>
255 LabelingJobSummary& WithInputConfig(InputConfigT&& value) {
256 SetInputConfig(std::forward<InputConfigT>(value));
257 return *this;
258 }
260 private:
261 Aws::String m_labelingJobName;
262
263 Aws::String m_labelingJobArn;
264
265 Aws::Utils::DateTime m_creationTime{};
266
267 Aws::Utils::DateTime m_lastModifiedTime{};
268
270
271 LabelCounters m_labelCounters;
272
273 Aws::String m_workteamArn;
274
275 Aws::String m_preHumanTaskLambdaArn;
276
277 Aws::String m_annotationConsolidationLambdaArn;
278
279 Aws::String m_failureReason;
280
281 LabelingJobOutput m_labelingJobOutput;
282
283 LabelingJobInputConfig m_inputConfig;
284 bool m_labelingJobNameHasBeenSet = false;
285 bool m_labelingJobArnHasBeenSet = false;
286 bool m_creationTimeHasBeenSet = false;
287 bool m_lastModifiedTimeHasBeenSet = false;
288 bool m_labelingJobStatusHasBeenSet = false;
289 bool m_labelCountersHasBeenSet = false;
290 bool m_workteamArnHasBeenSet = false;
291 bool m_preHumanTaskLambdaArnHasBeenSet = false;
292 bool m_annotationConsolidationLambdaArnHasBeenSet = false;
293 bool m_failureReasonHasBeenSet = false;
294 bool m_labelingJobOutputHasBeenSet = false;
295 bool m_inputConfigHasBeenSet = false;
296};
297
298} // namespace Model
299} // namespace SageMaker
300} // namespace Aws
LabelingJobSummary & WithPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT &&value)
LabelingJobSummary & WithLabelingJobArn(LabelingJobArnT &&value)
LabelingJobSummary & WithWorkteamArn(WorkteamArnT &&value)
const LabelCounters & GetLabelCounters() const
const Aws::String & GetPreHumanTaskLambdaArn() const
LabelingJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT &&value)
void SetLabelingJobStatus(LabelingJobStatus value)
LabelingJobSummary & WithLabelCounters(LabelCountersT &&value)
const Aws::String & GetLabelingJobArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT &&value)
const LabelingJobInputConfig & GetInputConfig() const
LabelingJobSummary & WithCreationTime(CreationTimeT &&value)
void SetLabelingJobOutput(LabelingJobOutputT &&value)
void SetLabelingJobName(LabelingJobNameT &&value)
void SetLabelCounters(LabelCountersT &&value)
LabelingJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API LabelingJobSummary(Aws::Utils::Json::JsonView jsonValue)
LabelingJobSummary & WithLabelingJobOutput(LabelingJobOutputT &&value)
void SetLabelingJobArn(LabelingJobArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetLabelingJobName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobSummary & WithLabelingJobStatus(LabelingJobStatus value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API LabelingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetAnnotationConsolidationLambdaArn() const
LabelingJobSummary & WithLabelingJobName(LabelingJobNameT &&value)
LabelingJobSummary & WithAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT &&value)
LabelingJobSummary & WithInputConfig(InputConfigT &&value)
const LabelingJobOutput & GetLabelingJobOutput() const
AWS_SAGEMAKER_API LabelingJobSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue