AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataConnector.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/LambdaFunction.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTTWINMAKER_API DataConnector();
35 AWS_IOTTWINMAKER_API DataConnector(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTTWINMAKER_API DataConnector& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const LambdaFunction& GetLambda() const{ return m_lambda; }
45 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
46 inline void SetLambda(const LambdaFunction& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
47 inline void SetLambda(LambdaFunction&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); }
48 inline DataConnector& WithLambda(const LambdaFunction& value) { SetLambda(value); return *this;}
49 inline DataConnector& WithLambda(LambdaFunction&& value) { SetLambda(std::move(value)); return *this;}
51
53
57 inline bool GetIsNative() const{ return m_isNative; }
58 inline bool IsNativeHasBeenSet() const { return m_isNativeHasBeenSet; }
59 inline void SetIsNative(bool value) { m_isNativeHasBeenSet = true; m_isNative = value; }
60 inline DataConnector& WithIsNative(bool value) { SetIsNative(value); return *this;}
62 private:
63
64 LambdaFunction m_lambda;
65 bool m_lambdaHasBeenSet = false;
66
67 bool m_isNative;
68 bool m_isNativeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTTwinMaker
73} // namespace Aws
void SetLambda(LambdaFunction &&value)
AWS_IOTTWINMAKER_API DataConnector()
DataConnector & WithIsNative(bool value)
const LambdaFunction & GetLambda() const
AWS_IOTTWINMAKER_API DataConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
DataConnector & WithLambda(const LambdaFunction &value)
DataConnector & WithLambda(LambdaFunction &&value)
void SetLambda(const LambdaFunction &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API DataConnector(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue