/* * 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model { /// /// The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. /// The log group must exist before you enable logging. /// public partial class CloudWatchLogGroupLogDestination { private string _cloudWatchLogGroupArn; private string _logPrefix; /// /// Gets and sets the property CloudWatchLogGroupArn. /// /// The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string CloudWatchLogGroupArn { get { return this._cloudWatchLogGroupArn; } set { this._cloudWatchLogGroupArn = value; } } // Check to see if CloudWatchLogGroupArn property is set internal bool IsSetCloudWatchLogGroupArn() { return this._cloudWatchLogGroupArn != null; } /// /// Gets and sets the property LogPrefix. /// /// The prefix of the log stream name within the log group that you specified /// /// [AWSProperty(Required=true, Max=1024)] public string LogPrefix { get { return this._logPrefix; } set { this._logPrefix = value; } } // Check to see if LogPrefix property is set internal bool IsSetLogPrefix() { return this._logPrefix != null; } } }