AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
LogConfiguration.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ManagedBlockchain {
17namespace Model {
18
25 public:
26 AWS_MANAGEDBLOCKCHAIN_API LogConfiguration() = default;
27 AWS_MANAGEDBLOCKCHAIN_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MANAGEDBLOCKCHAIN_API LogConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline bool GetEnabled() const { return m_enabled; }
36 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
37 inline void SetEnabled(bool value) {
38 m_enabledHasBeenSet = true;
39 m_enabled = value;
40 }
41 inline LogConfiguration& WithEnabled(bool value) {
42 SetEnabled(value);
43 return *this;
44 }
46 private:
47 bool m_enabled{false};
48 bool m_enabledHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace ManagedBlockchain
53} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API LogConfiguration()=default
AWS_MANAGEDBLOCKCHAIN_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue