AWS SDK for C++  1.9.124
AWS SDK for C++
ModuleLoggingConfigurationInput.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 MWAA
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
47  inline bool GetEnabled() const{ return m_enabled; }
48 
53  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 
59  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
60 
65  inline ModuleLoggingConfigurationInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
66 
67 
74  inline const LoggingLevel& GetLogLevel() const{ return m_logLevel; }
75 
82  inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
83 
90  inline void SetLogLevel(const LoggingLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
91 
98  inline void SetLogLevel(LoggingLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
99 
106  inline ModuleLoggingConfigurationInput& WithLogLevel(const LoggingLevel& value) { SetLogLevel(value); return *this;}
107 
114  inline ModuleLoggingConfigurationInput& WithLogLevel(LoggingLevel&& value) { SetLogLevel(std::move(value)); return *this;}
115 
116  private:
117 
118  bool m_enabled;
119  bool m_enabledHasBeenSet;
120 
121  LoggingLevel m_logLevel;
122  bool m_logLevelHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace MWAA
127 } // namespace Aws
Aws::MWAA::Model::ModuleLoggingConfigurationInput::SetLogLevel
void SetLogLevel(const LoggingLevel &value)
Definition: ModuleLoggingConfigurationInput.h:90
Aws::MWAA::Model::ModuleLoggingConfigurationInput::WithLogLevel
ModuleLoggingConfigurationInput & WithLogLevel(LoggingLevel &&value)
Definition: ModuleLoggingConfigurationInput.h:114
Aws::MWAA::Model::ModuleLoggingConfigurationInput
Definition: ModuleLoggingConfigurationInput.h:35
Aws::MWAA::Model::ModuleLoggingConfigurationInput::SetLogLevel
void SetLogLevel(LoggingLevel &&value)
Definition: ModuleLoggingConfigurationInput.h:98
Aws::MWAA::Model::ModuleLoggingConfigurationInput::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: ModuleLoggingConfigurationInput.h:82
LoggingLevel.h
Aws::MWAA::Model::ModuleLoggingConfigurationInput::GetLogLevel
const LoggingLevel & GetLogLevel() const
Definition: ModuleLoggingConfigurationInput.h:74
Aws::MWAA::Model::ModuleLoggingConfigurationInput::WithLogLevel
ModuleLoggingConfigurationInput & WithLogLevel(const LoggingLevel &value)
Definition: ModuleLoggingConfigurationInput.h:106
Aws::MWAA::Model::LoggingLevel
LoggingLevel
Definition: LoggingLevel.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MWAA::Model::ModuleLoggingConfigurationInput::SetEnabled
void SetEnabled(bool value)
Definition: ModuleLoggingConfigurationInput.h:59
Aws::MWAA::Model::ModuleLoggingConfigurationInput::operator=
ModuleLoggingConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MWAA::Model::ModuleLoggingConfigurationInput::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ModuleLoggingConfigurationInput.h:53
Aws::MWAA::Model::ModuleLoggingConfigurationInput::ModuleLoggingConfigurationInput
ModuleLoggingConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API
#define AWS_MWAA_API
Definition: MWAA_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::MWAA::Model::ModuleLoggingConfigurationInput::ModuleLoggingConfigurationInput
ModuleLoggingConfigurationInput()
Aws::MWAA::Model::ModuleLoggingConfigurationInput::GetEnabled
bool GetEnabled() const
Definition: ModuleLoggingConfigurationInput.h:47
Aws::MWAA::Model::ModuleLoggingConfigurationInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MWAA::Model::ModuleLoggingConfigurationInput::WithEnabled
ModuleLoggingConfigurationInput & WithEnabled(bool value)
Definition: ModuleLoggingConfigurationInput.h:65
MWAA_EXPORTS.h