/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class StartPipelineExecutionRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API StartPipelineExecutionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartPipelineExecution"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline StartPipelineExecutionRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline StartPipelineExecutionRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the pipeline.

*/ inline StartPipelineExecutionRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *

The display name of the pipeline execution.

*/ inline const Aws::String& GetPipelineExecutionDisplayName() const{ return m_pipelineExecutionDisplayName; } /** *

The display name of the pipeline execution.

*/ inline bool PipelineExecutionDisplayNameHasBeenSet() const { return m_pipelineExecutionDisplayNameHasBeenSet; } /** *

The display name of the pipeline execution.

*/ inline void SetPipelineExecutionDisplayName(const Aws::String& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = value; } /** *

The display name of the pipeline execution.

*/ inline void SetPipelineExecutionDisplayName(Aws::String&& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = std::move(value); } /** *

The display name of the pipeline execution.

*/ inline void SetPipelineExecutionDisplayName(const char* value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName.assign(value); } /** *

The display name of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDisplayName(const Aws::String& value) { SetPipelineExecutionDisplayName(value); return *this;} /** *

The display name of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDisplayName(Aws::String&& value) { SetPipelineExecutionDisplayName(std::move(value)); return *this;} /** *

The display name of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDisplayName(const char* value) { SetPipelineExecutionDisplayName(value); return *this;} /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline const Aws::Vector& GetPipelineParameters() const{ return m_pipelineParameters; } /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; } /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline void SetPipelineParameters(const Aws::Vector& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = value; } /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline void SetPipelineParameters(Aws::Vector&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = std::move(value); } /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline StartPipelineExecutionRequest& WithPipelineParameters(const Aws::Vector& value) { SetPipelineParameters(value); return *this;} /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline StartPipelineExecutionRequest& WithPipelineParameters(Aws::Vector&& value) { SetPipelineParameters(std::move(value)); return *this;} /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline StartPipelineExecutionRequest& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; } /** *

Contains a list of pipeline parameters. This list can be empty.

*/ inline StartPipelineExecutionRequest& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; } /** *

The description of the pipeline execution.

*/ inline const Aws::String& GetPipelineExecutionDescription() const{ return m_pipelineExecutionDescription; } /** *

The description of the pipeline execution.

*/ inline bool PipelineExecutionDescriptionHasBeenSet() const { return m_pipelineExecutionDescriptionHasBeenSet; } /** *

The description of the pipeline execution.

*/ inline void SetPipelineExecutionDescription(const Aws::String& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = value; } /** *

The description of the pipeline execution.

*/ inline void SetPipelineExecutionDescription(Aws::String&& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = std::move(value); } /** *

The description of the pipeline execution.

*/ inline void SetPipelineExecutionDescription(const char* value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription.assign(value); } /** *

The description of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDescription(const Aws::String& value) { SetPipelineExecutionDescription(value); return *this;} /** *

The description of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDescription(Aws::String&& value) { SetPipelineExecutionDescription(std::move(value)); return *this;} /** *

The description of the pipeline execution.

*/ inline StartPipelineExecutionRequest& WithPipelineExecutionDescription(const char* value) { SetPipelineExecutionDescription(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline StartPipelineExecutionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline StartPipelineExecutionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the operation. An idempotent operation completes no more than * once.

*/ inline StartPipelineExecutionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; } /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; } /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; } /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); } /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline StartPipelineExecutionRequest& WithParallelismConfiguration(const ParallelismConfiguration& value) { SetParallelismConfiguration(value); return *this;} /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline for this specific run.

*/ inline StartPipelineExecutionRequest& WithParallelismConfiguration(ParallelismConfiguration&& value) { SetParallelismConfiguration(std::move(value)); return *this;} /** *

The selective execution configuration applied to the pipeline run.

*/ inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; } /** *

The selective execution configuration applied to the pipeline run.

*/ inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; } /** *

The selective execution configuration applied to the pipeline run.

*/ inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; } /** *

The selective execution configuration applied to the pipeline run.

*/ inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); } /** *

The selective execution configuration applied to the pipeline run.

*/ inline StartPipelineExecutionRequest& WithSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { SetSelectiveExecutionConfig(value); return *this;} /** *

The selective execution configuration applied to the pipeline run.

*/ inline StartPipelineExecutionRequest& WithSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { SetSelectiveExecutionConfig(std::move(value)); return *this;} private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::String m_pipelineExecutionDisplayName; bool m_pipelineExecutionDisplayNameHasBeenSet = false; Aws::Vector m_pipelineParameters; bool m_pipelineParametersHasBeenSet = false; Aws::String m_pipelineExecutionDescription; bool m_pipelineExecutionDescriptionHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; ParallelismConfiguration m_parallelismConfiguration; bool m_parallelismConfigurationHasBeenSet = false; SelectiveExecutionConfig m_selectiveExecutionConfig; bool m_selectiveExecutionConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws