/** * 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 namespace Aws { namespace SageMaker { namespace Model { /** */ class SendPipelineExecutionStepSuccessRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API SendPipelineExecutionStepSuccessRequest(); // 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 "SendPipelineExecutionStepSuccess"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline const Aws::String& GetCallbackToken() const{ return m_callbackToken; } /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; } /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline void SetCallbackToken(const Aws::String& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = value; } /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline void SetCallbackToken(Aws::String&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::move(value); } /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline void SetCallbackToken(const char* value) { m_callbackTokenHasBeenSet = true; m_callbackToken.assign(value); } /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline SendPipelineExecutionStepSuccessRequest& WithCallbackToken(const Aws::String& value) { SetCallbackToken(value); return *this;} /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline SendPipelineExecutionStepSuccessRequest& WithCallbackToken(Aws::String&& value) { SetCallbackToken(std::move(value)); return *this;} /** *

The pipeline generated token from the Amazon SQS queue.

*/ inline SendPipelineExecutionStepSuccessRequest& WithCallbackToken(const char* value) { SetCallbackToken(value); return *this;} /** *

A list of the output parameters of the callback step.

*/ inline const Aws::Vector& GetOutputParameters() const{ return m_outputParameters; } /** *

A list of the output parameters of the callback step.

*/ inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; } /** *

A list of the output parameters of the callback step.

*/ inline void SetOutputParameters(const Aws::Vector& value) { m_outputParametersHasBeenSet = true; m_outputParameters = value; } /** *

A list of the output parameters of the callback step.

*/ inline void SetOutputParameters(Aws::Vector&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::move(value); } /** *

A list of the output parameters of the callback step.

*/ inline SendPipelineExecutionStepSuccessRequest& WithOutputParameters(const Aws::Vector& value) { SetOutputParameters(value); return *this;} /** *

A list of the output parameters of the callback step.

*/ inline SendPipelineExecutionStepSuccessRequest& WithOutputParameters(Aws::Vector&& value) { SetOutputParameters(std::move(value)); return *this;} /** *

A list of the output parameters of the callback step.

*/ inline SendPipelineExecutionStepSuccessRequest& AddOutputParameters(const OutputParameter& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(value); return *this; } /** *

A list of the output parameters of the callback step.

*/ inline SendPipelineExecutionStepSuccessRequest& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(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 one * time.

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

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

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

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

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

*/ inline SendPipelineExecutionStepSuccessRequest& 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 one * time.

*/ inline SendPipelineExecutionStepSuccessRequest& 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 one * time.

*/ inline SendPipelineExecutionStepSuccessRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_callbackToken; bool m_callbackTokenHasBeenSet = false; Aws::Vector m_outputParameters; bool m_outputParametersHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws