/* * 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 ec2-2016-11-15.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.EC2.Model { /// /// Options for sending VPN tunnel logs to CloudWatch. /// public partial class CloudWatchLogOptionsSpecification { private bool? _logEnabled; private string _logGroupArn; private string _logOutputFormat; /// /// Gets and sets the property LogEnabled. /// /// Enable or disable VPN tunnel logging feature. Default value is False. /// /// /// /// Valid values: True | False /// /// public bool LogEnabled { get { return this._logEnabled.GetValueOrDefault(); } set { this._logEnabled = value; } } // Check to see if LogEnabled property is set internal bool IsSetLogEnabled() { return this._logEnabled.HasValue; } /// /// Gets and sets the property LogGroupArn. /// /// The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to. /// /// public string LogGroupArn { get { return this._logGroupArn; } set { this._logGroupArn = value; } } // Check to see if LogGroupArn property is set internal bool IsSetLogGroupArn() { return this._logGroupArn != null; } /// /// Gets and sets the property LogOutputFormat. /// /// Set log format. Default format is json. /// /// /// /// Valid values: json | text /// /// public string LogOutputFormat { get { return this._logOutputFormat; } set { this._logOutputFormat = value; } } // Check to see if LogOutputFormat property is set internal bool IsSetLogOutputFormat() { return this._logOutputFormat != null; } } }