/** * 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 owned * by a member in a Managed Blockchain network.

See Also:

AWS * API Reference

*/ class AWS_MANAGEDBLOCKCHAIN_API NodeLogPublishingConfiguration { public: NodeLogPublishingConfiguration(); NodeLogPublishingConfiguration(Aws::Utils::Json::JsonView jsonValue); NodeLogPublishingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); 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; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws