/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { /** *

Configuration properties relevant to the network for the blockchain * framework that the network uses.

See Also:

AWS * API Reference

*/ class NetworkFrameworkConfiguration { public: AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkConfiguration(); AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API NetworkFrameworkConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline const NetworkFabricConfiguration& GetFabric() const{ return m_fabric; } /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; } /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline void SetFabric(const NetworkFabricConfiguration& value) { m_fabricHasBeenSet = true; m_fabric = value; } /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline void SetFabric(NetworkFabricConfiguration&& value) { m_fabricHasBeenSet = true; m_fabric = std::move(value); } /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline NetworkFrameworkConfiguration& WithFabric(const NetworkFabricConfiguration& value) { SetFabric(value); return *this;} /** *

Hyperledger Fabric configuration properties for a Managed Blockchain network * that uses Hyperledger Fabric.

*/ inline NetworkFrameworkConfiguration& WithFabric(NetworkFabricConfiguration&& value) { SetFabric(std::move(value)); return *this;} private: NetworkFabricConfiguration m_fabric; bool m_fabricHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws