/*
* 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 lex-models-2017-04-19.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.LexModelBuildingService.Model
{
///
/// The settings for conversation logs.
///
public partial class LogSettingsResponse
{
private Destination _destination;
private string _kmsKeyArn;
private LogType _logType;
private string _resourceArn;
private string _resourcePrefix;
///
/// Gets and sets the property Destination.
///
/// The destination where logs are delivered.
///
///
public Destination Destination
{
get { return this._destination; }
set { this._destination = value; }
}
// Check to see if Destination property is set
internal bool IsSetDestination()
{
return this._destination != null;
}
///
/// Gets and sets the property KmsKeyArn.
///
/// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
///
///
[AWSProperty(Min=20, Max=2048)]
public string KmsKeyArn
{
get { return this._kmsKeyArn; }
set { this._kmsKeyArn = value; }
}
// Check to see if KmsKeyArn property is set
internal bool IsSetKmsKeyArn()
{
return this._kmsKeyArn != null;
}
///
/// Gets and sets the property LogType.
///
/// The type of logging that is enabled.
///
///
public LogType LogType
{
get { return this._logType; }
set { this._logType = value; }
}
// Check to see if LogType property is set
internal bool IsSetLogType()
{
return this._logType != null;
}
///
/// Gets and sets the property ResourceArn.
///
/// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where
/// the logs are delivered.
///
///
[AWSProperty(Min=1, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
///
/// Gets and sets the property ResourcePrefix.
///
/// The resource prefix is the first part of the S3 object key within the S3 bucket that
/// you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log
/// stream name within the log group that you specified.
///
///
[AWSProperty(Max=1024)]
public string ResourcePrefix
{
get { return this._resourcePrefix; }
set { this._resourcePrefix = value; }
}
// Check to see if ResourcePrefix property is set
internal bool IsSetResourcePrefix()
{
return this._resourcePrefix != null;
}
}
}