/* * 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 object representing the Amazon S3 bucket containing the transcript, as well as /// the associated metadata. /// public partial class S3BucketTranscriptSource { private string _kmsKeyArn; private PathFormat _pathFormat; private string _s3BucketName; private TranscriptFilter _transcriptFilter; private TranscriptFormat _transcriptFormat; /// /// Gets and sets the property KmsKeyArn. /// /// The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. Only use /// this field if your bucket is encrypted using a customer managed KMS key. /// /// [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 PathFormat. /// /// The object that contains a path format that will be applied when Amazon Lex reads /// the transcript file in the bucket you provide. Specify this object if you only want /// Lex to read a subset of files in your Amazon S3 bucket. /// /// public PathFormat PathFormat { get { return this._pathFormat; } set { this._pathFormat = value; } } // Check to see if PathFormat property is set internal bool IsSetPathFormat() { return this._pathFormat != null; } /// /// Gets and sets the property S3BucketName. /// /// The name of the bucket containing the transcript and the associated metadata. /// /// [AWSProperty(Required=true, Min=3, Max=63)] public string S3BucketName { get { return this._s3BucketName; } set { this._s3BucketName = value; } } // Check to see if S3BucketName property is set internal bool IsSetS3BucketName() { return this._s3BucketName != null; } /// /// Gets and sets the property TranscriptFilter. /// /// The object that contains the filter which will be applied when Amazon Lex reads through /// the Amazon S3 bucket. Specify this object if you want Amazon Lex to read only a subset /// of the Amazon S3 bucket based on the filter you provide. /// /// public TranscriptFilter TranscriptFilter { get { return this._transcriptFilter; } set { this._transcriptFilter = value; } } // Check to see if TranscriptFilter property is set internal bool IsSetTranscriptFilter() { return this._transcriptFilter != null; } /// /// Gets and sets the property TranscriptFormat. /// /// The format of the transcript content. Currently, Genie only supports the Amazon Lex /// transcript format. /// /// [AWSProperty(Required=true)] public TranscriptFormat TranscriptFormat { get { return this._transcriptFormat; } set { this._transcriptFormat = value; } } // Check to see if TranscriptFormat property is set internal bool IsSetTranscriptFormat() { return this._transcriptFormat != null; } } }