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/LambdaDataSourceConfig.h

90 lines
2.5 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>Describes an AWS Lambda data source configuration.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig">AWS
* API Reference</a></p>
*/
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;
/**
* <p>The ARN for the Lambda function.</p>
*/
inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
/**
* <p>The ARN for the Lambda function.</p>
*/
inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
/**
* <p>The ARN for the Lambda function.</p>
*/
inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
/**
* <p>The ARN for the Lambda function.</p>
*/
inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
/**
* <p>The ARN for the Lambda function.</p>
*/
inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
/**
* <p>The ARN for the Lambda function.</p>
*/
inline LambdaDataSourceConfig& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;}
/**
* <p>The ARN for the Lambda function.</p>
*/
inline LambdaDataSourceConfig& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
/**
* <p>The ARN for the Lambda function.</p>
*/
inline LambdaDataSourceConfig& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
private:
Aws::String m_lambdaFunctionArn;
bool m_lambdaFunctionArnHasBeenSet;
};
} // namespace Model
} // namespace AppSync
} // namespace Aws