AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 MWAA
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MWAA_API ModuleLoggingConfigurationInput() = default;
40
41
43
47 inline bool GetEnabled() const { return m_enabled; }
48 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
49 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
50 inline ModuleLoggingConfigurationInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
52
54
58 inline LoggingLevel GetLogLevel() const { return m_logLevel; }
59 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
60 inline void SetLogLevel(LoggingLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
63 private:
64
65 bool m_enabled{false};
66 bool m_enabledHasBeenSet = false;
67
69 bool m_logLevelHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MWAA
74} // 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