/** * 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 AWS_APPSYNC_API LambdaConflictHandlerConfig { public: LambdaConflictHandlerConfig(); LambdaConflictHandlerConfig(Aws::Utils::Json::JsonView jsonValue); LambdaConflictHandlerConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Arn for the Lambda function to use as the Conflict Handler.

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

The Arn for the Lambda function to use as the Conflict Handler.

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

The 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 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 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 Arn for the Lambda function to use as the Conflict Handler.

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

The Arn for the Lambda function to use as the Conflict Handler.

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

The 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; }; } // namespace Model } // namespace AppSync } // namespace Aws