/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Input Channel Level

See Also:

AWS * API Reference

*/ class InputChannelLevel { public: AWS_MEDIALIVE_API InputChannelLevel(); AWS_MEDIALIVE_API InputChannelLevel(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API InputChannelLevel& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Remixing value. Units are in dB and acceptable values are within the range from * -60 (mute) and 6 dB. */ inline int GetGain() const{ return m_gain; } /** * Remixing value. Units are in dB and acceptable values are within the range from * -60 (mute) and 6 dB. */ inline bool GainHasBeenSet() const { return m_gainHasBeenSet; } /** * Remixing value. Units are in dB and acceptable values are within the range from * -60 (mute) and 6 dB. */ inline void SetGain(int value) { m_gainHasBeenSet = true; m_gain = value; } /** * Remixing value. Units are in dB and acceptable values are within the range from * -60 (mute) and 6 dB. */ inline InputChannelLevel& WithGain(int value) { SetGain(value); return *this;} /** * The index of the input channel used as a source. */ inline int GetInputChannel() const{ return m_inputChannel; } /** * The index of the input channel used as a source. */ inline bool InputChannelHasBeenSet() const { return m_inputChannelHasBeenSet; } /** * The index of the input channel used as a source. */ inline void SetInputChannel(int value) { m_inputChannelHasBeenSet = true; m_inputChannel = value; } /** * The index of the input channel used as a source. */ inline InputChannelLevel& WithInputChannel(int value) { SetInputChannel(value); return *this;} private: int m_gain; bool m_gainHasBeenSet = false; int m_inputChannel; bool m_inputChannelHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws