AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
RemixSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/ChannelMapping.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
30 public:
31 AWS_MEDIACONVERT_API RemixSettings() = default;
32 AWS_MEDIACONVERT_API RemixSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API RemixSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline int GetAudioDescriptionAudioChannel() const { return m_audioDescriptionAudioChannel; }
46 inline bool AudioDescriptionAudioChannelHasBeenSet() const { return m_audioDescriptionAudioChannelHasBeenSet; }
47 inline void SetAudioDescriptionAudioChannel(int value) {
48 m_audioDescriptionAudioChannelHasBeenSet = true;
49 m_audioDescriptionAudioChannel = value;
50 }
53 return *this;
54 }
56
58
66 inline int GetAudioDescriptionDataChannel() const { return m_audioDescriptionDataChannel; }
67 inline bool AudioDescriptionDataChannelHasBeenSet() const { return m_audioDescriptionDataChannelHasBeenSet; }
68 inline void SetAudioDescriptionDataChannel(int value) {
69 m_audioDescriptionDataChannelHasBeenSet = true;
70 m_audioDescriptionDataChannel = value;
71 }
74 return *this;
75 }
77
79
92 inline const ChannelMapping& GetChannelMapping() const { return m_channelMapping; }
93 inline bool ChannelMappingHasBeenSet() const { return m_channelMappingHasBeenSet; }
94 template <typename ChannelMappingT = ChannelMapping>
95 void SetChannelMapping(ChannelMappingT&& value) {
96 m_channelMappingHasBeenSet = true;
97 m_channelMapping = std::forward<ChannelMappingT>(value);
98 }
99 template <typename ChannelMappingT = ChannelMapping>
100 RemixSettings& WithChannelMapping(ChannelMappingT&& value) {
101 SetChannelMapping(std::forward<ChannelMappingT>(value));
102 return *this;
103 }
105
107
115 inline int GetChannelsIn() const { return m_channelsIn; }
116 inline bool ChannelsInHasBeenSet() const { return m_channelsInHasBeenSet; }
117 inline void SetChannelsIn(int value) {
118 m_channelsInHasBeenSet = true;
119 m_channelsIn = value;
120 }
121 inline RemixSettings& WithChannelsIn(int value) {
122 SetChannelsIn(value);
123 return *this;
124 }
126
128
135 inline int GetChannelsOut() const { return m_channelsOut; }
136 inline bool ChannelsOutHasBeenSet() const { return m_channelsOutHasBeenSet; }
137 inline void SetChannelsOut(int value) {
138 m_channelsOutHasBeenSet = true;
139 m_channelsOut = value;
140 }
141 inline RemixSettings& WithChannelsOut(int value) {
142 SetChannelsOut(value);
143 return *this;
144 }
146 private:
147 int m_audioDescriptionAudioChannel{0};
148
149 int m_audioDescriptionDataChannel{0};
150
151 ChannelMapping m_channelMapping;
152
153 int m_channelsIn{0};
154
155 int m_channelsOut{0};
156 bool m_audioDescriptionAudioChannelHasBeenSet = false;
157 bool m_audioDescriptionDataChannelHasBeenSet = false;
158 bool m_channelMappingHasBeenSet = false;
159 bool m_channelsInHasBeenSet = false;
160 bool m_channelsOutHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace MediaConvert
165} // namespace Aws
AWS_MEDIACONVERT_API RemixSettings(Aws::Utils::Json::JsonView jsonValue)
RemixSettings & WithChannelMapping(ChannelMappingT &&value)
RemixSettings & WithChannelsOut(int value)
const ChannelMapping & GetChannelMapping() const
AWS_MEDIACONVERT_API RemixSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
RemixSettings & WithChannelsIn(int value)
void SetChannelMapping(ChannelMappingT &&value)
RemixSettings & WithAudioDescriptionAudioChannel(int value)
RemixSettings & WithAudioDescriptionDataChannel(int value)
AWS_MEDIACONVERT_API RemixSettings()=default
Aws::Utils::Json::JsonValue JsonValue