AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NetworkFrameworkAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/model/NetworkEthereumAttributes.h>
9#include <aws/managedblockchain/model/NetworkFabricAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ManagedBlockchain {
21namespace Model {
22
30 public:
31 AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes() = default;
32 AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const NetworkFabricAttributes& GetFabric() const { return m_fabric; }
42 inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; }
43 template <typename FabricT = NetworkFabricAttributes>
44 void SetFabric(FabricT&& value) {
45 m_fabricHasBeenSet = true;
46 m_fabric = std::forward<FabricT>(value);
47 }
48 template <typename FabricT = NetworkFabricAttributes>
50 SetFabric(std::forward<FabricT>(value));
51 return *this;
52 }
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) {
64 m_ethereumHasBeenSet = true;
65 m_ethereum = std::forward<EthereumT>(value);
66 }
67 template <typename EthereumT = NetworkEthereumAttributes>
69 SetEthereum(std::forward<EthereumT>(value));
70 return *this;
71 }
73 private:
75
77 bool m_fabricHasBeenSet = false;
78 bool m_ethereumHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ManagedBlockchain
83} // 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