/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Attributes relevant to a node on a Managed Blockchain network for the
* blockchain framework that the network uses.See Also:
AWS
* API Reference
Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline const NodeFabricAttributes& GetFabric() const{ return m_fabric; } /** *Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; } /** *Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline void SetFabric(const NodeFabricAttributes& value) { m_fabricHasBeenSet = true; m_fabric = value; } /** *Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline void SetFabric(NodeFabricAttributes&& value) { m_fabricHasBeenSet = true; m_fabric = std::move(value); } /** *Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline NodeFrameworkAttributes& WithFabric(const NodeFabricAttributes& value) { SetFabric(value); return *this;} /** *Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain * network that uses Hyperledger Fabric.
*/ inline NodeFrameworkAttributes& WithFabric(NodeFabricAttributes&& value) { SetFabric(std::move(value)); return *this;} /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline const NodeEthereumAttributes& GetEthereum() const{ return m_ethereum; } /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; } /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline void SetEthereum(const NodeEthereumAttributes& value) { m_ethereumHasBeenSet = true; m_ethereum = value; } /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline void SetEthereum(NodeEthereumAttributes&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::move(value); } /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline NodeFrameworkAttributes& WithEthereum(const NodeEthereumAttributes& value) { SetEthereum(value); return *this;} /** *Attributes of Ethereum for a node on a Managed Blockchain network that uses * Ethereum.
*/ inline NodeFrameworkAttributes& WithEthereum(NodeEthereumAttributes&& value) { SetEthereum(std::move(value)); return *this;} private: NodeFabricAttributes m_fabric; bool m_fabricHasBeenSet = false; NodeEthereumAttributes m_ethereum; bool m_ethereumHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws