AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeFrameworkAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/model/NodeFabricAttributes.h>
9#include <aws/managedblockchain/model/NodeEthereumAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ManagedBlockchain
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes();
37 AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const NodeFabricAttributes& GetFabric() const{ return m_fabric; }
48 inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; }
49 inline void SetFabric(const NodeFabricAttributes& value) { m_fabricHasBeenSet = true; m_fabric = value; }
50 inline void SetFabric(NodeFabricAttributes&& value) { m_fabricHasBeenSet = true; m_fabric = std::move(value); }
51 inline NodeFrameworkAttributes& WithFabric(const NodeFabricAttributes& value) { SetFabric(value); return *this;}
52 inline NodeFrameworkAttributes& WithFabric(NodeFabricAttributes&& value) { SetFabric(std::move(value)); return *this;}
54
56
60 inline const NodeEthereumAttributes& GetEthereum() const{ return m_ethereum; }
61 inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; }
62 inline void SetEthereum(const NodeEthereumAttributes& value) { m_ethereumHasBeenSet = true; m_ethereum = value; }
63 inline void SetEthereum(NodeEthereumAttributes&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::move(value); }
64 inline NodeFrameworkAttributes& WithEthereum(const NodeEthereumAttributes& value) { SetEthereum(value); return *this;}
65 inline NodeFrameworkAttributes& WithEthereum(NodeEthereumAttributes&& value) { SetEthereum(std::move(value)); return *this;}
67 private:
68
69 NodeFabricAttributes m_fabric;
70 bool m_fabricHasBeenSet = false;
71
72 NodeEthereumAttributes m_ethereum;
73 bool m_ethereumHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ManagedBlockchain
78} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NodeFrameworkAttributes & WithEthereum(const NodeEthereumAttributes &value)
AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFrameworkAttributes & WithEthereum(NodeEthereumAttributes &&value)
NodeFrameworkAttributes & WithFabric(NodeFabricAttributes &&value)
NodeFrameworkAttributes & WithFabric(const NodeFabricAttributes &value)
void SetEthereum(const NodeEthereumAttributes &value)
AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue