AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NetworkFrameworkAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/model/NetworkFabricAttributes.h>
9#include <aws/managedblockchain/model/NetworkEthereumAttributes.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 NetworkFrameworkAttributes() = default;
37 AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const NetworkFabricAttributes& GetFabric() const { return m_fabric; }
48 inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; }
49 template<typename FabricT = NetworkFabricAttributes>
50 void SetFabric(FabricT&& value) { m_fabricHasBeenSet = true; m_fabric = std::forward<FabricT>(value); }
51 template<typename FabricT = NetworkFabricAttributes>
52 NetworkFrameworkAttributes& WithFabric(FabricT&& value) { SetFabric(std::forward<FabricT>(value)); return *this;}
54
56
60 inline const NetworkEthereumAttributes& GetEthereum() const { return m_ethereum; }
61 inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; }
62 template<typename EthereumT = NetworkEthereumAttributes>
63 void SetEthereum(EthereumT&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::forward<EthereumT>(value); }
64 template<typename EthereumT = NetworkEthereumAttributes>
65 NetworkFrameworkAttributes& WithEthereum(EthereumT&& value) { SetEthereum(std::forward<EthereumT>(value)); return *this;}
67 private:
68
70 bool m_fabricHasBeenSet = false;
71
73 bool m_ethereumHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ManagedBlockchain
78} // namespace Aws
NetworkFrameworkAttributes & WithEthereum(EthereumT &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkFrameworkAttributes & WithFabric(FabricT &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes()=default
AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue