/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Metadata about a callback step.

See Also:

AWS * API Reference

*/ class CallbackStepMetadata { public: AWS_SAGEMAKER_API CallbackStepMetadata(); AWS_SAGEMAKER_API CallbackStepMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API CallbackStepMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 CallbackStepMetadata& WithCallbackToken(const Aws::String& value) { SetCallbackToken(value); return *this;} /** *

The pipeline generated token from the Amazon SQS queue.

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

The pipeline generated token from the Amazon SQS queue.

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

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline const Aws::String& GetSqsQueueUrl() const{ return m_sqsQueueUrl; } /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline bool SqsQueueUrlHasBeenSet() const { return m_sqsQueueUrlHasBeenSet; } /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline void SetSqsQueueUrl(const Aws::String& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = value; } /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline void SetSqsQueueUrl(Aws::String&& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = std::move(value); } /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline void SetSqsQueueUrl(const char* value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl.assign(value); } /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline CallbackStepMetadata& WithSqsQueueUrl(const Aws::String& value) { SetSqsQueueUrl(value); return *this;} /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline CallbackStepMetadata& WithSqsQueueUrl(Aws::String&& value) { SetSqsQueueUrl(std::move(value)); return *this;} /** *

The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the * callback step.

*/ inline CallbackStepMetadata& WithSqsQueueUrl(const char* value) { SetSqsQueueUrl(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 CallbackStepMetadata& WithOutputParameters(const Aws::Vector& value) { SetOutputParameters(value); return *this;} /** *

A list of the output parameters of the callback step.

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

A list of the output parameters of the callback step.

*/ inline CallbackStepMetadata& 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 CallbackStepMetadata& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(std::move(value)); return *this; } private: Aws::String m_callbackToken; bool m_callbackTokenHasBeenSet = false; Aws::String m_sqsQueueUrl; bool m_sqsQueueUrlHasBeenSet = false; Aws::Vector m_outputParameters; bool m_outputParametersHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws