AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioChannelMapping.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/InputChannelLevel.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API AudioChannelMapping();
36 AWS_MEDIALIVE_API AudioChannelMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<InputChannelLevel>& GetInputChannelLevels() const{ return m_inputChannelLevels; }
47 inline bool InputChannelLevelsHasBeenSet() const { return m_inputChannelLevelsHasBeenSet; }
48 inline void SetInputChannelLevels(const Aws::Vector<InputChannelLevel>& value) { m_inputChannelLevelsHasBeenSet = true; m_inputChannelLevels = value; }
49 inline void SetInputChannelLevels(Aws::Vector<InputChannelLevel>&& value) { m_inputChannelLevelsHasBeenSet = true; m_inputChannelLevels = std::move(value); }
52 inline AudioChannelMapping& AddInputChannelLevels(const InputChannelLevel& value) { m_inputChannelLevelsHasBeenSet = true; m_inputChannelLevels.push_back(value); return *this; }
53 inline AudioChannelMapping& AddInputChannelLevels(InputChannelLevel&& value) { m_inputChannelLevelsHasBeenSet = true; m_inputChannelLevels.push_back(std::move(value)); return *this; }
55
57
60 inline int GetOutputChannel() const{ return m_outputChannel; }
61 inline bool OutputChannelHasBeenSet() const { return m_outputChannelHasBeenSet; }
62 inline void SetOutputChannel(int value) { m_outputChannelHasBeenSet = true; m_outputChannel = value; }
63 inline AudioChannelMapping& WithOutputChannel(int value) { SetOutputChannel(value); return *this;}
65 private:
66
67 Aws::Vector<InputChannelLevel> m_inputChannelLevels;
68 bool m_inputChannelLevelsHasBeenSet = false;
69
70 int m_outputChannel;
71 bool m_outputChannelHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaLive
76} // namespace Aws
AudioChannelMapping & WithInputChannelLevels(const Aws::Vector< InputChannelLevel > &value)
void SetInputChannelLevels(const Aws::Vector< InputChannelLevel > &value)
AudioChannelMapping & AddInputChannelLevels(InputChannelLevel &&value)
AudioChannelMapping & WithOutputChannel(int value)
const Aws::Vector< InputChannelLevel > & GetInputChannelLevels() const
AWS_MEDIALIVE_API AudioChannelMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioChannelMapping(Aws::Utils::Json::JsonView jsonValue)
AudioChannelMapping & AddInputChannelLevels(const InputChannelLevel &value)
AudioChannelMapping & WithInputChannelLevels(Aws::Vector< InputChannelLevel > &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputChannelLevels(Aws::Vector< InputChannelLevel > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue