AWS SDK for C++

AWS SDK for C++ Version 1.11.930

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MWAA {
20namespace Model {
21
29 public:
30 AWS_MWAA_API LoggingConfiguration() = default;
34
36
40 inline const ModuleLoggingConfiguration& GetDagProcessingLogs() const { return m_dagProcessingLogs; }
41 inline bool DagProcessingLogsHasBeenSet() const { return m_dagProcessingLogsHasBeenSet; }
42 template <typename DagProcessingLogsT = ModuleLoggingConfiguration>
43 void SetDagProcessingLogs(DagProcessingLogsT&& value) {
44 m_dagProcessingLogsHasBeenSet = true;
45 m_dagProcessingLogs = std::forward<DagProcessingLogsT>(value);
46 }
47 template <typename DagProcessingLogsT = ModuleLoggingConfiguration>
48 LoggingConfiguration& WithDagProcessingLogs(DagProcessingLogsT&& value) {
49 SetDagProcessingLogs(std::forward<DagProcessingLogsT>(value));
50 return *this;
51 }
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) {
63 m_schedulerLogsHasBeenSet = true;
64 m_schedulerLogs = std::forward<SchedulerLogsT>(value);
65 }
66 template <typename SchedulerLogsT = ModuleLoggingConfiguration>
67 LoggingConfiguration& WithSchedulerLogs(SchedulerLogsT&& value) {
68 SetSchedulerLogs(std::forward<SchedulerLogsT>(value));
69 return *this;
70 }
72
74
78 inline const ModuleLoggingConfiguration& GetWebserverLogs() const { return m_webserverLogs; }
79 inline bool WebserverLogsHasBeenSet() const { return m_webserverLogsHasBeenSet; }
80 template <typename WebserverLogsT = ModuleLoggingConfiguration>
81 void SetWebserverLogs(WebserverLogsT&& value) {
82 m_webserverLogsHasBeenSet = true;
83 m_webserverLogs = std::forward<WebserverLogsT>(value);
84 }
85 template <typename WebserverLogsT = ModuleLoggingConfiguration>
86 LoggingConfiguration& WithWebserverLogs(WebserverLogsT&& value) {
87 SetWebserverLogs(std::forward<WebserverLogsT>(value));
88 return *this;
89 }
91
93
96 inline const ModuleLoggingConfiguration& GetWorkerLogs() const { return m_workerLogs; }
97 inline bool WorkerLogsHasBeenSet() const { return m_workerLogsHasBeenSet; }
98 template <typename WorkerLogsT = ModuleLoggingConfiguration>
99 void SetWorkerLogs(WorkerLogsT&& value) {
100 m_workerLogsHasBeenSet = true;
101 m_workerLogs = std::forward<WorkerLogsT>(value);
102 }
103 template <typename WorkerLogsT = ModuleLoggingConfiguration>
104 LoggingConfiguration& WithWorkerLogs(WorkerLogsT&& value) {
105 SetWorkerLogs(std::forward<WorkerLogsT>(value));
106 return *this;
107 }
109
111
114 inline const ModuleLoggingConfiguration& GetTaskLogs() const { return m_taskLogs; }
115 inline bool TaskLogsHasBeenSet() const { return m_taskLogsHasBeenSet; }
116 template <typename TaskLogsT = ModuleLoggingConfiguration>
117 void SetTaskLogs(TaskLogsT&& value) {
118 m_taskLogsHasBeenSet = true;
119 m_taskLogs = std::forward<TaskLogsT>(value);
120 }
121 template <typename TaskLogsT = ModuleLoggingConfiguration>
122 LoggingConfiguration& WithTaskLogs(TaskLogsT&& value) {
123 SetTaskLogs(std::forward<TaskLogsT>(value));
124 return *this;
125 }
127 private:
128 ModuleLoggingConfiguration m_dagProcessingLogs;
129
130 ModuleLoggingConfiguration m_schedulerLogs;
131
132 ModuleLoggingConfiguration m_webserverLogs;
133
134 ModuleLoggingConfiguration m_workerLogs;
135
137 bool m_dagProcessingLogsHasBeenSet = false;
138 bool m_schedulerLogsHasBeenSet = false;
139 bool m_webserverLogsHasBeenSet = false;
140 bool m_workerLogsHasBeenSet = false;
141 bool m_taskLogsHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace MWAA
146} // 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