AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeTransformJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/BatchDataCaptureConfig.h>
13#include <aws/sagemaker/model/BatchStrategy.h>
14#include <aws/sagemaker/model/DataProcessing.h>
15#include <aws/sagemaker/model/ExperimentConfig.h>
16#include <aws/sagemaker/model/ModelClientConfig.h>
17#include <aws/sagemaker/model/TransformInput.h>
18#include <aws/sagemaker/model/TransformJobStatus.h>
19#include <aws/sagemaker/model/TransformOutput.h>
20#include <aws/sagemaker/model/TransformResources.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace SageMaker {
34namespace Model {
36 public:
37 AWS_SAGEMAKER_API DescribeTransformJobResult() = default;
40
42
45 inline const Aws::String& GetTransformJobName() const { return m_transformJobName; }
46 template <typename TransformJobNameT = Aws::String>
47 void SetTransformJobName(TransformJobNameT&& value) {
48 m_transformJobNameHasBeenSet = true;
49 m_transformJobName = std::forward<TransformJobNameT>(value);
50 }
51 template <typename TransformJobNameT = Aws::String>
53 SetTransformJobName(std::forward<TransformJobNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetTransformJobArn() const { return m_transformJobArn; }
63 template <typename TransformJobArnT = Aws::String>
64 void SetTransformJobArn(TransformJobArnT&& value) {
65 m_transformJobArnHasBeenSet = true;
66 m_transformJobArn = std::forward<TransformJobArnT>(value);
67 }
68 template <typename TransformJobArnT = Aws::String>
70 SetTransformJobArn(std::forward<TransformJobArnT>(value));
71 return *this;
72 }
74
76
80 inline TransformJobStatus GetTransformJobStatus() const { return m_transformJobStatus; }
82 m_transformJobStatusHasBeenSet = true;
83 m_transformJobStatus = value;
84 }
87 return *this;
88 }
90
92
99 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
100 template <typename FailureReasonT = Aws::String>
101 void SetFailureReason(FailureReasonT&& value) {
102 m_failureReasonHasBeenSet = true;
103 m_failureReason = std::forward<FailureReasonT>(value);
104 }
105 template <typename FailureReasonT = Aws::String>
107 SetFailureReason(std::forward<FailureReasonT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetModelName() const { return m_modelName; }
117 template <typename ModelNameT = Aws::String>
118 void SetModelName(ModelNameT&& value) {
119 m_modelNameHasBeenSet = true;
120 m_modelName = std::forward<ModelNameT>(value);
121 }
122 template <typename ModelNameT = Aws::String>
124 SetModelName(std::forward<ModelNameT>(value));
125 return *this;
126 }
128
130
134 inline int GetMaxConcurrentTransforms() const { return m_maxConcurrentTransforms; }
135 inline void SetMaxConcurrentTransforms(int value) {
136 m_maxConcurrentTransformsHasBeenSet = true;
137 m_maxConcurrentTransforms = value;
138 }
141 return *this;
142 }
144
146
150 inline const ModelClientConfig& GetModelClientConfig() const { return m_modelClientConfig; }
151 template <typename ModelClientConfigT = ModelClientConfig>
152 void SetModelClientConfig(ModelClientConfigT&& value) {
153 m_modelClientConfigHasBeenSet = true;
154 m_modelClientConfig = std::forward<ModelClientConfigT>(value);
155 }
156 template <typename ModelClientConfigT = ModelClientConfig>
158 SetModelClientConfig(std::forward<ModelClientConfigT>(value));
159 return *this;
160 }
162
164
167 inline int GetMaxPayloadInMB() const { return m_maxPayloadInMB; }
168 inline void SetMaxPayloadInMB(int value) {
169 m_maxPayloadInMBHasBeenSet = true;
170 m_maxPayloadInMB = value;
171 }
173 SetMaxPayloadInMB(value);
174 return *this;
175 }
177
179
186 inline BatchStrategy GetBatchStrategy() const { return m_batchStrategy; }
187 inline void SetBatchStrategy(BatchStrategy value) {
188 m_batchStrategyHasBeenSet = true;
189 m_batchStrategy = value;
190 }
192 SetBatchStrategy(value);
193 return *this;
194 }
196
198
202 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
203 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
204 void SetEnvironment(EnvironmentT&& value) {
205 m_environmentHasBeenSet = true;
206 m_environment = std::forward<EnvironmentT>(value);
207 }
208 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
210 SetEnvironment(std::forward<EnvironmentT>(value));
211 return *this;
212 }
213 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
214 DescribeTransformJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
215 m_environmentHasBeenSet = true;
216 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
217 return *this;
218 }
220
222
226 inline const TransformInput& GetTransformInput() const { return m_transformInput; }
227 template <typename TransformInputT = TransformInput>
228 void SetTransformInput(TransformInputT&& value) {
229 m_transformInputHasBeenSet = true;
230 m_transformInput = std::forward<TransformInputT>(value);
231 }
232 template <typename TransformInputT = TransformInput>
234 SetTransformInput(std::forward<TransformInputT>(value));
235 return *this;
236 }
238
240
244 inline const TransformOutput& GetTransformOutput() const { return m_transformOutput; }
245 template <typename TransformOutputT = TransformOutput>
246 void SetTransformOutput(TransformOutputT&& value) {
247 m_transformOutputHasBeenSet = true;
248 m_transformOutput = std::forward<TransformOutputT>(value);
249 }
250 template <typename TransformOutputT = TransformOutput>
252 SetTransformOutput(std::forward<TransformOutputT>(value));
253 return *this;
254 }
256
258
261 inline const BatchDataCaptureConfig& GetDataCaptureConfig() const { return m_dataCaptureConfig; }
262 template <typename DataCaptureConfigT = BatchDataCaptureConfig>
263 void SetDataCaptureConfig(DataCaptureConfigT&& value) {
264 m_dataCaptureConfigHasBeenSet = true;
265 m_dataCaptureConfig = std::forward<DataCaptureConfigT>(value);
266 }
267 template <typename DataCaptureConfigT = BatchDataCaptureConfig>
269 SetDataCaptureConfig(std::forward<DataCaptureConfigT>(value));
270 return *this;
271 }
273
275
279 inline const TransformResources& GetTransformResources() const { return m_transformResources; }
280 template <typename TransformResourcesT = TransformResources>
281 void SetTransformResources(TransformResourcesT&& value) {
282 m_transformResourcesHasBeenSet = true;
283 m_transformResources = std::forward<TransformResourcesT>(value);
284 }
285 template <typename TransformResourcesT = TransformResources>
287 SetTransformResources(std::forward<TransformResourcesT>(value));
288 return *this;
289 }
291
293
296 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
297 template <typename CreationTimeT = Aws::Utils::DateTime>
298 void SetCreationTime(CreationTimeT&& value) {
299 m_creationTimeHasBeenSet = true;
300 m_creationTime = std::forward<CreationTimeT>(value);
301 }
302 template <typename CreationTimeT = Aws::Utils::DateTime>
304 SetCreationTime(std::forward<CreationTimeT>(value));
305 return *this;
306 }
308
310
315 inline const Aws::Utils::DateTime& GetTransformStartTime() const { return m_transformStartTime; }
316 template <typename TransformStartTimeT = Aws::Utils::DateTime>
317 void SetTransformStartTime(TransformStartTimeT&& value) {
318 m_transformStartTimeHasBeenSet = true;
319 m_transformStartTime = std::forward<TransformStartTimeT>(value);
320 }
321 template <typename TransformStartTimeT = Aws::Utils::DateTime>
323 SetTransformStartTime(std::forward<TransformStartTimeT>(value));
324 return *this;
325 }
327
329
334 inline const Aws::Utils::DateTime& GetTransformEndTime() const { return m_transformEndTime; }
335 template <typename TransformEndTimeT = Aws::Utils::DateTime>
336 void SetTransformEndTime(TransformEndTimeT&& value) {
337 m_transformEndTimeHasBeenSet = true;
338 m_transformEndTime = std::forward<TransformEndTimeT>(value);
339 }
340 template <typename TransformEndTimeT = Aws::Utils::DateTime>
342 SetTransformEndTime(std::forward<TransformEndTimeT>(value));
343 return *this;
344 }
346
348
352 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
353 template <typename LabelingJobArnT = Aws::String>
354 void SetLabelingJobArn(LabelingJobArnT&& value) {
355 m_labelingJobArnHasBeenSet = true;
356 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
357 }
358 template <typename LabelingJobArnT = Aws::String>
360 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
361 return *this;
362 }
364
366
369 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
370 template <typename AutoMLJobArnT = Aws::String>
371 void SetAutoMLJobArn(AutoMLJobArnT&& value) {
372 m_autoMLJobArnHasBeenSet = true;
373 m_autoMLJobArn = std::forward<AutoMLJobArnT>(value);
374 }
375 template <typename AutoMLJobArnT = Aws::String>
377 SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value));
378 return *this;
379 }
381
383
384 inline const DataProcessing& GetDataProcessing() const { return m_dataProcessing; }
385 template <typename DataProcessingT = DataProcessing>
386 void SetDataProcessing(DataProcessingT&& value) {
387 m_dataProcessingHasBeenSet = true;
388 m_dataProcessing = std::forward<DataProcessingT>(value);
389 }
390 template <typename DataProcessingT = DataProcessing>
392 SetDataProcessing(std::forward<DataProcessingT>(value));
393 return *this;
394 }
396
398
399 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
400 template <typename ExperimentConfigT = ExperimentConfig>
401 void SetExperimentConfig(ExperimentConfigT&& value) {
402 m_experimentConfigHasBeenSet = true;
403 m_experimentConfig = std::forward<ExperimentConfigT>(value);
404 }
405 template <typename ExperimentConfigT = ExperimentConfig>
407 SetExperimentConfig(std::forward<ExperimentConfigT>(value));
408 return *this;
409 }
411
413
414 inline const Aws::String& GetRequestId() const { return m_requestId; }
415 template <typename RequestIdT = Aws::String>
416 void SetRequestId(RequestIdT&& value) {
417 m_requestIdHasBeenSet = true;
418 m_requestId = std::forward<RequestIdT>(value);
419 }
420 template <typename RequestIdT = Aws::String>
422 SetRequestId(std::forward<RequestIdT>(value));
423 return *this;
424 }
426 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
427
428 private:
429 Aws::String m_transformJobName;
430
431 Aws::String m_transformJobArn;
432
434
435 Aws::String m_failureReason;
436
437 Aws::String m_modelName;
438
439 int m_maxConcurrentTransforms{0};
440
441 ModelClientConfig m_modelClientConfig;
442
443 int m_maxPayloadInMB{0};
444
445 BatchStrategy m_batchStrategy{BatchStrategy::NOT_SET};
446
448
449 TransformInput m_transformInput;
450
451 TransformOutput m_transformOutput;
452
453 BatchDataCaptureConfig m_dataCaptureConfig;
454
455 TransformResources m_transformResources;
456
457 Aws::Utils::DateTime m_creationTime{};
458
459 Aws::Utils::DateTime m_transformStartTime{};
460
461 Aws::Utils::DateTime m_transformEndTime{};
462
463 Aws::String m_labelingJobArn;
464
465 Aws::String m_autoMLJobArn;
466
467 DataProcessing m_dataProcessing;
468
469 ExperimentConfig m_experimentConfig;
470
471 Aws::String m_requestId;
472 Aws::Http::HttpResponseCode m_HttpResponseCode;
473 bool m_transformJobNameHasBeenSet = false;
474 bool m_transformJobArnHasBeenSet = false;
475 bool m_transformJobStatusHasBeenSet = false;
476 bool m_failureReasonHasBeenSet = false;
477 bool m_modelNameHasBeenSet = false;
478 bool m_maxConcurrentTransformsHasBeenSet = false;
479 bool m_modelClientConfigHasBeenSet = false;
480 bool m_maxPayloadInMBHasBeenSet = false;
481 bool m_batchStrategyHasBeenSet = false;
482 bool m_environmentHasBeenSet = false;
483 bool m_transformInputHasBeenSet = false;
484 bool m_transformOutputHasBeenSet = false;
485 bool m_dataCaptureConfigHasBeenSet = false;
486 bool m_transformResourcesHasBeenSet = false;
487 bool m_creationTimeHasBeenSet = false;
488 bool m_transformStartTimeHasBeenSet = false;
489 bool m_transformEndTimeHasBeenSet = false;
490 bool m_labelingJobArnHasBeenSet = false;
491 bool m_autoMLJobArnHasBeenSet = false;
492 bool m_dataProcessingHasBeenSet = false;
493 bool m_experimentConfigHasBeenSet = false;
494 bool m_requestIdHasBeenSet = false;
495};
496
497} // namespace Model
498} // namespace SageMaker
499} // 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