/** * 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 AppSync { namespace Model { /** *

Describes an AWS Lambda data source configuration.

See Also:

* AWS * API Reference

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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

The ARN for the Lambda function.

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