AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChaincodeLogs(const LogConfigurations& value) { m_chaincodeLogsHasBeenSet = true; m_chaincodeLogs = value; }
52 inline void SetChaincodeLogs(LogConfigurations&& value) { m_chaincodeLogsHasBeenSet = true; m_chaincodeLogs = std::move(value); }
56
58
64 inline const LogConfigurations& GetPeerLogs() const{ return m_peerLogs; }
65 inline bool PeerLogsHasBeenSet() const { return m_peerLogsHasBeenSet; }
66 inline void SetPeerLogs(const LogConfigurations& value) { m_peerLogsHasBeenSet = true; m_peerLogs = value; }
67 inline void SetPeerLogs(LogConfigurations&& value) { m_peerLogsHasBeenSet = true; m_peerLogs = std::move(value); }
69 inline NodeFabricLogPublishingConfiguration& WithPeerLogs(LogConfigurations&& value) { SetPeerLogs(std::move(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)
NodeFabricLogPublishingConfiguration & WithPeerLogs(const LogConfigurations &value)
NodeFabricLogPublishingConfiguration & WithChaincodeLogs(const LogConfigurations &value)
NodeFabricLogPublishingConfiguration & WithChaincodeLogs(LogConfigurations &&value)
NodeFabricLogPublishingConfiguration & WithPeerLogs(LogConfigurations &&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