AWS SDK for C++

AWS SDK for C++ Version 1.11.834

Loading...
Searching...
No Matches
PipelineExecutionStepMetadata.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLJobStepMetadata.h>
9#include <aws/sagemaker/model/BedrockCustomModelDeploymentMetadata.h>
10#include <aws/sagemaker/model/BedrockCustomModelMetadata.h>
11#include <aws/sagemaker/model/BedrockModelImportMetadata.h>
12#include <aws/sagemaker/model/BedrockProvisionedModelThroughputMetadata.h>
13#include <aws/sagemaker/model/CallbackStepMetadata.h>
14#include <aws/sagemaker/model/ClarifyCheckStepMetadata.h>
15#include <aws/sagemaker/model/ConditionStepMetadata.h>
16#include <aws/sagemaker/model/EMRStepMetadata.h>
17#include <aws/sagemaker/model/EndpointConfigStepMetadata.h>
18#include <aws/sagemaker/model/EndpointStepMetadata.h>
19#include <aws/sagemaker/model/FailStepMetadata.h>
20#include <aws/sagemaker/model/InferenceComponentMetadata.h>
21#include <aws/sagemaker/model/JobStepMetadata.h>
22#include <aws/sagemaker/model/LambdaStepMetadata.h>
23#include <aws/sagemaker/model/LineageMetadata.h>
24#include <aws/sagemaker/model/ModelStepMetadata.h>
25#include <aws/sagemaker/model/ProcessingJobStepMetadata.h>
26#include <aws/sagemaker/model/QualityCheckStepMetadata.h>
27#include <aws/sagemaker/model/RegisterModelStepMetadata.h>
28#include <aws/sagemaker/model/TrainingJobStepMetadata.h>
29#include <aws/sagemaker/model/TransformJobStepMetadata.h>
30#include <aws/sagemaker/model/TuningJobStepMetaData.h>
31
32#include <utility>
33
34namespace Aws {
35namespace Utils {
36namespace Json {
37class JsonValue;
38class JsonView;
39} // namespace Json
40} // namespace Utils
41namespace SageMaker {
42namespace Model {
43
50 public:
51 AWS_SAGEMAKER_API PipelineExecutionStepMetadata() = default;
54 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
55
57
61 inline const TrainingJobStepMetadata& GetTrainingJob() const { return m_trainingJob; }
62 inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
63 template <typename TrainingJobT = TrainingJobStepMetadata>
64 void SetTrainingJob(TrainingJobT&& value) {
65 m_trainingJobHasBeenSet = true;
66 m_trainingJob = std::forward<TrainingJobT>(value);
67 }
68 template <typename TrainingJobT = TrainingJobStepMetadata>
70 SetTrainingJob(std::forward<TrainingJobT>(value));
71 return *this;
72 }
74
76
80 inline const ProcessingJobStepMetadata& GetProcessingJob() const { return m_processingJob; }
81 inline bool ProcessingJobHasBeenSet() const { return m_processingJobHasBeenSet; }
82 template <typename ProcessingJobT = ProcessingJobStepMetadata>
83 void SetProcessingJob(ProcessingJobT&& value) {
84 m_processingJobHasBeenSet = true;
85 m_processingJob = std::forward<ProcessingJobT>(value);
86 }
87 template <typename ProcessingJobT = ProcessingJobStepMetadata>
89 SetProcessingJob(std::forward<ProcessingJobT>(value));
90 return *this;
91 }
93
95
99 inline const TransformJobStepMetadata& GetTransformJob() const { return m_transformJob; }
100 inline bool TransformJobHasBeenSet() const { return m_transformJobHasBeenSet; }
101 template <typename TransformJobT = TransformJobStepMetadata>
102 void SetTransformJob(TransformJobT&& value) {
103 m_transformJobHasBeenSet = true;
104 m_transformJob = std::forward<TransformJobT>(value);
105 }
106 template <typename TransformJobT = TransformJobStepMetadata>
108 SetTransformJob(std::forward<TransformJobT>(value));
109 return *this;
110 }
112
114
118 inline const TuningJobStepMetaData& GetTuningJob() const { return m_tuningJob; }
119 inline bool TuningJobHasBeenSet() const { return m_tuningJobHasBeenSet; }
120 template <typename TuningJobT = TuningJobStepMetaData>
121 void SetTuningJob(TuningJobT&& value) {
122 m_tuningJobHasBeenSet = true;
123 m_tuningJob = std::forward<TuningJobT>(value);
124 }
125 template <typename TuningJobT = TuningJobStepMetaData>
127 SetTuningJob(std::forward<TuningJobT>(value));
128 return *this;
129 }
131
133
137 inline const ModelStepMetadata& GetModel() const { return m_model; }
138 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
139 template <typename ModelT = ModelStepMetadata>
140 void SetModel(ModelT&& value) {
141 m_modelHasBeenSet = true;
142 m_model = std::forward<ModelT>(value);
143 }
144 template <typename ModelT = ModelStepMetadata>
146 SetModel(std::forward<ModelT>(value));
147 return *this;
148 }
150
152
156 inline const RegisterModelStepMetadata& GetRegisterModel() const { return m_registerModel; }
157 inline bool RegisterModelHasBeenSet() const { return m_registerModelHasBeenSet; }
158 template <typename RegisterModelT = RegisterModelStepMetadata>
159 void SetRegisterModel(RegisterModelT&& value) {
160 m_registerModelHasBeenSet = true;
161 m_registerModel = std::forward<RegisterModelT>(value);
162 }
163 template <typename RegisterModelT = RegisterModelStepMetadata>
165 SetRegisterModel(std::forward<RegisterModelT>(value));
166 return *this;
167 }
169
171
175 inline const ConditionStepMetadata& GetCondition() const { return m_condition; }
176 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
177 template <typename ConditionT = ConditionStepMetadata>
178 void SetCondition(ConditionT&& value) {
179 m_conditionHasBeenSet = true;
180 m_condition = std::forward<ConditionT>(value);
181 }
182 template <typename ConditionT = ConditionStepMetadata>
184 SetCondition(std::forward<ConditionT>(value));
185 return *this;
186 }
188
190
194 inline const CallbackStepMetadata& GetCallback() const { return m_callback; }
195 inline bool CallbackHasBeenSet() const { return m_callbackHasBeenSet; }
196 template <typename CallbackT = CallbackStepMetadata>
197 void SetCallback(CallbackT&& value) {
198 m_callbackHasBeenSet = true;
199 m_callback = std::forward<CallbackT>(value);
200 }
201 template <typename CallbackT = CallbackStepMetadata>
203 SetCallback(std::forward<CallbackT>(value));
204 return *this;
205 }
207
209
213 inline const LambdaStepMetadata& GetLambda() const { return m_lambda; }
214 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
215 template <typename LambdaT = LambdaStepMetadata>
216 void SetLambda(LambdaT&& value) {
217 m_lambdaHasBeenSet = true;
218 m_lambda = std::forward<LambdaT>(value);
219 }
220 template <typename LambdaT = LambdaStepMetadata>
222 SetLambda(std::forward<LambdaT>(value));
223 return *this;
224 }
226
228
231 inline const EMRStepMetadata& GetEMR() const { return m_eMR; }
232 inline bool EMRHasBeenSet() const { return m_eMRHasBeenSet; }
233 template <typename EMRT = EMRStepMetadata>
234 void SetEMR(EMRT&& value) {
235 m_eMRHasBeenSet = true;
236 m_eMR = std::forward<EMRT>(value);
237 }
238 template <typename EMRT = EMRStepMetadata>
240 SetEMR(std::forward<EMRT>(value));
241 return *this;
242 }
244
246
259 inline const QualityCheckStepMetadata& GetQualityCheck() const { return m_qualityCheck; }
260 inline bool QualityCheckHasBeenSet() const { return m_qualityCheckHasBeenSet; }
261 template <typename QualityCheckT = QualityCheckStepMetadata>
262 void SetQualityCheck(QualityCheckT&& value) {
263 m_qualityCheckHasBeenSet = true;
264 m_qualityCheck = std::forward<QualityCheckT>(value);
265 }
266 template <typename QualityCheckT = QualityCheckStepMetadata>
268 SetQualityCheck(std::forward<QualityCheckT>(value));
269 return *this;
270 }
272
274
288 inline const ClarifyCheckStepMetadata& GetClarifyCheck() const { return m_clarifyCheck; }
289 inline bool ClarifyCheckHasBeenSet() const { return m_clarifyCheckHasBeenSet; }
290 template <typename ClarifyCheckT = ClarifyCheckStepMetadata>
291 void SetClarifyCheck(ClarifyCheckT&& value) {
292 m_clarifyCheckHasBeenSet = true;
293 m_clarifyCheck = std::forward<ClarifyCheckT>(value);
294 }
295 template <typename ClarifyCheckT = ClarifyCheckStepMetadata>
297 SetClarifyCheck(std::forward<ClarifyCheckT>(value));
298 return *this;
299 }
301
303
306 inline const FailStepMetadata& GetFail() const { return m_fail; }
307 inline bool FailHasBeenSet() const { return m_failHasBeenSet; }
308 template <typename FailT = FailStepMetadata>
309 void SetFail(FailT&& value) {
310 m_failHasBeenSet = true;
311 m_fail = std::forward<FailT>(value);
312 }
313 template <typename FailT = FailStepMetadata>
315 SetFail(std::forward<FailT>(value));
316 return *this;
317 }
319
321
325 inline const AutoMLJobStepMetadata& GetAutoMLJob() const { return m_autoMLJob; }
326 inline bool AutoMLJobHasBeenSet() const { return m_autoMLJobHasBeenSet; }
327 template <typename AutoMLJobT = AutoMLJobStepMetadata>
328 void SetAutoMLJob(AutoMLJobT&& value) {
329 m_autoMLJobHasBeenSet = true;
330 m_autoMLJob = std::forward<AutoMLJobT>(value);
331 }
332 template <typename AutoMLJobT = AutoMLJobStepMetadata>
334 SetAutoMLJob(std::forward<AutoMLJobT>(value));
335 return *this;
336 }
338
340
343 inline const EndpointStepMetadata& GetEndpoint() const { return m_endpoint; }
344 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
345 template <typename EndpointT = EndpointStepMetadata>
346 void SetEndpoint(EndpointT&& value) {
347 m_endpointHasBeenSet = true;
348 m_endpoint = std::forward<EndpointT>(value);
349 }
350 template <typename EndpointT = EndpointStepMetadata>
352 SetEndpoint(std::forward<EndpointT>(value));
353 return *this;
354 }
356
358
362 inline const EndpointConfigStepMetadata& GetEndpointConfig() const { return m_endpointConfig; }
363 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
364 template <typename EndpointConfigT = EndpointConfigStepMetadata>
365 void SetEndpointConfig(EndpointConfigT&& value) {
366 m_endpointConfigHasBeenSet = true;
367 m_endpointConfig = std::forward<EndpointConfigT>(value);
368 }
369 template <typename EndpointConfigT = EndpointConfigStepMetadata>
371 SetEndpointConfig(std::forward<EndpointConfigT>(value));
372 return *this;
373 }
375
377
381 inline const BedrockCustomModelMetadata& GetBedrockCustomModel() const { return m_bedrockCustomModel; }
382 inline bool BedrockCustomModelHasBeenSet() const { return m_bedrockCustomModelHasBeenSet; }
383 template <typename BedrockCustomModelT = BedrockCustomModelMetadata>
384 void SetBedrockCustomModel(BedrockCustomModelT&& value) {
385 m_bedrockCustomModelHasBeenSet = true;
386 m_bedrockCustomModel = std::forward<BedrockCustomModelT>(value);
387 }
388 template <typename BedrockCustomModelT = BedrockCustomModelMetadata>
390 SetBedrockCustomModel(std::forward<BedrockCustomModelT>(value));
391 return *this;
392 }
394
396
400 inline const BedrockCustomModelDeploymentMetadata& GetBedrockCustomModelDeployment() const { return m_bedrockCustomModelDeployment; }
401 inline bool BedrockCustomModelDeploymentHasBeenSet() const { return m_bedrockCustomModelDeploymentHasBeenSet; }
402 template <typename BedrockCustomModelDeploymentT = BedrockCustomModelDeploymentMetadata>
403 void SetBedrockCustomModelDeployment(BedrockCustomModelDeploymentT&& value) {
404 m_bedrockCustomModelDeploymentHasBeenSet = true;
405 m_bedrockCustomModelDeployment = std::forward<BedrockCustomModelDeploymentT>(value);
406 }
407 template <typename BedrockCustomModelDeploymentT = BedrockCustomModelDeploymentMetadata>
408 PipelineExecutionStepMetadata& WithBedrockCustomModelDeployment(BedrockCustomModelDeploymentT&& value) {
409 SetBedrockCustomModelDeployment(std::forward<BedrockCustomModelDeploymentT>(value));
410 return *this;
411 }
413
415
420 return m_bedrockProvisionedModelThroughput;
421 }
422 inline bool BedrockProvisionedModelThroughputHasBeenSet() const { return m_bedrockProvisionedModelThroughputHasBeenSet; }
423 template <typename BedrockProvisionedModelThroughputT = BedrockProvisionedModelThroughputMetadata>
424 void SetBedrockProvisionedModelThroughput(BedrockProvisionedModelThroughputT&& value) {
425 m_bedrockProvisionedModelThroughputHasBeenSet = true;
426 m_bedrockProvisionedModelThroughput = std::forward<BedrockProvisionedModelThroughputT>(value);
427 }
428 template <typename BedrockProvisionedModelThroughputT = BedrockProvisionedModelThroughputMetadata>
429 PipelineExecutionStepMetadata& WithBedrockProvisionedModelThroughput(BedrockProvisionedModelThroughputT&& value) {
430 SetBedrockProvisionedModelThroughput(std::forward<BedrockProvisionedModelThroughputT>(value));
431 return *this;
432 }
434
436
440 inline const BedrockModelImportMetadata& GetBedrockModelImport() const { return m_bedrockModelImport; }
441 inline bool BedrockModelImportHasBeenSet() const { return m_bedrockModelImportHasBeenSet; }
442 template <typename BedrockModelImportT = BedrockModelImportMetadata>
443 void SetBedrockModelImport(BedrockModelImportT&& value) {
444 m_bedrockModelImportHasBeenSet = true;
445 m_bedrockModelImport = std::forward<BedrockModelImportT>(value);
446 }
447 template <typename BedrockModelImportT = BedrockModelImportMetadata>
449 SetBedrockModelImport(std::forward<BedrockModelImportT>(value));
450 return *this;
451 }
453
455
459 inline const InferenceComponentMetadata& GetInferenceComponent() const { return m_inferenceComponent; }
460 inline bool InferenceComponentHasBeenSet() const { return m_inferenceComponentHasBeenSet; }
461 template <typename InferenceComponentT = InferenceComponentMetadata>
462 void SetInferenceComponent(InferenceComponentT&& value) {
463 m_inferenceComponentHasBeenSet = true;
464 m_inferenceComponent = std::forward<InferenceComponentT>(value);
465 }
466 template <typename InferenceComponentT = InferenceComponentMetadata>
468 SetInferenceComponent(std::forward<InferenceComponentT>(value));
469 return *this;
470 }
472
474
477 inline const LineageMetadata& GetLineage() const { return m_lineage; }
478 inline bool LineageHasBeenSet() const { return m_lineageHasBeenSet; }
479 template <typename LineageT = LineageMetadata>
480 void SetLineage(LineageT&& value) {
481 m_lineageHasBeenSet = true;
482 m_lineage = std::forward<LineageT>(value);
483 }
484 template <typename LineageT = LineageMetadata>
486 SetLineage(std::forward<LineageT>(value));
487 return *this;
488 }
490
492
495 inline const JobStepMetadata& GetJob() const { return m_job; }
496 inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
497 template <typename JobT = JobStepMetadata>
498 void SetJob(JobT&& value) {
499 m_jobHasBeenSet = true;
500 m_job = std::forward<JobT>(value);
501 }
502 template <typename JobT = JobStepMetadata>
504 SetJob(std::forward<JobT>(value));
505 return *this;
506 }
508 private:
509 TrainingJobStepMetadata m_trainingJob;
510
511 ProcessingJobStepMetadata m_processingJob;
512
513 TransformJobStepMetadata m_transformJob;
514
515 TuningJobStepMetaData m_tuningJob;
516
517 ModelStepMetadata m_model;
518
519 RegisterModelStepMetadata m_registerModel;
520
521 ConditionStepMetadata m_condition;
522
523 CallbackStepMetadata m_callback;
524
525 LambdaStepMetadata m_lambda;
526
527 EMRStepMetadata m_eMR;
528
529 QualityCheckStepMetadata m_qualityCheck;
530
531 ClarifyCheckStepMetadata m_clarifyCheck;
532
533 FailStepMetadata m_fail;
534
535 AutoMLJobStepMetadata m_autoMLJob;
536
537 EndpointStepMetadata m_endpoint;
538
539 EndpointConfigStepMetadata m_endpointConfig;
540
541 BedrockCustomModelMetadata m_bedrockCustomModel;
542
543 BedrockCustomModelDeploymentMetadata m_bedrockCustomModelDeployment;
544
545 BedrockProvisionedModelThroughputMetadata m_bedrockProvisionedModelThroughput;
546
547 BedrockModelImportMetadata m_bedrockModelImport;
548
549 InferenceComponentMetadata m_inferenceComponent;
550
551 LineageMetadata m_lineage;
552
553 JobStepMetadata m_job;
554 bool m_trainingJobHasBeenSet = false;
555 bool m_processingJobHasBeenSet = false;
556 bool m_transformJobHasBeenSet = false;
557 bool m_tuningJobHasBeenSet = false;
558 bool m_modelHasBeenSet = false;
559 bool m_registerModelHasBeenSet = false;
560 bool m_conditionHasBeenSet = false;
561 bool m_callbackHasBeenSet = false;
562 bool m_lambdaHasBeenSet = false;
563 bool m_eMRHasBeenSet = false;
564 bool m_qualityCheckHasBeenSet = false;
565 bool m_clarifyCheckHasBeenSet = false;
566 bool m_failHasBeenSet = false;
567 bool m_autoMLJobHasBeenSet = false;
568 bool m_endpointHasBeenSet = false;
569 bool m_endpointConfigHasBeenSet = false;
570 bool m_bedrockCustomModelHasBeenSet = false;
571 bool m_bedrockCustomModelDeploymentHasBeenSet = false;
572 bool m_bedrockProvisionedModelThroughputHasBeenSet = false;
573 bool m_bedrockModelImportHasBeenSet = false;
574 bool m_inferenceComponentHasBeenSet = false;
575 bool m_lineageHasBeenSet = false;
576 bool m_jobHasBeenSet = false;
577};
578
579} // namespace Model
580} // namespace SageMaker
581} // namespace Aws
const BedrockModelImportMetadata & GetBedrockModelImport() const
const BedrockCustomModelMetadata & GetBedrockCustomModel() const
PipelineExecutionStepMetadata & WithLineage(LineageT &&value)
void SetBedrockCustomModelDeployment(BedrockCustomModelDeploymentT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineExecutionStepMetadata & WithLambda(LambdaT &&value)
PipelineExecutionStepMetadata & WithProcessingJob(ProcessingJobT &&value)
PipelineExecutionStepMetadata & WithRegisterModel(RegisterModelT &&value)
PipelineExecutionStepMetadata & WithEndpoint(EndpointT &&value)
AWS_SAGEMAKER_API PipelineExecutionStepMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetBedrockProvisionedModelThroughput(BedrockProvisionedModelThroughputT &&value)
const BedrockCustomModelDeploymentMetadata & GetBedrockCustomModelDeployment() const
AWS_SAGEMAKER_API PipelineExecutionStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineExecutionStepMetadata & WithEMR(EMRT &&value)
const EndpointConfigStepMetadata & GetEndpointConfig() const
const InferenceComponentMetadata & GetInferenceComponent() const
PipelineExecutionStepMetadata & WithBedrockCustomModelDeployment(BedrockCustomModelDeploymentT &&value)
PipelineExecutionStepMetadata & WithInferenceComponent(InferenceComponentT &&value)
PipelineExecutionStepMetadata & WithFail(FailT &&value)
PipelineExecutionStepMetadata & WithBedrockCustomModel(BedrockCustomModelT &&value)
PipelineExecutionStepMetadata & WithTransformJob(TransformJobT &&value)
PipelineExecutionStepMetadata & WithCallback(CallbackT &&value)
PipelineExecutionStepMetadata & WithBedrockProvisionedModelThroughput(BedrockProvisionedModelThroughputT &&value)
const BedrockProvisionedModelThroughputMetadata & GetBedrockProvisionedModelThroughput() const
PipelineExecutionStepMetadata & WithQualityCheck(QualityCheckT &&value)
AWS_SAGEMAKER_API PipelineExecutionStepMetadata()=default
PipelineExecutionStepMetadata & WithEndpointConfig(EndpointConfigT &&value)
PipelineExecutionStepMetadata & WithTrainingJob(TrainingJobT &&value)
PipelineExecutionStepMetadata & WithBedrockModelImport(BedrockModelImportT &&value)
PipelineExecutionStepMetadata & WithClarifyCheck(ClarifyCheckT &&value)
PipelineExecutionStepMetadata & WithTuningJob(TuningJobT &&value)
PipelineExecutionStepMetadata & WithJob(JobT &&value)
PipelineExecutionStepMetadata & WithCondition(ConditionT &&value)
PipelineExecutionStepMetadata & WithModel(ModelT &&value)
PipelineExecutionStepMetadata & WithAutoMLJob(AutoMLJobT &&value)
Aws::Utils::Json::JsonValue JsonValue