AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LabelingJobSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/LabelingJobStatus.h>
11#include <aws/sagemaker/model/LabelCounters.h>
12#include <aws/sagemaker/model/LabelingJobOutput.h>
13#include <aws/sagemaker/model/LabelingJobInputConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SAGEMAKER_API LabelingJobSummary() = default;
41 AWS_SAGEMAKER_API LabelingJobSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetLabelingJobName() const { return m_labelingJobName; }
51 inline bool LabelingJobNameHasBeenSet() const { return m_labelingJobNameHasBeenSet; }
52 template<typename LabelingJobNameT = Aws::String>
53 void SetLabelingJobName(LabelingJobNameT&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::forward<LabelingJobNameT>(value); }
54 template<typename LabelingJobNameT = Aws::String>
55 LabelingJobSummary& WithLabelingJobName(LabelingJobNameT&& value) { SetLabelingJobName(std::forward<LabelingJobNameT>(value)); return *this;}
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) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = std::forward<LabelingJobArnT>(value); }
67 template<typename LabelingJobArnT = Aws::String>
68 LabelingJobSummary& WithLabelingJobArn(LabelingJobArnT&& value) { SetLabelingJobArn(std::forward<LabelingJobArnT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template<typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 LabelingJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
90 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
91 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
92 LabelingJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
94
96
99 inline LabelingJobStatus GetLabelingJobStatus() const { return m_labelingJobStatus; }
100 inline bool LabelingJobStatusHasBeenSet() const { return m_labelingJobStatusHasBeenSet; }
101 inline void SetLabelingJobStatus(LabelingJobStatus value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = value; }
104
106
109 inline const LabelCounters& GetLabelCounters() const { return m_labelCounters; }
110 inline bool LabelCountersHasBeenSet() const { return m_labelCountersHasBeenSet; }
111 template<typename LabelCountersT = LabelCounters>
112 void SetLabelCounters(LabelCountersT&& value) { m_labelCountersHasBeenSet = true; m_labelCounters = std::forward<LabelCountersT>(value); }
113 template<typename LabelCountersT = LabelCounters>
114 LabelingJobSummary& WithLabelCounters(LabelCountersT&& value) { SetLabelCounters(std::forward<LabelCountersT>(value)); return *this;}
116
118
121 inline const Aws::String& GetWorkteamArn() const { return m_workteamArn; }
122 inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
123 template<typename WorkteamArnT = Aws::String>
124 void SetWorkteamArn(WorkteamArnT&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::forward<WorkteamArnT>(value); }
125 template<typename WorkteamArnT = Aws::String>
126 LabelingJobSummary& WithWorkteamArn(WorkteamArnT&& value) { SetWorkteamArn(std::forward<WorkteamArnT>(value)); return *this;}
128
130
134 inline const Aws::String& GetPreHumanTaskLambdaArn() const { return m_preHumanTaskLambdaArn; }
135 inline bool PreHumanTaskLambdaArnHasBeenSet() const { return m_preHumanTaskLambdaArnHasBeenSet; }
136 template<typename PreHumanTaskLambdaArnT = Aws::String>
137 void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn = std::forward<PreHumanTaskLambdaArnT>(value); }
138 template<typename PreHumanTaskLambdaArnT = Aws::String>
139 LabelingJobSummary& WithPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) { SetPreHumanTaskLambdaArn(std::forward<PreHumanTaskLambdaArnT>(value)); return *this;}
141
143
150 inline const Aws::String& GetAnnotationConsolidationLambdaArn() const { return m_annotationConsolidationLambdaArn; }
151 inline bool AnnotationConsolidationLambdaArnHasBeenSet() const { return m_annotationConsolidationLambdaArnHasBeenSet; }
152 template<typename AnnotationConsolidationLambdaArnT = Aws::String>
153 void SetAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT&& value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn = std::forward<AnnotationConsolidationLambdaArnT>(value); }
154 template<typename AnnotationConsolidationLambdaArnT = Aws::String>
155 LabelingJobSummary& WithAnnotationConsolidationLambdaArn(AnnotationConsolidationLambdaArnT&& value) { SetAnnotationConsolidationLambdaArn(std::forward<AnnotationConsolidationLambdaArnT>(value)); return *this;}
157
159
163 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
164 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
165 template<typename FailureReasonT = Aws::String>
166 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
167 template<typename FailureReasonT = Aws::String>
168 LabelingJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
170
172
175 inline const LabelingJobOutput& GetLabelingJobOutput() const { return m_labelingJobOutput; }
176 inline bool LabelingJobOutputHasBeenSet() const { return m_labelingJobOutputHasBeenSet; }
177 template<typename LabelingJobOutputT = LabelingJobOutput>
178 void SetLabelingJobOutput(LabelingJobOutputT&& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = std::forward<LabelingJobOutputT>(value); }
179 template<typename LabelingJobOutputT = LabelingJobOutput>
180 LabelingJobSummary& WithLabelingJobOutput(LabelingJobOutputT&& value) { SetLabelingJobOutput(std::forward<LabelingJobOutputT>(value)); return *this;}
182
184
187 inline const LabelingJobInputConfig& GetInputConfig() const { return m_inputConfig; }
188 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
189 template<typename InputConfigT = LabelingJobInputConfig>
190 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
191 template<typename InputConfigT = LabelingJobInputConfig>
192 LabelingJobSummary& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
194 private:
195
196 Aws::String m_labelingJobName;
197 bool m_labelingJobNameHasBeenSet = false;
198
199 Aws::String m_labelingJobArn;
200 bool m_labelingJobArnHasBeenSet = false;
201
202 Aws::Utils::DateTime m_creationTime{};
203 bool m_creationTimeHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastModifiedTime{};
206 bool m_lastModifiedTimeHasBeenSet = false;
207
209 bool m_labelingJobStatusHasBeenSet = false;
210
211 LabelCounters m_labelCounters;
212 bool m_labelCountersHasBeenSet = false;
213
214 Aws::String m_workteamArn;
215 bool m_workteamArnHasBeenSet = false;
216
217 Aws::String m_preHumanTaskLambdaArn;
218 bool m_preHumanTaskLambdaArnHasBeenSet = false;
219
220 Aws::String m_annotationConsolidationLambdaArn;
221 bool m_annotationConsolidationLambdaArnHasBeenSet = false;
222
223 Aws::String m_failureReason;
224 bool m_failureReasonHasBeenSet = false;
225
226 LabelingJobOutput m_labelingJobOutput;
227 bool m_labelingJobOutputHasBeenSet = false;
228
229 LabelingJobInputConfig m_inputConfig;
230 bool m_inputConfigHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace SageMaker
235} // 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