/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class RetryPipelineExecutionRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API RetryPipelineExecutionRequest(); // 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 "RetryPipelineExecution"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline const Aws::String& GetPipelineExecutionArn() const{ return m_pipelineExecutionArn; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline bool PipelineExecutionArnHasBeenSet() const { return m_pipelineExecutionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetPipelineExecutionArn(const Aws::String& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = value; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetPipelineExecutionArn(Aws::String&& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetPipelineExecutionArn(const char* value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline RetryPipelineExecutionRequest& WithPipelineExecutionArn(const Aws::String& value) { SetPipelineExecutionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline RetryPipelineExecutionRequest& WithPipelineExecutionArn(Aws::String&& value) { SetPipelineExecutionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline RetryPipelineExecutionRequest& WithPipelineExecutionArn(const char* value) { SetPipelineExecutionArn(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 RetryPipelineExecutionRequest& 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 RetryPipelineExecutionRequest& 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 RetryPipelineExecutionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline.

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

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline.

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

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline.

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

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline.

*/ 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.

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

This configuration, if specified, overrides the parallelism configuration of * the parent pipeline.

*/ inline RetryPipelineExecutionRequest& WithParallelismConfiguration(ParallelismConfiguration&& value) { SetParallelismConfiguration(std::move(value)); return *this;} private: Aws::String m_pipelineExecutionArn; bool m_pipelineExecutionArnHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; ParallelismConfiguration m_parallelismConfiguration; bool m_parallelismConfigurationHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws