AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeTransformJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/BatchDataCaptureConfig.h>
12#include <aws/sagemaker/model/BatchStrategy.h>
13#include <aws/sagemaker/model/DataProcessing.h>
14#include <aws/sagemaker/model/ExperimentConfig.h>
15#include <aws/sagemaker/model/ModelClientConfig.h>
16#include <aws/sagemaker/model/TransformInput.h>
17#include <aws/sagemaker/model/TransformJobStatus.h>
18#include <aws/sagemaker/model/TransformOutput.h>
19#include <aws/sagemaker/model/TransformResources.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker {
33namespace Model {
35 public:
36 AWS_SAGEMAKER_API DescribeTransformJobResult() = default;
39
41
44 inline const Aws::String& GetTransformJobName() const { return m_transformJobName; }
45 template <typename TransformJobNameT = Aws::String>
46 void SetTransformJobName(TransformJobNameT&& value) {
47 m_transformJobNameHasBeenSet = true;
48 m_transformJobName = std::forward<TransformJobNameT>(value);
49 }
50 template <typename TransformJobNameT = Aws::String>
52 SetTransformJobName(std::forward<TransformJobNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetTransformJobArn() const { return m_transformJobArn; }
62 template <typename TransformJobArnT = Aws::String>
63 void SetTransformJobArn(TransformJobArnT&& value) {
64 m_transformJobArnHasBeenSet = true;
65 m_transformJobArn = std::forward<TransformJobArnT>(value);
66 }
67 template <typename TransformJobArnT = Aws::String>
69 SetTransformJobArn(std::forward<TransformJobArnT>(value));
70 return *this;
71 }
73
75
79 inline TransformJobStatus GetTransformJobStatus() const { return m_transformJobStatus; }
81 m_transformJobStatusHasBeenSet = true;
82 m_transformJobStatus = value;
83 }
86 return *this;
87 }
89
91
98 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
99 template <typename FailureReasonT = Aws::String>
100 void SetFailureReason(FailureReasonT&& value) {
101 m_failureReasonHasBeenSet = true;
102 m_failureReason = std::forward<FailureReasonT>(value);
103 }
104 template <typename FailureReasonT = Aws::String>
106 SetFailureReason(std::forward<FailureReasonT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetModelName() const { return m_modelName; }
116 template <typename ModelNameT = Aws::String>
117 void SetModelName(ModelNameT&& value) {
118 m_modelNameHasBeenSet = true;
119 m_modelName = std::forward<ModelNameT>(value);
120 }
121 template <typename ModelNameT = Aws::String>
123 SetModelName(std::forward<ModelNameT>(value));
124 return *this;
125 }
127
129
133 inline int GetMaxConcurrentTransforms() const { return m_maxConcurrentTransforms; }
134 inline void SetMaxConcurrentTransforms(int value) {
135 m_maxConcurrentTransformsHasBeenSet = true;
136 m_maxConcurrentTransforms = value;
137 }
140 return *this;
141 }
143
145
149 inline const ModelClientConfig& GetModelClientConfig() const { return m_modelClientConfig; }
150 template <typename ModelClientConfigT = ModelClientConfig>
151 void SetModelClientConfig(ModelClientConfigT&& value) {
152 m_modelClientConfigHasBeenSet = true;
153 m_modelClientConfig = std::forward<ModelClientConfigT>(value);
154 }
155 template <typename ModelClientConfigT = ModelClientConfig>
157 SetModelClientConfig(std::forward<ModelClientConfigT>(value));
158 return *this;
159 }
161
163
166 inline int GetMaxPayloadInMB() const { return m_maxPayloadInMB; }
167 inline void SetMaxPayloadInMB(int value) {
168 m_maxPayloadInMBHasBeenSet = true;
169 m_maxPayloadInMB = value;
170 }
172 SetMaxPayloadInMB(value);
173 return *this;
174 }
176
178
185 inline BatchStrategy GetBatchStrategy() const { return m_batchStrategy; }
186 inline void SetBatchStrategy(BatchStrategy value) {
187 m_batchStrategyHasBeenSet = true;
188 m_batchStrategy = value;
189 }
191 SetBatchStrategy(value);
192 return *this;
193 }
195
197
201 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
202 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
203 void SetEnvironment(EnvironmentT&& value) {
204 m_environmentHasBeenSet = true;
205 m_environment = std::forward<EnvironmentT>(value);
206 }
207 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
209 SetEnvironment(std::forward<EnvironmentT>(value));
210 return *this;
211 }
212 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
213 DescribeTransformJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
214 m_environmentHasBeenSet = true;
215 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
216 return *this;
217 }
219
221
225 inline const TransformInput& GetTransformInput() const { return m_transformInput; }
226 template <typename TransformInputT = TransformInput>
227 void SetTransformInput(TransformInputT&& value) {
228 m_transformInputHasBeenSet = true;
229 m_transformInput = std::forward<TransformInputT>(value);
230 }
231 template <typename TransformInputT = TransformInput>
233 SetTransformInput(std::forward<TransformInputT>(value));
234 return *this;
235 }
237
239
243 inline const TransformOutput& GetTransformOutput() const { return m_transformOutput; }
244 template <typename TransformOutputT = TransformOutput>
245 void SetTransformOutput(TransformOutputT&& value) {
246 m_transformOutputHasBeenSet = true;
247 m_transformOutput = std::forward<TransformOutputT>(value);
248 }
249 template <typename TransformOutputT = TransformOutput>
251 SetTransformOutput(std::forward<TransformOutputT>(value));
252 return *this;
253 }
255
257
260 inline const BatchDataCaptureConfig& GetDataCaptureConfig() const { return m_dataCaptureConfig; }
261 template <typename DataCaptureConfigT = BatchDataCaptureConfig>
262 void SetDataCaptureConfig(DataCaptureConfigT&& value) {
263 m_dataCaptureConfigHasBeenSet = true;
264 m_dataCaptureConfig = std::forward<DataCaptureConfigT>(value);
265 }
266 template <typename DataCaptureConfigT = BatchDataCaptureConfig>
268 SetDataCaptureConfig(std::forward<DataCaptureConfigT>(value));
269 return *this;
270 }
272
274
278 inline const TransformResources& GetTransformResources() const { return m_transformResources; }
279 template <typename TransformResourcesT = TransformResources>
280 void SetTransformResources(TransformResourcesT&& value) {
281 m_transformResourcesHasBeenSet = true;
282 m_transformResources = std::forward<TransformResourcesT>(value);
283 }
284 template <typename TransformResourcesT = TransformResources>
286 SetTransformResources(std::forward<TransformResourcesT>(value));
287 return *this;
288 }
290
292
295 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
296 template <typename CreationTimeT = Aws::Utils::DateTime>
297 void SetCreationTime(CreationTimeT&& value) {
298 m_creationTimeHasBeenSet = true;
299 m_creationTime = std::forward<CreationTimeT>(value);
300 }
301 template <typename CreationTimeT = Aws::Utils::DateTime>
303 SetCreationTime(std::forward<CreationTimeT>(value));
304 return *this;
305 }
307
309
314 inline const Aws::Utils::DateTime& GetTransformStartTime() const { return m_transformStartTime; }
315 template <typename TransformStartTimeT = Aws::Utils::DateTime>
316 void SetTransformStartTime(TransformStartTimeT&& value) {
317 m_transformStartTimeHasBeenSet = true;
318 m_transformStartTime = std::forward<TransformStartTimeT>(value);
319 }
320 template <typename TransformStartTimeT = Aws::Utils::DateTime>
322 SetTransformStartTime(std::forward<TransformStartTimeT>(value));
323 return *this;
324 }
326
328
333 inline const Aws::Utils::DateTime& GetTransformEndTime() const { return m_transformEndTime; }
334 template <typename TransformEndTimeT = Aws::Utils::DateTime>
335 void SetTransformEndTime(TransformEndTimeT&& value) {
336 m_transformEndTimeHasBeenSet = true;
337 m_transformEndTime = std::forward<TransformEndTimeT>(value);
338 }
339 template <typename TransformEndTimeT = Aws::Utils::DateTime>
341 SetTransformEndTime(std::forward<TransformEndTimeT>(value));
342 return *this;
343 }
345
347
351 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
352 template <typename LabelingJobArnT = Aws::String>
353 void SetLabelingJobArn(LabelingJobArnT&& value) {
354 m_labelingJobArnHasBeenSet = true;
355 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
356 }
357 template <typename LabelingJobArnT = Aws::String>
359 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
360 return *this;
361 }
363
365
368 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
369 template <typename AutoMLJobArnT = Aws::String>
370 void SetAutoMLJobArn(AutoMLJobArnT&& value) {
371 m_autoMLJobArnHasBeenSet = true;
372 m_autoMLJobArn = std::forward<AutoMLJobArnT>(value);
373 }
374 template <typename AutoMLJobArnT = Aws::String>
376 SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value));
377 return *this;
378 }
380
382
383 inline const DataProcessing& GetDataProcessing() const { return m_dataProcessing; }
384 template <typename DataProcessingT = DataProcessing>
385 void SetDataProcessing(DataProcessingT&& value) {
386 m_dataProcessingHasBeenSet = true;
387 m_dataProcessing = std::forward<DataProcessingT>(value);
388 }
389 template <typename DataProcessingT = DataProcessing>
391 SetDataProcessing(std::forward<DataProcessingT>(value));
392 return *this;
393 }
395
397
398 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
399 template <typename ExperimentConfigT = ExperimentConfig>
400 void SetExperimentConfig(ExperimentConfigT&& value) {
401 m_experimentConfigHasBeenSet = true;
402 m_experimentConfig = std::forward<ExperimentConfigT>(value);
403 }
404 template <typename ExperimentConfigT = ExperimentConfig>
406 SetExperimentConfig(std::forward<ExperimentConfigT>(value));
407 return *this;
408 }
410
412
413 inline const Aws::String& GetRequestId() const { return m_requestId; }
414 template <typename RequestIdT = Aws::String>
415 void SetRequestId(RequestIdT&& value) {
416 m_requestIdHasBeenSet = true;
417 m_requestId = std::forward<RequestIdT>(value);
418 }
419 template <typename RequestIdT = Aws::String>
421 SetRequestId(std::forward<RequestIdT>(value));
422 return *this;
423 }
425 private:
426 Aws::String m_transformJobName;
427
428 Aws::String m_transformJobArn;
429
431
432 Aws::String m_failureReason;
433
434 Aws::String m_modelName;
435
436 int m_maxConcurrentTransforms{0};
437
438 ModelClientConfig m_modelClientConfig;
439
440 int m_maxPayloadInMB{0};
441
442 BatchStrategy m_batchStrategy{BatchStrategy::NOT_SET};
443
445
446 TransformInput m_transformInput;
447
448 TransformOutput m_transformOutput;
449
450 BatchDataCaptureConfig m_dataCaptureConfig;
451
452 TransformResources m_transformResources;
453
454 Aws::Utils::DateTime m_creationTime{};
455
456 Aws::Utils::DateTime m_transformStartTime{};
457
458 Aws::Utils::DateTime m_transformEndTime{};
459
460 Aws::String m_labelingJobArn;
461
462 Aws::String m_autoMLJobArn;
463
464 DataProcessing m_dataProcessing;
465
466 ExperimentConfig m_experimentConfig;
467
468 Aws::String m_requestId;
469 bool m_transformJobNameHasBeenSet = false;
470 bool m_transformJobArnHasBeenSet = false;
471 bool m_transformJobStatusHasBeenSet = false;
472 bool m_failureReasonHasBeenSet = false;
473 bool m_modelNameHasBeenSet = false;
474 bool m_maxConcurrentTransformsHasBeenSet = false;
475 bool m_modelClientConfigHasBeenSet = false;
476 bool m_maxPayloadInMBHasBeenSet = false;
477 bool m_batchStrategyHasBeenSet = false;
478 bool m_environmentHasBeenSet = false;
479 bool m_transformInputHasBeenSet = false;
480 bool m_transformOutputHasBeenSet = false;
481 bool m_dataCaptureConfigHasBeenSet = false;
482 bool m_transformResourcesHasBeenSet = false;
483 bool m_creationTimeHasBeenSet = false;
484 bool m_transformStartTimeHasBeenSet = false;
485 bool m_transformEndTimeHasBeenSet = false;
486 bool m_labelingJobArnHasBeenSet = false;
487 bool m_autoMLJobArnHasBeenSet = false;
488 bool m_dataProcessingHasBeenSet = false;
489 bool m_experimentConfigHasBeenSet = false;
490 bool m_requestIdHasBeenSet = false;
491};
492
493} // namespace Model
494} // namespace SageMaker
495} // namespace Aws
DescribeTransformJobResult & WithBatchStrategy(BatchStrategy value)
DescribeTransformJobResult & WithFailureReason(FailureReasonT &&value)
DescribeTransformJobResult & WithCreationTime(CreationTimeT &&value)
DescribeTransformJobResult & WithRequestId(RequestIdT &&value)
DescribeTransformJobResult & WithTransformStartTime(TransformStartTimeT &&value)
DescribeTransformJobResult & WithModelClientConfig(ModelClientConfigT &&value)
AWS_SAGEMAKER_API DescribeTransformJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTransformJobResult & WithTransformResources(TransformResourcesT &&value)
DescribeTransformJobResult & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
DescribeTransformJobResult & WithTransformJobArn(TransformJobArnT &&value)
DescribeTransformJobResult & WithMaxPayloadInMB(int value)
DescribeTransformJobResult & WithDataProcessing(DataProcessingT &&value)
DescribeTransformJobResult & WithEnvironment(EnvironmentT &&value)
DescribeTransformJobResult & WithLabelingJobArn(LabelingJobArnT &&value)
DescribeTransformJobResult & WithTransformInput(TransformInputT &&value)
DescribeTransformJobResult & WithModelName(ModelNameT &&value)
AWS_SAGEMAKER_API DescribeTransformJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const BatchDataCaptureConfig & GetDataCaptureConfig() const
DescribeTransformJobResult & WithTransformOutput(TransformOutputT &&value)
DescribeTransformJobResult & WithTransformJobName(TransformJobNameT &&value)
DescribeTransformJobResult & WithTransformEndTime(TransformEndTimeT &&value)
DescribeTransformJobResult & WithExperimentConfig(ExperimentConfigT &&value)
DescribeTransformJobResult & WithDataCaptureConfig(DataCaptureConfigT &&value)
DescribeTransformJobResult & WithAutoMLJobArn(AutoMLJobArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
DescribeTransformJobResult & WithMaxConcurrentTransforms(int value)
DescribeTransformJobResult & WithTransformJobStatus(TransformJobStatus value)
AWS_SAGEMAKER_API DescribeTransformJobResult()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue