/*
* 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 mediaconvert-2017-08-29.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.MediaConvert.Model
{
///
/// Required when you set Codec to the value FRAME_CAPTURE.
///
public partial class FrameCaptureSettings
{
private int? _framerateDenominator;
private int? _framerateNumerator;
private int? _maxCaptures;
private int? _quality;
///
/// Gets and sets the property FramerateDenominator. Frame capture will encode the first
/// frame of the output stream, then one frame every framerateDenominator/framerateNumerator
/// seconds. For example, settings of framerateNumerator = 1 and framerateDenominator
/// = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
/// 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of
/// each Capture.
///
[AWSProperty(Min=1, Max=2147483647)]
public int FramerateDenominator
{
get { return this._framerateDenominator.GetValueOrDefault(); }
set { this._framerateDenominator = value; }
}
// Check to see if FramerateDenominator property is set
internal bool IsSetFramerateDenominator()
{
return this._framerateDenominator.HasValue;
}
///
/// Gets and sets the property FramerateNumerator. Frame capture will encode the first
/// frame of the output stream, then one frame every framerateDenominator/framerateNumerator
/// seconds. For example, settings of framerateNumerator = 1 and framerateDenominator
/// = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
/// 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence
/// number zero padded to 7 decimal places.
///
[AWSProperty(Min=1, Max=2147483647)]
public int FramerateNumerator
{
get { return this._framerateNumerator.GetValueOrDefault(); }
set { this._framerateNumerator = value; }
}
// Check to see if FramerateNumerator property is set
internal bool IsSetFramerateNumerator()
{
return this._framerateNumerator.HasValue;
}
///
/// Gets and sets the property MaxCaptures. Maximum number of captures (encoded jpg output
/// files).
///
[AWSProperty(Min=1, Max=10000000)]
public int MaxCaptures
{
get { return this._maxCaptures.GetValueOrDefault(); }
set { this._maxCaptures = value; }
}
// Check to see if MaxCaptures property is set
internal bool IsSetMaxCaptures()
{
return this._maxCaptures.HasValue;
}
///
/// Gets and sets the property Quality. JPEG Quality - a higher value equals higher quality.
///
[AWSProperty(Min=1, Max=100)]
public int Quality
{
get { return this._quality.GetValueOrDefault(); }
set { this._quality = value; }
}
// Check to see if Quality property is set
internal bool IsSetQuality()
{
return this._quality.HasValue;
}
}
}