AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NodeFabricLogPublishingConfiguration.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/model/LogConfigurations.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ManagedBlockchain
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MANAGEDBLOCKCHAIN_API NodeFabricLogPublishingConfiguration() = default;
38 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const LogConfigurations& GetChaincodeLogs() const { return m_chaincodeLogs; }
50 inline bool ChaincodeLogsHasBeenSet() const { return m_chaincodeLogsHasBeenSet; }
51 template<typename ChaincodeLogsT = LogConfigurations>
52 void SetChaincodeLogs(ChaincodeLogsT&& value) { m_chaincodeLogsHasBeenSet = true; m_chaincodeLogs = std::forward<ChaincodeLogsT>(value); }
53 template<typename ChaincodeLogsT = LogConfigurations>
54 NodeFabricLogPublishingConfiguration& WithChaincodeLogs(ChaincodeLogsT&& value) { SetChaincodeLogs(std::forward<ChaincodeLogsT>(value)); return *this;}
56
58
64 inline const LogConfigurations& GetPeerLogs() const { return m_peerLogs; }
65 inline bool PeerLogsHasBeenSet() const { return m_peerLogsHasBeenSet; }
66 template<typename PeerLogsT = LogConfigurations>
67 void SetPeerLogs(PeerLogsT&& value) { m_peerLogsHasBeenSet = true; m_peerLogs = std::forward<PeerLogsT>(value); }
68 template<typename PeerLogsT = LogConfigurations>
69 NodeFabricLogPublishingConfiguration& WithPeerLogs(PeerLogsT&& value) { SetPeerLogs(std::forward<PeerLogsT>(value)); return *this;}
71 private:
72
73 LogConfigurations m_chaincodeLogs;
74 bool m_chaincodeLogsHasBeenSet = false;
75
76 LogConfigurations m_peerLogs;
77 bool m_peerLogsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ManagedBlockchain
82} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API NodeFabricLogPublishingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API NodeFabricLogPublishingConfiguration()=default
NodeFabricLogPublishingConfiguration & WithChaincodeLogs(ChaincodeLogsT &&value)
AWS_MANAGEDBLOCKCHAIN_API NodeFabricLogPublishingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue