AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 LoggingConfigurationInput() = default;
39
40
42
45 inline const ModuleLoggingConfigurationInput& GetDagProcessingLogs() const { return m_dagProcessingLogs; }
46 inline bool DagProcessingLogsHasBeenSet() const { return m_dagProcessingLogsHasBeenSet; }
47 template<typename DagProcessingLogsT = ModuleLoggingConfigurationInput>
48 void SetDagProcessingLogs(DagProcessingLogsT&& value) { m_dagProcessingLogsHasBeenSet = true; m_dagProcessingLogs = std::forward<DagProcessingLogsT>(value); }
49 template<typename DagProcessingLogsT = ModuleLoggingConfigurationInput>
50 LoggingConfigurationInput& WithDagProcessingLogs(DagProcessingLogsT&& value) { SetDagProcessingLogs(std::forward<DagProcessingLogsT>(value)); return *this;}
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) { m_schedulerLogsHasBeenSet = true; m_schedulerLogs = std::forward<SchedulerLogsT>(value); }
61 template<typename SchedulerLogsT = ModuleLoggingConfigurationInput>
62 LoggingConfigurationInput& WithSchedulerLogs(SchedulerLogsT&& value) { SetSchedulerLogs(std::forward<SchedulerLogsT>(value)); return *this;}
64
66
69 inline const ModuleLoggingConfigurationInput& GetWebserverLogs() const { return m_webserverLogs; }
70 inline bool WebserverLogsHasBeenSet() const { return m_webserverLogsHasBeenSet; }
71 template<typename WebserverLogsT = ModuleLoggingConfigurationInput>
72 void SetWebserverLogs(WebserverLogsT&& value) { m_webserverLogsHasBeenSet = true; m_webserverLogs = std::forward<WebserverLogsT>(value); }
73 template<typename WebserverLogsT = ModuleLoggingConfigurationInput>
74 LoggingConfigurationInput& WithWebserverLogs(WebserverLogsT&& value) { SetWebserverLogs(std::forward<WebserverLogsT>(value)); return *this;}
76
78
81 inline const ModuleLoggingConfigurationInput& GetWorkerLogs() const { return m_workerLogs; }
82 inline bool WorkerLogsHasBeenSet() const { return m_workerLogsHasBeenSet; }
83 template<typename WorkerLogsT = ModuleLoggingConfigurationInput>
84 void SetWorkerLogs(WorkerLogsT&& value) { m_workerLogsHasBeenSet = true; m_workerLogs = std::forward<WorkerLogsT>(value); }
85 template<typename WorkerLogsT = ModuleLoggingConfigurationInput>
86 LoggingConfigurationInput& WithWorkerLogs(WorkerLogsT&& value) { SetWorkerLogs(std::forward<WorkerLogsT>(value)); return *this;}
88
90
93 inline const ModuleLoggingConfigurationInput& GetTaskLogs() const { return m_taskLogs; }
94 inline bool TaskLogsHasBeenSet() const { return m_taskLogsHasBeenSet; }
95 template<typename TaskLogsT = ModuleLoggingConfigurationInput>
96 void SetTaskLogs(TaskLogsT&& value) { m_taskLogsHasBeenSet = true; m_taskLogs = std::forward<TaskLogsT>(value); }
97 template<typename TaskLogsT = ModuleLoggingConfigurationInput>
98 LoggingConfigurationInput& WithTaskLogs(TaskLogsT&& value) { SetTaskLogs(std::forward<TaskLogsT>(value)); return *this;}
100 private:
101
102 ModuleLoggingConfigurationInput m_dagProcessingLogs;
103 bool m_dagProcessingLogsHasBeenSet = false;
104
105 ModuleLoggingConfigurationInput m_schedulerLogs;
106 bool m_schedulerLogsHasBeenSet = false;
107
108 ModuleLoggingConfigurationInput m_webserverLogs;
109 bool m_webserverLogsHasBeenSet = false;
110
112 bool m_workerLogsHasBeenSet = false;
113
115 bool m_taskLogsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MWAA
120} // 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