/* * 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 elastictranscoder-2012-09-25.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.ElasticTranscoder.Model { /// /// The captions to be created, if any. /// public partial class Captions { private List _captionFormats = new List(); private List _captionSources = new List(); private string _mergePolicy; /// /// Gets and sets the property CaptionFormats. /// /// The array of file formats for the output captions. If you leave this value blank, /// Elastic Transcoder returns an error. /// /// [AWSProperty(Max=4)] public List CaptionFormats { get { return this._captionFormats; } set { this._captionFormats = value; } } // Check to see if CaptionFormats property is set internal bool IsSetCaptionFormats() { return this._captionFormats != null && this._captionFormats.Count > 0; } /// /// Gets and sets the property CaptionSources. /// /// Source files for the input sidecar captions used during the transcoding process. To /// omit all sidecar captions, leave CaptionSources blank. /// /// [Obsolete("This property is deprecated")] [AWSProperty(Max=20)] public List CaptionSources { get { return this._captionSources; } set { this._captionSources = value; } } // Check to see if CaptionSources property is set internal bool IsSetCaptionSources() { return this._captionSources != null && this._captionSources.Count > 0; } /// /// Gets and sets the property MergePolicy. /// /// A policy that determines how Elastic Transcoder handles the existence of multiple /// captions. /// ///
  • /// /// MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions /// into outputs. If captions for a language are embedded in the input file and also appear /// in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded /// captions for that language. /// ///
  • /// /// MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions /// into outputs. If captions for a language are embedded in the input file and also appear /// in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar /// captions for that language. If CaptionSources is empty, Elastic Transcoder /// omits all sidecar captions from the output files. /// ///
  • /// /// Override: Elastic Transcoder transcodes only the sidecar captions that you /// specify in CaptionSources. /// ///
/// /// MergePolicy cannot be null. /// ///
[Obsolete("This property is deprecated")] public string MergePolicy { get { return this._mergePolicy; } set { this._mergePolicy = value; } } // Check to see if MergePolicy property is set internal bool IsSetMergePolicy() { return this._mergePolicy != null; } } }