AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabelingJobName(const Aws::String& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = value; }
53 inline void SetLabelingJobName(Aws::String&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::move(value); }
54 inline void SetLabelingJobName(const char* value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName.assign(value); }
55 inline LabelingJobSummary& WithLabelingJobName(const Aws::String& value) { SetLabelingJobName(value); return *this;}
56 inline LabelingJobSummary& WithLabelingJobName(Aws::String&& value) { SetLabelingJobName(std::move(value)); return *this;}
57 inline LabelingJobSummary& WithLabelingJobName(const char* value) { SetLabelingJobName(value); return *this;}
59
61
65 inline const Aws::String& GetLabelingJobArn() const{ return m_labelingJobArn; }
66 inline bool LabelingJobArnHasBeenSet() const { return m_labelingJobArnHasBeenSet; }
67 inline void SetLabelingJobArn(const Aws::String& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = value; }
68 inline void SetLabelingJobArn(Aws::String&& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = std::move(value); }
69 inline void SetLabelingJobArn(const char* value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn.assign(value); }
70 inline LabelingJobSummary& WithLabelingJobArn(const Aws::String& value) { SetLabelingJobArn(value); return *this;}
71 inline LabelingJobSummary& WithLabelingJobArn(Aws::String&& value) { SetLabelingJobArn(std::move(value)); return *this;}
72 inline LabelingJobSummary& WithLabelingJobArn(const char* value) { SetLabelingJobArn(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
80 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
81 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
82 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
83 inline LabelingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
84 inline LabelingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
92 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
93 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
94 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
96 inline LabelingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
98
100
103 inline const LabelingJobStatus& GetLabelingJobStatus() const{ return m_labelingJobStatus; }
104 inline bool LabelingJobStatusHasBeenSet() const { return m_labelingJobStatusHasBeenSet; }
105 inline void SetLabelingJobStatus(const LabelingJobStatus& value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = value; }
106 inline void SetLabelingJobStatus(LabelingJobStatus&& value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = std::move(value); }
108 inline LabelingJobSummary& WithLabelingJobStatus(LabelingJobStatus&& value) { SetLabelingJobStatus(std::move(value)); return *this;}
110
112
115 inline const LabelCounters& GetLabelCounters() const{ return m_labelCounters; }
116 inline bool LabelCountersHasBeenSet() const { return m_labelCountersHasBeenSet; }
117 inline void SetLabelCounters(const LabelCounters& value) { m_labelCountersHasBeenSet = true; m_labelCounters = value; }
118 inline void SetLabelCounters(LabelCounters&& value) { m_labelCountersHasBeenSet = true; m_labelCounters = std::move(value); }
119 inline LabelingJobSummary& WithLabelCounters(const LabelCounters& value) { SetLabelCounters(value); return *this;}
120 inline LabelingJobSummary& WithLabelCounters(LabelCounters&& value) { SetLabelCounters(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; }
128 inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
129 inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; }
130 inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); }
131 inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); }
132 inline LabelingJobSummary& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;}
133 inline LabelingJobSummary& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;}
134 inline LabelingJobSummary& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;}
136
138
142 inline const Aws::String& GetPreHumanTaskLambdaArn() const{ return m_preHumanTaskLambdaArn; }
143 inline bool PreHumanTaskLambdaArnHasBeenSet() const { return m_preHumanTaskLambdaArnHasBeenSet; }
144 inline void SetPreHumanTaskLambdaArn(const Aws::String& value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn = value; }
145 inline void SetPreHumanTaskLambdaArn(Aws::String&& value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn = std::move(value); }
146 inline void SetPreHumanTaskLambdaArn(const char* value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn.assign(value); }
148 inline LabelingJobSummary& WithPreHumanTaskLambdaArn(Aws::String&& value) { SetPreHumanTaskLambdaArn(std::move(value)); return *this;}
149 inline LabelingJobSummary& WithPreHumanTaskLambdaArn(const char* value) { SetPreHumanTaskLambdaArn(value); return *this;}
151
153
160 inline const Aws::String& GetAnnotationConsolidationLambdaArn() const{ return m_annotationConsolidationLambdaArn; }
161 inline bool AnnotationConsolidationLambdaArnHasBeenSet() const { return m_annotationConsolidationLambdaArnHasBeenSet; }
162 inline void SetAnnotationConsolidationLambdaArn(const Aws::String& value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn = value; }
163 inline void SetAnnotationConsolidationLambdaArn(Aws::String&& value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn = std::move(value); }
164 inline void SetAnnotationConsolidationLambdaArn(const char* value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn.assign(value); }
169
171
175 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
176 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
177 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
178 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
179 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
180 inline LabelingJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
181 inline LabelingJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
182 inline LabelingJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
184
186
189 inline const LabelingJobOutput& GetLabelingJobOutput() const{ return m_labelingJobOutput; }
190 inline bool LabelingJobOutputHasBeenSet() const { return m_labelingJobOutputHasBeenSet; }
191 inline void SetLabelingJobOutput(const LabelingJobOutput& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = value; }
192 inline void SetLabelingJobOutput(LabelingJobOutput&& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = std::move(value); }
194 inline LabelingJobSummary& WithLabelingJobOutput(LabelingJobOutput&& value) { SetLabelingJobOutput(std::move(value)); return *this;}
196
198
201 inline const LabelingJobInputConfig& GetInputConfig() const{ return m_inputConfig; }
202 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
203 inline void SetInputConfig(const LabelingJobInputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; }
204 inline void SetInputConfig(LabelingJobInputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); }
205 inline LabelingJobSummary& WithInputConfig(const LabelingJobInputConfig& value) { SetInputConfig(value); return *this;}
206 inline LabelingJobSummary& WithInputConfig(LabelingJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;}
208 private:
209
210 Aws::String m_labelingJobName;
211 bool m_labelingJobNameHasBeenSet = false;
212
213 Aws::String m_labelingJobArn;
214 bool m_labelingJobArnHasBeenSet = false;
215
216 Aws::Utils::DateTime m_creationTime;
217 bool m_creationTimeHasBeenSet = false;
218
219 Aws::Utils::DateTime m_lastModifiedTime;
220 bool m_lastModifiedTimeHasBeenSet = false;
221
222 LabelingJobStatus m_labelingJobStatus;
223 bool m_labelingJobStatusHasBeenSet = false;
224
225 LabelCounters m_labelCounters;
226 bool m_labelCountersHasBeenSet = false;
227
228 Aws::String m_workteamArn;
229 bool m_workteamArnHasBeenSet = false;
230
231 Aws::String m_preHumanTaskLambdaArn;
232 bool m_preHumanTaskLambdaArnHasBeenSet = false;
233
234 Aws::String m_annotationConsolidationLambdaArn;
235 bool m_annotationConsolidationLambdaArnHasBeenSet = false;
236
237 Aws::String m_failureReason;
238 bool m_failureReasonHasBeenSet = false;
239
240 LabelingJobOutput m_labelingJobOutput;
241 bool m_labelingJobOutputHasBeenSet = false;
242
243 LabelingJobInputConfig m_inputConfig;
244 bool m_inputConfigHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace SageMaker
249} // namespace Aws
LabelingJobSummary & WithFailureReason(const Aws::String &value)
const LabelCounters & GetLabelCounters() const
LabelingJobSummary & WithWorkteamArn(const Aws::String &value)
const Aws::String & GetPreHumanTaskLambdaArn() const
LabelingJobSummary & WithPreHumanTaskLambdaArn(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
LabelingJobSummary & WithAnnotationConsolidationLambdaArn(Aws::String &&value)
const Aws::String & GetLabelingJobArn() const
LabelingJobSummary & WithInputConfig(LabelingJobInputConfig &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetAnnotationConsolidationLambdaArn(const char *value)
LabelingJobSummary & WithLabelingJobArn(const Aws::String &value)
void SetWorkteamArn(const Aws::String &value)
void SetPreHumanTaskLambdaArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
LabelingJobSummary & WithLabelingJobOutput(LabelingJobOutput &&value)
LabelingJobSummary & WithWorkteamArn(const char *value)
void SetFailureReason(const Aws::String &value)
void SetLabelingJobOutput(LabelingJobOutput &&value)
LabelingJobSummary & WithPreHumanTaskLambdaArn(const char *value)
LabelingJobSummary & WithAnnotationConsolidationLambdaArn(const Aws::String &value)
const LabelingJobInputConfig & GetInputConfig() const
LabelingJobSummary & WithInputConfig(const LabelingJobInputConfig &value)
LabelingJobSummary & WithWorkteamArn(Aws::String &&value)
LabelingJobSummary & WithLabelingJobName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
LabelingJobSummary & WithLabelCounters(LabelCounters &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetInputConfig(const LabelingJobInputConfig &value)
void SetLabelingJobStatus(const LabelingJobStatus &value)
LabelingJobSummary & WithLabelingJobStatus(const LabelingJobStatus &value)
LabelingJobSummary & WithFailureReason(Aws::String &&value)
void SetAnnotationConsolidationLambdaArn(const Aws::String &value)
void SetInputConfig(LabelingJobInputConfig &&value)
void SetLabelingJobArn(const Aws::String &value)
LabelingJobSummary & WithLabelingJobOutput(const LabelingJobOutput &value)
LabelingJobSummary & WithLabelCounters(const LabelCounters &value)
LabelingJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API LabelingJobSummary(Aws::Utils::Json::JsonView jsonValue)
LabelingJobSummary & WithPreHumanTaskLambdaArn(const Aws::String &value)
void SetAnnotationConsolidationLambdaArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLabelingJobName(const Aws::String &value)
LabelingJobSummary & WithLabelingJobName(Aws::String &&value)
LabelingJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLabelCounters(const LabelCounters &value)
const Aws::String & GetLabelingJobName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobSummary & WithFailureReason(const char *value)
void SetLabelingJobOutput(const LabelingJobOutput &value)
AWS_SAGEMAKER_API LabelingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPreHumanTaskLambdaArn(Aws::String &&value)
LabelingJobSummary & WithAnnotationConsolidationLambdaArn(const char *value)
LabelingJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const LabelingJobStatus & GetLabelingJobStatus() const
const Aws::String & GetAnnotationConsolidationLambdaArn() const
LabelingJobSummary & WithLabelingJobArn(const char *value)
const LabelingJobOutput & GetLabelingJobOutput() const
void SetLabelingJobStatus(LabelingJobStatus &&value)
LabelingJobSummary & WithLabelingJobName(const char *value)
LabelingJobSummary & WithLabelingJobStatus(LabelingJobStatus &&value)
LabelingJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
LabelingJobSummary & WithLabelingJobArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue