/*
* 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
{
///
/// Presets are templates that contain most of the settings for transcoding media files
/// from one format to another. Elastic Transcoder includes some default presets for common
/// formats, for example, several iPod and iPhone versions. You can also create your own
/// presets for formats that aren't included among the default presets. You specify which
/// preset you want to use when you create a job.
///
public partial class Preset
{
private string _arn;
private AudioParameters _audio;
private string _container;
private string _description;
private string _id;
private string _name;
private Thumbnails _thumbnails;
private string _type;
private VideoParameters _video;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) for the preset.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Audio.
///
/// A section of the response body that provides information about the audio preset values.
///
///
public AudioParameters Audio
{
get { return this._audio; }
set { this._audio = value; }
}
// Check to see if Audio property is set
internal bool IsSetAudio()
{
return this._audio != null;
}
///
/// Gets and sets the property Container.
///
/// The container type for the output file. Valid values include flac
, flv
,
/// fmp4
, gif
, mp3
, mp4
, mpg
,
/// mxf
, oga
, ogg
, ts
, and webm
.
///
///
public string Container
{
get { return this._container; }
set { this._container = value; }
}
// Check to see if Container property is set
internal bool IsSetContainer()
{
return this._container != null;
}
///
/// Gets and sets the property Description.
///
/// A description of the preset.
///
///
[AWSProperty(Min=0, Max=255)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// Identifier for the new preset. You use this value to get settings for the preset or
/// to delete it.
///
///
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the preset.
///
///
[AWSProperty(Min=1, Max=40)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Thumbnails.
///
/// A section of the response body that provides information about the thumbnail preset
/// values, if any.
///
///
public Thumbnails Thumbnails
{
get { return this._thumbnails; }
set { this._thumbnails = value; }
}
// Check to see if Thumbnails property is set
internal bool IsSetThumbnails()
{
return this._thumbnails != null;
}
///
/// Gets and sets the property Type.
///
/// Whether the preset is a default preset provided by Elastic Transcoder (System
)
/// or a preset that you have defined (Custom
).
///
///
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Video.
///
/// A section of the response body that provides information about the video preset values.
///
///
public VideoParameters Video
{
get { return this._video; }
set { this._video = value; }
}
// Check to see if Video property is set
internal bool IsSetVideo()
{
return this._video != null;
}
}
}