/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration setting for the log types to be enabled for export to
* CloudWatch Logs for a specific DB instance or DB cluster. The
* EnableLogTypes
and DisableLogTypes
arrays determine
* which logs will be exported (or not exported) to CloudWatch Logs.See
* Also:
AWS
* API Reference
The list of log types to enable.
*/ inline const Aws::VectorThe list of log types to enable.
*/ inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; } /** *The list of log types to enable.
*/ inline void SetEnableLogTypes(const Aws::VectorThe list of log types to enable.
*/ inline void SetEnableLogTypes(Aws::VectorThe list of log types to enable.
*/ inline CloudwatchLogsExportConfiguration& WithEnableLogTypes(const Aws::VectorThe list of log types to enable.
*/ inline CloudwatchLogsExportConfiguration& WithEnableLogTypes(Aws::VectorThe list of log types to enable.
*/ inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const Aws::String& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; } /** *The list of log types to enable.
*/ inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(Aws::String&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(std::move(value)); return *this; } /** *The list of log types to enable.
*/ inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const char* value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; } /** *The list of log types to disable.
*/ inline const Aws::VectorThe list of log types to disable.
*/ inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; } /** *The list of log types to disable.
*/ inline void SetDisableLogTypes(const Aws::VectorThe list of log types to disable.
*/ inline void SetDisableLogTypes(Aws::VectorThe list of log types to disable.
*/ inline CloudwatchLogsExportConfiguration& WithDisableLogTypes(const Aws::VectorThe list of log types to disable.
*/ inline CloudwatchLogsExportConfiguration& WithDisableLogTypes(Aws::VectorThe list of log types to disable.
*/ inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const Aws::String& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; } /** *The list of log types to disable.
*/ inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(Aws::String&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(std::move(value)); return *this; } /** *The list of log types to disable.
*/ inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const char* value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; } private: Aws::Vector