AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RemixSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/AudioChannelMapping.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API RemixSettings() = default;
31 AWS_MEDIALIVE_API RemixSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API RemixSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<AudioChannelMapping>& GetChannelMappings() const { return m_channelMappings; }
40 inline bool ChannelMappingsHasBeenSet() const { return m_channelMappingsHasBeenSet; }
41 template <typename ChannelMappingsT = Aws::Vector<AudioChannelMapping>>
42 void SetChannelMappings(ChannelMappingsT&& value) {
43 m_channelMappingsHasBeenSet = true;
44 m_channelMappings = std::forward<ChannelMappingsT>(value);
45 }
46 template <typename ChannelMappingsT = Aws::Vector<AudioChannelMapping>>
47 RemixSettings& WithChannelMappings(ChannelMappingsT&& value) {
48 SetChannelMappings(std::forward<ChannelMappingsT>(value));
49 return *this;
50 }
51 template <typename ChannelMappingsT = AudioChannelMapping>
52 RemixSettings& AddChannelMappings(ChannelMappingsT&& value) {
53 m_channelMappingsHasBeenSet = true;
54 m_channelMappings.emplace_back(std::forward<ChannelMappingsT>(value));
55 return *this;
56 }
58
60
63 inline int GetChannelsIn() const { return m_channelsIn; }
64 inline bool ChannelsInHasBeenSet() const { return m_channelsInHasBeenSet; }
65 inline void SetChannelsIn(int value) {
66 m_channelsInHasBeenSet = true;
67 m_channelsIn = value;
68 }
69 inline RemixSettings& WithChannelsIn(int value) {
70 SetChannelsIn(value);
71 return *this;
72 }
74
76
80 inline int GetChannelsOut() const { return m_channelsOut; }
81 inline bool ChannelsOutHasBeenSet() const { return m_channelsOutHasBeenSet; }
82 inline void SetChannelsOut(int value) {
83 m_channelsOutHasBeenSet = true;
84 m_channelsOut = value;
85 }
86 inline RemixSettings& WithChannelsOut(int value) {
87 SetChannelsOut(value);
88 return *this;
89 }
91 private:
92 Aws::Vector<AudioChannelMapping> m_channelMappings;
93
94 int m_channelsIn{0};
95
96 int m_channelsOut{0};
97 bool m_channelMappingsHasBeenSet = false;
98 bool m_channelsInHasBeenSet = false;
99 bool m_channelsOutHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace MediaLive
104} // 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