/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The data connector.See Also:
AWS
* API Reference
The Lambda function associated with this data connector.
*/ inline const LambdaFunction& GetLambda() const{ return m_lambda; } /** *The Lambda function associated with this data connector.
*/ inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; } /** *The Lambda function associated with this data connector.
*/ inline void SetLambda(const LambdaFunction& value) { m_lambdaHasBeenSet = true; m_lambda = value; } /** *The Lambda function associated with this data connector.
*/ inline void SetLambda(LambdaFunction&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); } /** *The Lambda function associated with this data connector.
*/ inline DataConnector& WithLambda(const LambdaFunction& value) { SetLambda(value); return *this;} /** *The Lambda function associated with this data connector.
*/ inline DataConnector& WithLambda(LambdaFunction&& value) { SetLambda(std::move(value)); return *this;} /** *A Boolean value that specifies whether the data connector is native to IoT * TwinMaker.
*/ inline bool GetIsNative() const{ return m_isNative; } /** *A Boolean value that specifies whether the data connector is native to IoT * TwinMaker.
*/ inline bool IsNativeHasBeenSet() const { return m_isNativeHasBeenSet; } /** *A Boolean value that specifies whether the data connector is native to IoT * TwinMaker.
*/ inline void SetIsNative(bool value) { m_isNativeHasBeenSet = true; m_isNative = value; } /** *A Boolean value that specifies whether the data connector is native to IoT * TwinMaker.
*/ inline DataConnector& WithIsNative(bool value) { SetIsNative(value); return *this;} private: LambdaFunction m_lambda; bool m_lambdaHasBeenSet = false; bool m_isNative; bool m_isNativeHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws