/** * 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 { /** *

Hyperledger Fabric configuration properties for the network.

See * Also:

AWS * API Reference

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

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline const Edition& GetEdition() const{ return m_edition; } /** *

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; } /** *

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; } /** *

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); } /** *

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline NetworkFabricConfiguration& WithEdition(const Edition& value) { SetEdition(value); return *this;} /** *

The edition of Amazon Managed Blockchain that the network uses. For more * information, see Amazon Managed * Blockchain Pricing.

*/ inline NetworkFabricConfiguration& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;} private: Edition m_edition; bool m_editionHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws