AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ModuleLoggingConfigurationInput.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/model/LoggingLevel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MWAA {
20namespace Model {
21
30 public:
31 AWS_MWAA_API ModuleLoggingConfigurationInput() = default;
35
37
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
48 SetEnabled(value);
49 return *this;
50 }
52
54
58 inline LoggingLevel GetLogLevel() const { return m_logLevel; }
59 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
60 inline void SetLogLevel(LoggingLevel value) {
61 m_logLevelHasBeenSet = true;
62 m_logLevel = value;
63 }
65 SetLogLevel(value);
66 return *this;
67 }
69 private:
70 bool m_enabled{false};
71
73 bool m_enabledHasBeenSet = false;
74 bool m_logLevelHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MWAA
79} // namespace Aws
ModuleLoggingConfigurationInput & WithLogLevel(LoggingLevel value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
ModuleLoggingConfigurationInput & WithEnabled(bool value)
AWS_MWAA_API ModuleLoggingConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API ModuleLoggingConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue