/*
* 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
{
///
/// Specifies an Amazon S3 bucket for logging audio conversations
///
public partial class S3BucketLogDestination
{
private string _kmsKeyArn;
private string _logPrefix;
private string _s3BucketArn;
///
/// Gets and sets the property KmsKeyArn.
///
/// The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS)
/// key for encrypting audio log files stored 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 LogPrefix.
///
/// The S3 prefix to assign to audio log files.
///
///
[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;
}
///
/// Gets and sets the property S3BucketArn.
///
/// The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string S3BucketArn
{
get { return this._s3BucketArn; }
set { this._s3BucketArn = value; }
}
// Check to see if S3BucketArn property is set
internal bool IsSetS3BucketArn()
{
return this._s3BucketArn != null;
}
}
}