/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConvert { namespace Model { /** * Channel mapping (ChannelMapping) contains the group of fields that hold the * remixing value for each channel. Units are in dB. Acceptable values are within * the range from -60 (mute) through 6. A setting of 0 passes the input channel * unchanged to the output channel (no attenuation or amplification).

See * Also:

AWS * API Reference

*/ class AWS_MEDIACONVERT_API ChannelMapping { public: ChannelMapping(); ChannelMapping(Aws::Utils::Json::JsonView jsonValue); ChannelMapping& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * List of output channels */ inline const Aws::Vector& GetOutputChannels() const{ return m_outputChannels; } /** * List of output channels */ inline bool OutputChannelsHasBeenSet() const { return m_outputChannelsHasBeenSet; } /** * List of output channels */ inline void SetOutputChannels(const Aws::Vector& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = value; } /** * List of output channels */ inline void SetOutputChannels(Aws::Vector&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = std::move(value); } /** * List of output channels */ inline ChannelMapping& WithOutputChannels(const Aws::Vector& value) { SetOutputChannels(value); return *this;} /** * List of output channels */ inline ChannelMapping& WithOutputChannels(Aws::Vector&& value) { SetOutputChannels(std::move(value)); return *this;} /** * List of output channels */ inline ChannelMapping& AddOutputChannels(const OutputChannelMapping& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(value); return *this; } /** * List of output channels */ inline ChannelMapping& AddOutputChannels(OutputChannelMapping&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(std::move(value)); return *this; } private: Aws::Vector m_outputChannels; bool m_outputChannelsHasBeenSet; }; } // namespace Model } // namespace MediaConvert } // namespace Aws