This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-appsync/include/aws/appsync/model/LambdaConflictHandlerConfig.h

90 lines
3.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appsync/AppSync_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AppSync
{
namespace Model
{
/**
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring LAMBDA
* as the Conflict Handler.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaConflictHandlerConfig">AWS
* API Reference</a></p>
*/
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;
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline const Aws::String& GetLambdaConflictHandlerArn() const{ return m_lambdaConflictHandlerArn; }
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline bool LambdaConflictHandlerArnHasBeenSet() const { return m_lambdaConflictHandlerArnHasBeenSet; }
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline void SetLambdaConflictHandlerArn(const Aws::String& value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn = value; }
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline void SetLambdaConflictHandlerArn(Aws::String&& value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn = std::move(value); }
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline void SetLambdaConflictHandlerArn(const char* value) { m_lambdaConflictHandlerArnHasBeenSet = true; m_lambdaConflictHandlerArn.assign(value); }
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(const Aws::String& value) { SetLambdaConflictHandlerArn(value); return *this;}
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(Aws::String&& value) { SetLambdaConflictHandlerArn(std::move(value)); return *this;}
/**
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
*/
inline LambdaConflictHandlerConfig& WithLambdaConflictHandlerArn(const char* value) { SetLambdaConflictHandlerArn(value); return *this;}
private:
Aws::String m_lambdaConflictHandlerArn;
bool m_lambdaConflictHandlerArnHasBeenSet;
};
} // namespace Model
} // namespace AppSync
} // namespace Aws