/** * 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 member of a * Managed Blockchain network using the Hyperledger Fabric framework.

See * Also:

AWS * API Reference

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

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline const LogConfigurations& GetCaLogs() const{ return m_caLogs; } /** *

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline bool CaLogsHasBeenSet() const { return m_caLogsHasBeenSet; } /** *

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline void SetCaLogs(const LogConfigurations& value) { m_caLogsHasBeenSet = true; m_caLogs = value; } /** *

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline void SetCaLogs(LogConfigurations&& value) { m_caLogsHasBeenSet = true; m_caLogs = std::move(value); } /** *

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline MemberFabricLogPublishingConfiguration& WithCaLogs(const LogConfigurations& value) { SetCaLogs(value); return *this;} /** *

Configuration properties for logging events associated with a member's * Certificate Authority (CA). CA logs help you determine when a member in your * account joins the network, or when new peers register with a member CA.

*/ inline MemberFabricLogPublishingConfiguration& WithCaLogs(LogConfigurations&& value) { SetCaLogs(std::move(value)); return *this;} private: LogConfigurations m_caLogs; bool m_caLogsHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws