/** * 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 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 AiffSettings { public: AWS_MEDIACONVERT_API AiffSettings(); AWS_MEDIACONVERT_API AiffSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API AiffSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Specify Bit depth, in bits per sample, to choose the encoding quality for this * audio track. */ inline int GetBitDepth() const{ return m_bitDepth; } /** * Specify Bit depth, in bits per sample, to choose the encoding quality for this * audio track. */ inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; } /** * Specify Bit depth, 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, 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 = false; int m_channels; bool m_channelsHasBeenSet = false; int m_sampleRate; bool m_sampleRateHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws