/* * 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 { /// /// A source file for the input sidecar captions used during the transcoding process. /// public partial class CaptionSource { private Encryption _encryption; private string _key; private string _label; private string _language; private string _timeOffset; /// /// Gets and sets the property Encryption. /// /// The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption /// sources, or that you want Elastic Transcoder to apply to your caption sources. /// /// public Encryption Encryption { get { return this._encryption; } set { this._encryption = value; } } // Check to see if Encryption property is set internal bool IsSetEncryption() { return this._encryption != null; } /// /// Gets and sets the property Key. /// /// The name of the sidecar caption file that you want Elastic Transcoder to include in /// the output file. /// /// [AWSProperty(Min=1, Max=1024)] public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// /// Gets and sets the property Label. /// /// The label of the caption shown in the player when choosing a language. We recommend /// that you put the caption language name here, in the language of the captions. /// /// [AWSProperty(Min=1, Max=40)] public string Label { get { return this._label; } set { this._label = value; } } // Check to see if Label property is set internal bool IsSetLabel() { return this._label != null; } /// /// Gets and sets the property Language. /// /// A string that specifies the language of the caption. If you specified multiple inputs /// with captions, the caption language must match in order to be included in the output. /// Specify this as one of: /// /// /// /// For more information on ISO language codes and language names, see the List of ISO /// 639-1 codes. /// /// [AWSProperty(Min=1, Max=255)] public string Language { get { return this._language; } set { this._language = value; } } // Check to see if Language property is set internal bool IsSetLanguage() { return this._language != null; } /// /// Gets and sets the property TimeOffset. /// /// For clip generation or captions that do not start at the same time as the associated /// video file, the TimeOffset tells Elastic Transcoder how much of the video /// to encode before including captions. /// /// /// /// Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. /// /// public string TimeOffset { get { return this._timeOffset; } set { this._timeOffset = value; } } // Check to see if TimeOffset property is set internal bool IsSetTimeOffset() { return this._timeOffset != null; } } }