/** * 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 for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

See Also:

AWS * API Reference

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

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

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

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

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

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

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

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

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

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

*/ inline NodeLogPublishingConfiguration& WithFabric(const NodeFabricLogPublishingConfiguration& value) { SetFabric(value); return *this;} /** *

Configuration properties for logging events associated with a node that is * owned by a member of a Managed Blockchain network using the Hyperledger Fabric * framework.

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