AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingConfiguration.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/model/ModuleLoggingConfiguration.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
33 {
34 public:
35 AWS_MWAA_API LoggingConfiguration();
39
40
42
46 inline const ModuleLoggingConfiguration& GetDagProcessingLogs() const{ return m_dagProcessingLogs; }
47 inline bool DagProcessingLogsHasBeenSet() const { return m_dagProcessingLogsHasBeenSet; }
48 inline void SetDagProcessingLogs(const ModuleLoggingConfiguration& value) { m_dagProcessingLogsHasBeenSet = true; m_dagProcessingLogs = value; }
49 inline void SetDagProcessingLogs(ModuleLoggingConfiguration&& value) { m_dagProcessingLogsHasBeenSet = true; m_dagProcessingLogs = std::move(value); }
53
55
59 inline const ModuleLoggingConfiguration& GetSchedulerLogs() const{ return m_schedulerLogs; }
60 inline bool SchedulerLogsHasBeenSet() const { return m_schedulerLogsHasBeenSet; }
61 inline void SetSchedulerLogs(const ModuleLoggingConfiguration& value) { m_schedulerLogsHasBeenSet = true; m_schedulerLogs = value; }
62 inline void SetSchedulerLogs(ModuleLoggingConfiguration&& value) { m_schedulerLogsHasBeenSet = true; m_schedulerLogs = std::move(value); }
64 inline LoggingConfiguration& WithSchedulerLogs(ModuleLoggingConfiguration&& value) { SetSchedulerLogs(std::move(value)); return *this;}
66
68
72 inline const ModuleLoggingConfiguration& GetWebserverLogs() const{ return m_webserverLogs; }
73 inline bool WebserverLogsHasBeenSet() const { return m_webserverLogsHasBeenSet; }
74 inline void SetWebserverLogs(const ModuleLoggingConfiguration& value) { m_webserverLogsHasBeenSet = true; m_webserverLogs = value; }
75 inline void SetWebserverLogs(ModuleLoggingConfiguration&& value) { m_webserverLogsHasBeenSet = true; m_webserverLogs = std::move(value); }
77 inline LoggingConfiguration& WithWebserverLogs(ModuleLoggingConfiguration&& value) { SetWebserverLogs(std::move(value)); return *this;}
79
81
84 inline const ModuleLoggingConfiguration& GetWorkerLogs() const{ return m_workerLogs; }
85 inline bool WorkerLogsHasBeenSet() const { return m_workerLogsHasBeenSet; }
86 inline void SetWorkerLogs(const ModuleLoggingConfiguration& value) { m_workerLogsHasBeenSet = true; m_workerLogs = value; }
87 inline void SetWorkerLogs(ModuleLoggingConfiguration&& value) { m_workerLogsHasBeenSet = true; m_workerLogs = std::move(value); }
88 inline LoggingConfiguration& WithWorkerLogs(const ModuleLoggingConfiguration& value) { SetWorkerLogs(value); return *this;}
89 inline LoggingConfiguration& WithWorkerLogs(ModuleLoggingConfiguration&& value) { SetWorkerLogs(std::move(value)); return *this;}
91
93
96 inline const ModuleLoggingConfiguration& GetTaskLogs() const{ return m_taskLogs; }
97 inline bool TaskLogsHasBeenSet() const { return m_taskLogsHasBeenSet; }
98 inline void SetTaskLogs(const ModuleLoggingConfiguration& value) { m_taskLogsHasBeenSet = true; m_taskLogs = value; }
99 inline void SetTaskLogs(ModuleLoggingConfiguration&& value) { m_taskLogsHasBeenSet = true; m_taskLogs = std::move(value); }
100 inline LoggingConfiguration& WithTaskLogs(const ModuleLoggingConfiguration& value) { SetTaskLogs(value); return *this;}
101 inline LoggingConfiguration& WithTaskLogs(ModuleLoggingConfiguration&& value) { SetTaskLogs(std::move(value)); return *this;}
103 private:
104
105 ModuleLoggingConfiguration m_dagProcessingLogs;
106 bool m_dagProcessingLogsHasBeenSet = false;
107
108 ModuleLoggingConfiguration m_schedulerLogs;
109 bool m_schedulerLogsHasBeenSet = false;
110
111 ModuleLoggingConfiguration m_webserverLogs;
112 bool m_webserverLogsHasBeenSet = false;
113
114 ModuleLoggingConfiguration m_workerLogs;
115 bool m_workerLogsHasBeenSet = false;
116
118 bool m_taskLogsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace MWAA
123} // namespace Aws
LoggingConfiguration & WithSchedulerLogs(ModuleLoggingConfiguration &&value)
LoggingConfiguration & WithWebserverLogs(ModuleLoggingConfiguration &&value)
void SetTaskLogs(ModuleLoggingConfiguration &&value)
LoggingConfiguration & WithDagProcessingLogs(ModuleLoggingConfiguration &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchedulerLogs(const ModuleLoggingConfiguration &value)
const ModuleLoggingConfiguration & GetTaskLogs() const
AWS_MWAA_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWebserverLogs(const ModuleLoggingConfiguration &value)
const ModuleLoggingConfiguration & GetSchedulerLogs() const
LoggingConfiguration & WithWebserverLogs(const ModuleLoggingConfiguration &value)
void SetSchedulerLogs(ModuleLoggingConfiguration &&value)
AWS_MWAA_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithWorkerLogs(const ModuleLoggingConfiguration &value)
void SetDagProcessingLogs(const ModuleLoggingConfiguration &value)
const ModuleLoggingConfiguration & GetWebserverLogs() const
LoggingConfiguration & WithTaskLogs(const ModuleLoggingConfiguration &value)
LoggingConfiguration & WithTaskLogs(ModuleLoggingConfiguration &&value)
void SetDagProcessingLogs(ModuleLoggingConfiguration &&value)
void SetWorkerLogs(ModuleLoggingConfiguration &&value)
void SetWebserverLogs(ModuleLoggingConfiguration &&value)
LoggingConfiguration & WithDagProcessingLogs(const ModuleLoggingConfiguration &value)
LoggingConfiguration & WithWorkerLogs(ModuleLoggingConfiguration &&value)
void SetTaskLogs(const ModuleLoggingConfiguration &value)
LoggingConfiguration & WithSchedulerLogs(const ModuleLoggingConfiguration &value)
void SetWorkerLogs(const ModuleLoggingConfiguration &value)
const ModuleLoggingConfiguration & GetWorkerLogs() const
const ModuleLoggingConfiguration & GetDagProcessingLogs() const
Aws::Utils::Json::JsonValue JsonValue