AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
46 inline const ModuleLoggingConfiguration& GetDagProcessingLogs() const { return m_dagProcessingLogs; }
47 inline bool DagProcessingLogsHasBeenSet() const { return m_dagProcessingLogsHasBeenSet; }
48 template<typename DagProcessingLogsT = ModuleLoggingConfiguration>
49 void SetDagProcessingLogs(DagProcessingLogsT&& value) { m_dagProcessingLogsHasBeenSet = true; m_dagProcessingLogs = std::forward<DagProcessingLogsT>(value); }
50 template<typename DagProcessingLogsT = ModuleLoggingConfiguration>
51 LoggingConfiguration& WithDagProcessingLogs(DagProcessingLogsT&& value) { SetDagProcessingLogs(std::forward<DagProcessingLogsT>(value)); return *this;}
53
55
59 inline const ModuleLoggingConfiguration& GetSchedulerLogs() const { return m_schedulerLogs; }
60 inline bool SchedulerLogsHasBeenSet() const { return m_schedulerLogsHasBeenSet; }
61 template<typename SchedulerLogsT = ModuleLoggingConfiguration>
62 void SetSchedulerLogs(SchedulerLogsT&& value) { m_schedulerLogsHasBeenSet = true; m_schedulerLogs = std::forward<SchedulerLogsT>(value); }
63 template<typename SchedulerLogsT = ModuleLoggingConfiguration>
64 LoggingConfiguration& WithSchedulerLogs(SchedulerLogsT&& value) { SetSchedulerLogs(std::forward<SchedulerLogsT>(value)); return *this;}
66
68
72 inline const ModuleLoggingConfiguration& GetWebserverLogs() const { return m_webserverLogs; }
73 inline bool WebserverLogsHasBeenSet() const { return m_webserverLogsHasBeenSet; }
74 template<typename WebserverLogsT = ModuleLoggingConfiguration>
75 void SetWebserverLogs(WebserverLogsT&& value) { m_webserverLogsHasBeenSet = true; m_webserverLogs = std::forward<WebserverLogsT>(value); }
76 template<typename WebserverLogsT = ModuleLoggingConfiguration>
77 LoggingConfiguration& WithWebserverLogs(WebserverLogsT&& value) { SetWebserverLogs(std::forward<WebserverLogsT>(value)); return *this;}
79
81
84 inline const ModuleLoggingConfiguration& GetWorkerLogs() const { return m_workerLogs; }
85 inline bool WorkerLogsHasBeenSet() const { return m_workerLogsHasBeenSet; }
86 template<typename WorkerLogsT = ModuleLoggingConfiguration>
87 void SetWorkerLogs(WorkerLogsT&& value) { m_workerLogsHasBeenSet = true; m_workerLogs = std::forward<WorkerLogsT>(value); }
88 template<typename WorkerLogsT = ModuleLoggingConfiguration>
89 LoggingConfiguration& WithWorkerLogs(WorkerLogsT&& value) { SetWorkerLogs(std::forward<WorkerLogsT>(value)); return *this;}
91
93
96 inline const ModuleLoggingConfiguration& GetTaskLogs() const { return m_taskLogs; }
97 inline bool TaskLogsHasBeenSet() const { return m_taskLogsHasBeenSet; }
98 template<typename TaskLogsT = ModuleLoggingConfiguration>
99 void SetTaskLogs(TaskLogsT&& value) { m_taskLogsHasBeenSet = true; m_taskLogs = std::forward<TaskLogsT>(value); }
100 template<typename TaskLogsT = ModuleLoggingConfiguration>
101 LoggingConfiguration& WithTaskLogs(TaskLogsT&& value) { SetTaskLogs(std::forward<TaskLogsT>(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 & WithWebserverLogs(WebserverLogsT &&value)
AWS_MWAA_API LoggingConfiguration()=default
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
const ModuleLoggingConfiguration & GetTaskLogs() const
AWS_MWAA_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModuleLoggingConfiguration & GetSchedulerLogs() const
LoggingConfiguration & WithDagProcessingLogs(DagProcessingLogsT &&value)
AWS_MWAA_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ModuleLoggingConfiguration & GetWebserverLogs() const
void SetSchedulerLogs(SchedulerLogsT &&value)
LoggingConfiguration & WithTaskLogs(TaskLogsT &&value)
LoggingConfiguration & WithSchedulerLogs(SchedulerLogsT &&value)
LoggingConfiguration & WithWorkerLogs(WorkerLogsT &&value)
const ModuleLoggingConfiguration & GetWorkerLogs() const
void SetDagProcessingLogs(DagProcessingLogsT &&value)
const ModuleLoggingConfiguration & GetDagProcessingLogs() const
void SetWebserverLogs(WebserverLogsT &&value)
Aws::Utils::Json::JsonValue JsonValue