AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LambdaT = LambdaFunction>
47 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
48 template<typename LambdaT = LambdaFunction>
49 DataConnector& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(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{false};
68 bool m_isNativeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTTwinMaker
73} // namespace Aws
DataConnector & WithLambda(LambdaT &&value)
DataConnector & WithIsNative(bool value)
const LambdaFunction & GetLambda() const
AWS_IOTTWINMAKER_API DataConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API DataConnector()=default
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API DataConnector(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue