/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the rds-2014-10-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.RDS.Model { /// /// 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. The values within /// these arrays depend on the DB engine being used. /// /// /// /// For more information about exporting CloudWatch Logs for Amazon RDS DB instances, /// see Publishing /// Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. /// /// /// /// For more information about exporting CloudWatch Logs for Amazon Aurora DB clusters, /// see Publishing /// Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide. /// /// public partial class CloudwatchLogsExportConfiguration { private List _disableLogTypes = new List(); private List _enableLogTypes = new List(); /// /// Gets and sets the property DisableLogTypes. /// /// The list of log types to disable. /// /// public List DisableLogTypes { get { return this._disableLogTypes; } set { this._disableLogTypes = value; } } // Check to see if DisableLogTypes property is set internal bool IsSetDisableLogTypes() { return this._disableLogTypes != null && this._disableLogTypes.Count > 0; } /// /// Gets and sets the property EnableLogTypes. /// /// The list of log types to enable. /// /// public List EnableLogTypes { get { return this._enableLogTypes; } set { this._enableLogTypes = value; } } // Check to see if EnableLogTypes property is set internal bool IsSetEnableLogTypes() { return this._enableLogTypes != null && this._enableLogTypes.Count > 0; } } }