AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
RemixSettings.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/AudioChannelMapping.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 RemixSettings() = default;
36 AWS_MEDIALIVE_API RemixSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API RemixSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<AudioChannelMapping>& GetChannelMappings() const { return m_channelMappings; }
46 inline bool ChannelMappingsHasBeenSet() const { return m_channelMappingsHasBeenSet; }
47 template<typename ChannelMappingsT = Aws::Vector<AudioChannelMapping>>
48 void SetChannelMappings(ChannelMappingsT&& value) { m_channelMappingsHasBeenSet = true; m_channelMappings = std::forward<ChannelMappingsT>(value); }
49 template<typename ChannelMappingsT = Aws::Vector<AudioChannelMapping>>
50 RemixSettings& WithChannelMappings(ChannelMappingsT&& value) { SetChannelMappings(std::forward<ChannelMappingsT>(value)); return *this;}
51 template<typename ChannelMappingsT = AudioChannelMapping>
52 RemixSettings& AddChannelMappings(ChannelMappingsT&& value) { m_channelMappingsHasBeenSet = true; m_channelMappings.emplace_back(std::forward<ChannelMappingsT>(value)); return *this; }
54
56
59 inline int GetChannelsIn() const { return m_channelsIn; }
60 inline bool ChannelsInHasBeenSet() const { return m_channelsInHasBeenSet; }
61 inline void SetChannelsIn(int value) { m_channelsInHasBeenSet = true; m_channelsIn = value; }
62 inline RemixSettings& WithChannelsIn(int value) { SetChannelsIn(value); return *this;}
64
66
70 inline int GetChannelsOut() const { return m_channelsOut; }
71 inline bool ChannelsOutHasBeenSet() const { return m_channelsOutHasBeenSet; }
72 inline void SetChannelsOut(int value) { m_channelsOutHasBeenSet = true; m_channelsOut = value; }
73 inline RemixSettings& WithChannelsOut(int value) { SetChannelsOut(value); return *this;}
75 private:
76
77 Aws::Vector<AudioChannelMapping> m_channelMappings;
78 bool m_channelMappingsHasBeenSet = false;
79
80 int m_channelsIn{0};
81 bool m_channelsInHasBeenSet = false;
82
83 int m_channelsOut{0};
84 bool m_channelsOutHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace MediaLive
89} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API RemixSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChannelMappings(ChannelMappingsT &&value)
AWS_MEDIALIVE_API RemixSettings()=default
RemixSettings & WithChannelMappings(ChannelMappingsT &&value)
RemixSettings & WithChannelsIn(int value)
RemixSettings & AddChannelMappings(ChannelMappingsT &&value)
const Aws::Vector< AudioChannelMapping > & GetChannelMappings() const
AWS_MEDIALIVE_API RemixSettings(Aws::Utils::Json::JsonView jsonValue)
RemixSettings & WithChannelsOut(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue