AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ManagedBlockchain {
20namespace Model {
21
29 public:
30 AWS_MANAGEDBLOCKCHAIN_API NodeFabricLogPublishingConfiguration() = default;
33 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline const LogConfigurations& GetChaincodeLogs() const { return m_chaincodeLogs; }
44 inline bool ChaincodeLogsHasBeenSet() const { return m_chaincodeLogsHasBeenSet; }
45 template <typename ChaincodeLogsT = LogConfigurations>
46 void SetChaincodeLogs(ChaincodeLogsT&& value) {
47 m_chaincodeLogsHasBeenSet = true;
48 m_chaincodeLogs = std::forward<ChaincodeLogsT>(value);
49 }
50 template <typename ChaincodeLogsT = LogConfigurations>
52 SetChaincodeLogs(std::forward<ChaincodeLogsT>(value));
53 return *this;
54 }
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) {
68 m_peerLogsHasBeenSet = true;
69 m_peerLogs = std::forward<PeerLogsT>(value);
70 }
71 template <typename PeerLogsT = LogConfigurations>
73 SetPeerLogs(std::forward<PeerLogsT>(value));
74 return *this;
75 }
77 private:
78 LogConfigurations m_chaincodeLogs;
79
80 LogConfigurations m_peerLogs;
81 bool m_chaincodeLogsHasBeenSet = false;
82 bool m_peerLogsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ManagedBlockchain
87} // 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