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

Details about the configuration for the Lambda action engine, or * executor.

See Also:

AWS * API Reference

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

The ARN of the Lambda function used by the action engine.

*/ inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; } /** *

The ARN of the Lambda function used by the action engine.

*/ inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } /** *

The ARN of the Lambda function used by the action engine.

*/ inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; } /** *

The ARN of the Lambda function used by the action engine.

*/ inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); } /** *

The ARN of the Lambda function used by the action engine.

*/ inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); } /** *

The ARN of the Lambda function used by the action engine.

*/ inline LambdaExecutorConfiguration& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;} /** *

The ARN of the Lambda function used by the action engine.

*/ inline LambdaExecutorConfiguration& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;} /** *

The ARN of the Lambda function used by the action engine.

*/ inline LambdaExecutorConfiguration& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;} private: Aws::String m_lambdaFunctionArn; bool m_lambdaFunctionArnHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws