/** * 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 { /** *

The LambdaConflictHandlerConfig object when configuring * LAMBDA as the Conflict Handler.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline const Aws::String& GetLambdaConflictHandlerArn() const{ return m_lambdaConflictHandlerArn; } /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline bool LambdaConflictHandlerArnHasBeenSet() const { return m_lambdaConflictHandlerArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline void SetLambdaConflictHandlerArn(const Aws::String& value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn = value; } /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline void SetLambdaConflictHandlerArn(Aws::String&& value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline void SetLambdaConflictHandlerArn(const char* value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(const Aws::String& value) { SetLambdaConflictHandlerArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(Aws::String&& value) { SetLambdaConflictHandlerArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict * Handler.

*/ inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(const char* value) { SetLambdaConflictHandlerArn(value); return *this;} private: Aws::String m_lambdaConflictHandlerArn; bool m_lambdaConflictHandlerArnHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws