AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModuleLoggingConfiguration.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/model/LoggingLevel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MWAA
23{
24namespace Model
25{
26
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 ModuleLoggingConfiguration& 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 ModuleLoggingConfiguration& WithLogLevel(const LoggingLevel& value) { SetLogLevel(value); return *this;}
63 inline ModuleLoggingConfiguration& WithLogLevel(LoggingLevel&& value) { SetLogLevel(std::move(value)); return *this;}
65
67
73 inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; }
74 inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; }
75 inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; }
76 inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); }
77 inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); }
80 inline ModuleLoggingConfiguration& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;}
82 private:
83
84 bool m_enabled;
85 bool m_enabledHasBeenSet = false;
86
87 LoggingLevel m_logLevel;
88 bool m_logLevelHasBeenSet = false;
89
90 Aws::String m_cloudWatchLogGroupArn;
91 bool m_cloudWatchLogGroupArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MWAA
96} // namespace Aws
ModuleLoggingConfiguration & WithCloudWatchLogGroupArn(Aws::String &&value)
ModuleLoggingConfiguration & WithEnabled(bool value)
ModuleLoggingConfiguration & WithCloudWatchLogGroupArn(const Aws::String &value)
ModuleLoggingConfiguration & WithLogLevel(const LoggingLevel &value)
ModuleLoggingConfiguration & WithCloudWatchLogGroupArn(const char *value)
AWS_MWAA_API ModuleLoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API ModuleLoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
ModuleLoggingConfiguration & WithLogLevel(LoggingLevel &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue