/* * 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 mq-2017-11-27.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.MQ.Model { /// /// The list of information about logs currently enabled and pending to be deployed for /// the specified broker. /// public partial class LogsSummary { private bool? _audit; private string _auditLogGroup; private bool? _general; private string _generalLogGroup; private PendingLogs _pending; /// /// Gets and sets the property Audit. /// /// Enables audit logging. Every user management action made using JMX or the ActiveMQ /// Web Console is logged. /// /// public bool Audit { get { return this._audit.GetValueOrDefault(); } set { this._audit = value; } } // Check to see if Audit property is set internal bool IsSetAudit() { return this._audit.HasValue; } /// /// Gets and sets the property AuditLogGroup. /// /// The location of the CloudWatch Logs log group where audit logs are sent. /// /// public string AuditLogGroup { get { return this._auditLogGroup; } set { this._auditLogGroup = value; } } // Check to see if AuditLogGroup property is set internal bool IsSetAuditLogGroup() { return this._auditLogGroup != null; } /// /// Gets and sets the property General. /// /// Enables general logging. /// /// [AWSProperty(Required=true)] public bool General { get { return this._general.GetValueOrDefault(); } set { this._general = value; } } // Check to see if General property is set internal bool IsSetGeneral() { return this._general.HasValue; } /// /// Gets and sets the property GeneralLogGroup. /// /// The location of the CloudWatch Logs log group where general logs are sent. /// /// [AWSProperty(Required=true)] public string GeneralLogGroup { get { return this._generalLogGroup; } set { this._generalLogGroup = value; } } // Check to see if GeneralLogGroup property is set internal bool IsSetGeneralLogGroup() { return this._generalLogGroup != null; } /// /// Gets and sets the property Pending. /// /// The list of information about logs pending to be deployed for the specified broker. /// /// public PendingLogs Pending { get { return this._pending; } set { this._pending = value; } } // Check to see if Pending property is set internal bool IsSetPending() { return this._pending != null; } } }