/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Attributes of Hyperledger Fabric for a network.See Also:
AWS
* API Reference
The endpoint of the ordering service for the network.
*/ inline const Aws::String& GetOrderingServiceEndpoint() const{ return m_orderingServiceEndpoint; } /** *The endpoint of the ordering service for the network.
*/ inline bool OrderingServiceEndpointHasBeenSet() const { return m_orderingServiceEndpointHasBeenSet; } /** *The endpoint of the ordering service for the network.
*/ inline void SetOrderingServiceEndpoint(const Aws::String& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = value; } /** *The endpoint of the ordering service for the network.
*/ inline void SetOrderingServiceEndpoint(Aws::String&& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = std::move(value); } /** *The endpoint of the ordering service for the network.
*/ inline void SetOrderingServiceEndpoint(const char* value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint.assign(value); } /** *The endpoint of the ordering service for the network.
*/ inline NetworkFabricAttributes& WithOrderingServiceEndpoint(const Aws::String& value) { SetOrderingServiceEndpoint(value); return *this;} /** *The endpoint of the ordering service for the network.
*/ inline NetworkFabricAttributes& WithOrderingServiceEndpoint(Aws::String&& value) { SetOrderingServiceEndpoint(std::move(value)); return *this;} /** *The endpoint of the ordering service for the network.
*/ inline NetworkFabricAttributes& WithOrderingServiceEndpoint(const char* value) { SetOrderingServiceEndpoint(value); return *this;} /** *The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For * more information, see Amazon Managed * Blockchain Pricing.
*/ inline const Edition& GetEdition() const{ return m_edition; } /** *The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For * more information, see Amazon Managed * Blockchain Pricing.
*/ inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; } /** *The edition of Amazon Managed Blockchain that Hyperledger Fabric 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 Hyperledger Fabric 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 Hyperledger Fabric uses. For * more information, see Amazon Managed * Blockchain Pricing.
*/ inline NetworkFabricAttributes& WithEdition(const Edition& value) { SetEdition(value); return *this;} /** *The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For * more information, see Amazon Managed * Blockchain Pricing.
*/ inline NetworkFabricAttributes& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;} private: Aws::String m_orderingServiceEndpoint; bool m_orderingServiceEndpointHasBeenSet = false; Edition m_edition; bool m_editionHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws