This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-medialive/include/aws/medialive/model/InputChannelLevel.h

95 lines
2.4 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/medialive/MediaLive_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* Input Channel Level<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputChannelLevel">AWS
* API Reference</a></p>
*/
class AWS_MEDIALIVE_API InputChannelLevel
{
public:
InputChannelLevel();
InputChannelLevel(Aws::Utils::Json::JsonView jsonValue);
InputChannelLevel& operator=(Aws::Utils::Json::JsonView jsonValue);
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;
int m_inputChannel;
bool m_inputChannelHasBeenSet;
};
} // namespace Model
} // namespace MediaLive
} // namespace Aws