AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
LoggingConfigurationInput.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/model/ModuleLoggingConfigurationInput.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 LoggingConfigurationInput() = default;
34
36
39 inline const ModuleLoggingConfigurationInput& GetDagProcessingLogs() const { return m_dagProcessingLogs; }
40 inline bool DagProcessingLogsHasBeenSet() const { return m_dagProcessingLogsHasBeenSet; }
41 template <typename DagProcessingLogsT = ModuleLoggingConfigurationInput>
42 void SetDagProcessingLogs(DagProcessingLogsT&& value) {
43 m_dagProcessingLogsHasBeenSet = true;
44 m_dagProcessingLogs = std::forward<DagProcessingLogsT>(value);
45 }
46 template <typename DagProcessingLogsT = ModuleLoggingConfigurationInput>
47 LoggingConfigurationInput& WithDagProcessingLogs(DagProcessingLogsT&& value) {
48 SetDagProcessingLogs(std::forward<DagProcessingLogsT>(value));
49 return *this;
50 }
52
54
57 inline const ModuleLoggingConfigurationInput& GetSchedulerLogs() const { return m_schedulerLogs; }
58 inline bool SchedulerLogsHasBeenSet() const { return m_schedulerLogsHasBeenSet; }
59 template <typename SchedulerLogsT = ModuleLoggingConfigurationInput>
60 void SetSchedulerLogs(SchedulerLogsT&& value) {
61 m_schedulerLogsHasBeenSet = true;
62 m_schedulerLogs = std::forward<SchedulerLogsT>(value);
63 }
64 template <typename SchedulerLogsT = ModuleLoggingConfigurationInput>
66 SetSchedulerLogs(std::forward<SchedulerLogsT>(value));
67 return *this;
68 }
70
72
75 inline const ModuleLoggingConfigurationInput& GetWebserverLogs() const { return m_webserverLogs; }
76 inline bool WebserverLogsHasBeenSet() const { return m_webserverLogsHasBeenSet; }
77 template <typename WebserverLogsT = ModuleLoggingConfigurationInput>
78 void SetWebserverLogs(WebserverLogsT&& value) {
79 m_webserverLogsHasBeenSet = true;
80 m_webserverLogs = std::forward<WebserverLogsT>(value);
81 }
82 template <typename WebserverLogsT = ModuleLoggingConfigurationInput>
84 SetWebserverLogs(std::forward<WebserverLogsT>(value));
85 return *this;
86 }
88
90
93 inline const ModuleLoggingConfigurationInput& GetWorkerLogs() const { return m_workerLogs; }
94 inline bool WorkerLogsHasBeenSet() const { return m_workerLogsHasBeenSet; }
95 template <typename WorkerLogsT = ModuleLoggingConfigurationInput>
96 void SetWorkerLogs(WorkerLogsT&& value) {
97 m_workerLogsHasBeenSet = true;
98 m_workerLogs = std::forward<WorkerLogsT>(value);
99 }
100 template <typename WorkerLogsT = ModuleLoggingConfigurationInput>
102 SetWorkerLogs(std::forward<WorkerLogsT>(value));
103 return *this;
104 }
106
108
111 inline const ModuleLoggingConfigurationInput& GetTaskLogs() const { return m_taskLogs; }
112 inline bool TaskLogsHasBeenSet() const { return m_taskLogsHasBeenSet; }
113 template <typename TaskLogsT = ModuleLoggingConfigurationInput>
114 void SetTaskLogs(TaskLogsT&& value) {
115 m_taskLogsHasBeenSet = true;
116 m_taskLogs = std::forward<TaskLogsT>(value);
117 }
118 template <typename TaskLogsT = ModuleLoggingConfigurationInput>
120 SetTaskLogs(std::forward<TaskLogsT>(value));
121 return *this;
122 }
124 private:
125 ModuleLoggingConfigurationInput m_dagProcessingLogs;
126
127 ModuleLoggingConfigurationInput m_schedulerLogs;
128
129 ModuleLoggingConfigurationInput m_webserverLogs;
130
132
134 bool m_dagProcessingLogsHasBeenSet = false;
135 bool m_schedulerLogsHasBeenSet = false;
136 bool m_webserverLogsHasBeenSet = false;
137 bool m_workerLogsHasBeenSet = false;
138 bool m_taskLogsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace MWAA
143} // namespace Aws
LoggingConfigurationInput & WithSchedulerLogs(SchedulerLogsT &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
const ModuleLoggingConfigurationInput & GetWorkerLogs() const
AWS_MWAA_API LoggingConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfigurationInput & WithWebserverLogs(WebserverLogsT &&value)
LoggingConfigurationInput & WithDagProcessingLogs(DagProcessingLogsT &&value)
LoggingConfigurationInput & WithTaskLogs(TaskLogsT &&value)
LoggingConfigurationInput & WithWorkerLogs(WorkerLogsT &&value)
const ModuleLoggingConfigurationInput & GetDagProcessingLogs() const
AWS_MWAA_API LoggingConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
const ModuleLoggingConfigurationInput & GetTaskLogs() const
const ModuleLoggingConfigurationInput & GetSchedulerLogs() const
const ModuleLoggingConfigurationInput & GetWebserverLogs() const
void SetDagProcessingLogs(DagProcessingLogsT &&value)
AWS_MWAA_API LoggingConfigurationInput()=default
Aws::Utils::Json::JsonValue JsonValue