AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FabricT = NodeFabricAttributes>
50 void SetFabric(FabricT&& value) { m_fabricHasBeenSet = true; m_fabric = std::forward<FabricT>(value); }
51 template<typename FabricT = NodeFabricAttributes>
52 NodeFrameworkAttributes& WithFabric(FabricT&& value) { SetFabric(std::forward<FabricT>(value)); return *this;}
54
56
60 inline const NodeEthereumAttributes& GetEthereum() const { return m_ethereum; }
61 inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; }
62 template<typename EthereumT = NodeEthereumAttributes>
63 void SetEthereum(EthereumT&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::forward<EthereumT>(value); }
64 template<typename EthereumT = NodeEthereumAttributes>
65 NodeFrameworkAttributes& WithEthereum(EthereumT&& value) { SetEthereum(std::forward<EthereumT>(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 NodeFrameworkAttributes()=default
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFrameworkAttributes & WithFabric(FabricT &&value)
NodeFrameworkAttributes & WithEthereum(EthereumT &&value)
AWS_MANAGEDBLOCKCHAIN_API NodeFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue