124 lines
3.4 KiB
C++
124 lines
3.4 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MediaConvert
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the
|
|
* value AIFF.<p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AiffSettings">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_MEDIACONVERT_API AiffSettings
|
|
{
|
|
public:
|
|
AiffSettings();
|
|
AiffSettings(Aws::Utils::Json::JsonView jsonValue);
|
|
AiffSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality
|
|
* for this audio track.
|
|
*/
|
|
inline int GetBitDepth() const{ return m_bitDepth; }
|
|
|
|
/**
|
|
* Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality
|
|
* for this audio track.
|
|
*/
|
|
inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
|
|
|
|
/**
|
|
* Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality
|
|
* for this audio track.
|
|
*/
|
|
inline void SetBitDepth(int value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
|
|
|
|
/**
|
|
* Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality
|
|
* for this audio track.
|
|
*/
|
|
inline AiffSettings& WithBitDepth(int value) { SetBitDepth(value); return *this;}
|
|
|
|
|
|
/**
|
|
* Specify the number of channels in this output audio track. Valid values are 1
|
|
* and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
|
|
*/
|
|
inline int GetChannels() const{ return m_channels; }
|
|
|
|
/**
|
|
* Specify the number of channels in this output audio track. Valid values are 1
|
|
* and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
|
|
*/
|
|
inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
|
|
|
|
/**
|
|
* Specify the number of channels in this output audio track. Valid values are 1
|
|
* and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
|
|
*/
|
|
inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
|
|
|
|
/**
|
|
* Specify the number of channels in this output audio track. Valid values are 1
|
|
* and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
|
|
*/
|
|
inline AiffSettings& WithChannels(int value) { SetChannels(value); return *this;}
|
|
|
|
|
|
/**
|
|
* Sample rate in hz.
|
|
*/
|
|
inline int GetSampleRate() const{ return m_sampleRate; }
|
|
|
|
/**
|
|
* Sample rate in hz.
|
|
*/
|
|
inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
|
|
|
|
/**
|
|
* Sample rate in hz.
|
|
*/
|
|
inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
|
|
|
|
/**
|
|
* Sample rate in hz.
|
|
*/
|
|
inline AiffSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
|
|
|
|
private:
|
|
|
|
int m_bitDepth;
|
|
bool m_bitDepthHasBeenSet;
|
|
|
|
int m_channels;
|
|
bool m_channelsHasBeenSet;
|
|
|
|
int m_sampleRate;
|
|
bool m_sampleRateHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaConvert
|
|
} // namespace Aws
|