AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const LoggingLevel& GetLogLevel() const{ return m_logLevel; }
59 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
60 inline void SetLogLevel(const LoggingLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
61 inline void SetLogLevel(LoggingLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
62 inline ModuleLoggingConfigurationInput& WithLogLevel(const LoggingLevel& value) { SetLogLevel(value); return *this;}
63 inline ModuleLoggingConfigurationInput& WithLogLevel(LoggingLevel&& value) { SetLogLevel(std::move(value)); return *this;}
65 private:
66
67 bool m_enabled;
68 bool m_enabledHasBeenSet = false;
69
70 LoggingLevel m_logLevel;
71 bool m_logLevelHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MWAA
76} // namespace Aws
ModuleLoggingConfigurationInput & WithLogLevel(const 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)
ModuleLoggingConfigurationInput & WithLogLevel(LoggingLevel &&value)
AWS_MWAA_API ModuleLoggingConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue