AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFabric(const NetworkFabricAttributes& value) { m_fabricHasBeenSet = true; m_fabric = value; }
50 inline void SetFabric(NetworkFabricAttributes&& value) { m_fabricHasBeenSet = true; m_fabric = std::move(value); }
51 inline NetworkFrameworkAttributes& WithFabric(const NetworkFabricAttributes& value) { SetFabric(value); return *this;}
52 inline NetworkFrameworkAttributes& WithFabric(NetworkFabricAttributes&& value) { SetFabric(std::move(value)); return *this;}
54
56
60 inline const NetworkEthereumAttributes& GetEthereum() const{ return m_ethereum; }
61 inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; }
62 inline void SetEthereum(const NetworkEthereumAttributes& value) { m_ethereumHasBeenSet = true; m_ethereum = value; }
63 inline void SetEthereum(NetworkEthereumAttributes&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::move(value); }
65 inline NetworkFrameworkAttributes& WithEthereum(NetworkEthereumAttributes&& value) { SetEthereum(std::move(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(const NetworkEthereumAttributes &value)
NetworkFrameworkAttributes & WithFabric(const NetworkFabricAttributes &value)
NetworkFrameworkAttributes & WithEthereum(NetworkEthereumAttributes &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue)
NetworkFrameworkAttributes & WithFabric(NetworkFabricAttributes &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue