/** * 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 for a Lambda step.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline LambdaStepMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline LambdaStepMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Lambda function that was run by this * step execution.

*/ inline LambdaStepMetadata& WithArn(const char* value) { SetArn(value); return *this;} /** *

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

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

A list of the output parameters of the Lambda step.

*/ inline LambdaStepMetadata& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector m_outputParameters; bool m_outputParametersHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws