AWS SDK for C++  1.9.160
AWS SDK for C++
NodeFabricLogPublishingConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ManagedBlockchain
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
48  inline const LogConfigurations& GetChaincodeLogs() const{ return m_chaincodeLogs; }
49 
57  inline bool ChaincodeLogsHasBeenSet() const { return m_chaincodeLogsHasBeenSet; }
58 
66  inline void SetChaincodeLogs(const LogConfigurations& value) { m_chaincodeLogsHasBeenSet = true; m_chaincodeLogs = value; }
67 
75  inline void SetChaincodeLogs(LogConfigurations&& value) { m_chaincodeLogsHasBeenSet = true; m_chaincodeLogs = std::move(value); }
76 
84  inline NodeFabricLogPublishingConfiguration& WithChaincodeLogs(const LogConfigurations& value) { SetChaincodeLogs(value); return *this;}
85 
93  inline NodeFabricLogPublishingConfiguration& WithChaincodeLogs(LogConfigurations&& value) { SetChaincodeLogs(std::move(value)); return *this;}
94 
95 
102  inline const LogConfigurations& GetPeerLogs() const{ return m_peerLogs; }
103 
110  inline bool PeerLogsHasBeenSet() const { return m_peerLogsHasBeenSet; }
111 
118  inline void SetPeerLogs(const LogConfigurations& value) { m_peerLogsHasBeenSet = true; m_peerLogs = value; }
119 
126  inline void SetPeerLogs(LogConfigurations&& value) { m_peerLogsHasBeenSet = true; m_peerLogs = std::move(value); }
127 
134  inline NodeFabricLogPublishingConfiguration& WithPeerLogs(const LogConfigurations& value) { SetPeerLogs(value); return *this;}
135 
142  inline NodeFabricLogPublishingConfiguration& WithPeerLogs(LogConfigurations&& value) { SetPeerLogs(std::move(value)); return *this;}
143 
144  private:
145 
146  LogConfigurations m_chaincodeLogs;
147  bool m_chaincodeLogsHasBeenSet;
148 
149  LogConfigurations m_peerLogs;
150  bool m_peerLogsHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace ManagedBlockchain
155 } // namespace Aws
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::WithChaincodeLogs
NodeFabricLogPublishingConfiguration & WithChaincodeLogs(LogConfigurations &&value)
Definition: NodeFabricLogPublishingConfiguration.h:93
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::ChaincodeLogsHasBeenSet
bool ChaincodeLogsHasBeenSet() const
Definition: NodeFabricLogPublishingConfiguration.h:57
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::operator=
NodeFabricLogPublishingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::SetChaincodeLogs
void SetChaincodeLogs(LogConfigurations &&value)
Definition: NodeFabricLogPublishingConfiguration.h:75
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::PeerLogsHasBeenSet
bool PeerLogsHasBeenSet() const
Definition: NodeFabricLogPublishingConfiguration.h:110
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::WithPeerLogs
NodeFabricLogPublishingConfiguration & WithPeerLogs(const LogConfigurations &value)
Definition: NodeFabricLogPublishingConfiguration.h:134
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::NodeFabricLogPublishingConfiguration
NodeFabricLogPublishingConfiguration()
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration
Definition: NodeFabricLogPublishingConfiguration.h:33
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::WithPeerLogs
NodeFabricLogPublishingConfiguration & WithPeerLogs(LogConfigurations &&value)
Definition: NodeFabricLogPublishingConfiguration.h:142
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::WithChaincodeLogs
NodeFabricLogPublishingConfiguration & WithChaincodeLogs(const LogConfigurations &value)
Definition: NodeFabricLogPublishingConfiguration.h:84
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::SetPeerLogs
void SetPeerLogs(const LogConfigurations &value)
Definition: NodeFabricLogPublishingConfiguration.h:118
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::LogConfigurations
Definition: LogConfigurations.h:32
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::GetChaincodeLogs
const LogConfigurations & GetChaincodeLogs() const
Definition: NodeFabricLogPublishingConfiguration.h:48
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::GetPeerLogs
const LogConfigurations & GetPeerLogs() const
Definition: NodeFabricLogPublishingConfiguration.h:102
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::SetPeerLogs
void SetPeerLogs(LogConfigurations &&value)
Definition: NodeFabricLogPublishingConfiguration.h:126
LogConfigurations.h
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::SetChaincodeLogs
void SetChaincodeLogs(const LogConfigurations &value)
Definition: NodeFabricLogPublishingConfiguration.h:66
Aws::ManagedBlockchain::Model::NodeFabricLogPublishingConfiguration::NodeFabricLogPublishingConfiguration
NodeFabricLogPublishingConfiguration(Aws::Utils::Json::JsonView jsonValue)