/*
* 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 transcribe-2017-10-26.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.TranscribeService.Model
{
///
/// Describes the Amazon S3 location of the media file you want to use in your request.
///
///
///
/// For information on supported media formats, refer to the MediaFormat
/// parameter or the Media
/// formats section in the Amazon S3 Developer Guide.
///
///
public partial class Media
{
private string _mediaFileUri;
private string _redactedMediaFileUri;
///
/// Gets and sets the property MediaFileUri.
///
/// The Amazon S3 location of the media file you want to transcribe. For example:
///
/// -
///
///
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
///
/// -
///
///
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
///
///
///
/// Note that the Amazon S3 bucket that contains your input media must be located in the
/// same Amazon Web Services Region where you're making your transcription request.
///
///
[AWSProperty(Min=1, Max=2000)]
public string MediaFileUri
{
get { return this._mediaFileUri; }
set { this._mediaFileUri = value; }
}
// Check to see if MediaFileUri property is set
internal bool IsSetMediaFileUri()
{
return this._mediaFileUri != null;
}
///
/// Gets and sets the property RedactedMediaFileUri.
///
/// The Amazon S3 location of the media file you want to redact. For example:
///
/// -
///
///
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
///
/// -
///
///
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
///
///
///
/// Note that the Amazon S3 bucket that contains your input media must be located in the
/// same Amazon Web Services Region where you're making your transcription request.
///
///
///
/// RedactedMediaFileUri
produces a redacted audio file in addition to a
/// redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob
)
/// transcription requests.
///
///
///
[AWSProperty(Min=1, Max=2000)]
public string RedactedMediaFileUri
{
get { return this._redactedMediaFileUri; }
set { this._redactedMediaFileUri = value; }
}
// Check to see if RedactedMediaFileUri property is set
internal bool IsSetRedactedMediaFileUri()
{
return this._redactedMediaFileUri != null;
}
}
}