AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AudioCodecSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AacSettings.h>
9#include <aws/mediaconvert/model/Ac3Settings.h>
10#include <aws/mediaconvert/model/AiffSettings.h>
11#include <aws/mediaconvert/model/AudioCodec.h>
12#include <aws/mediaconvert/model/Eac3AtmosSettings.h>
13#include <aws/mediaconvert/model/Eac3Settings.h>
14#include <aws/mediaconvert/model/FlacSettings.h>
15#include <aws/mediaconvert/model/Mp2Settings.h>
16#include <aws/mediaconvert/model/Mp3Settings.h>
17#include <aws/mediaconvert/model/OpusSettings.h>
18#include <aws/mediaconvert/model/VorbisSettings.h>
19#include <aws/mediaconvert/model/WavSettings.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace MediaConvert
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_MEDIACONVERT_API AudioCodecSettings() = default;
47 AWS_MEDIACONVERT_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
60 inline const AacSettings& GetAacSettings() const { return m_aacSettings; }
61 inline bool AacSettingsHasBeenSet() const { return m_aacSettingsHasBeenSet; }
62 template<typename AacSettingsT = AacSettings>
63 void SetAacSettings(AacSettingsT&& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = std::forward<AacSettingsT>(value); }
64 template<typename AacSettingsT = AacSettings>
65 AudioCodecSettings& WithAacSettings(AacSettingsT&& value) { SetAacSettings(std::forward<AacSettingsT>(value)); return *this;}
67
69
72 inline const Ac3Settings& GetAc3Settings() const { return m_ac3Settings; }
73 inline bool Ac3SettingsHasBeenSet() const { return m_ac3SettingsHasBeenSet; }
74 template<typename Ac3SettingsT = Ac3Settings>
75 void SetAc3Settings(Ac3SettingsT&& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = std::forward<Ac3SettingsT>(value); }
76 template<typename Ac3SettingsT = Ac3Settings>
77 AudioCodecSettings& WithAc3Settings(Ac3SettingsT&& value) { SetAc3Settings(std::forward<Ac3SettingsT>(value)); return *this;}
79
81
84 inline const AiffSettings& GetAiffSettings() const { return m_aiffSettings; }
85 inline bool AiffSettingsHasBeenSet() const { return m_aiffSettingsHasBeenSet; }
86 template<typename AiffSettingsT = AiffSettings>
87 void SetAiffSettings(AiffSettingsT&& value) { m_aiffSettingsHasBeenSet = true; m_aiffSettings = std::forward<AiffSettingsT>(value); }
88 template<typename AiffSettingsT = AiffSettings>
89 AudioCodecSettings& WithAiffSettings(AiffSettingsT&& value) { SetAiffSettings(std::forward<AiffSettingsT>(value)); return *this;}
91
93
105 inline AudioCodec GetCodec() const { return m_codec; }
106 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
107 inline void SetCodec(AudioCodec value) { m_codecHasBeenSet = true; m_codec = value; }
108 inline AudioCodecSettings& WithCodec(AudioCodec value) { SetCodec(value); return *this;}
110
112
115 inline const Eac3AtmosSettings& GetEac3AtmosSettings() const { return m_eac3AtmosSettings; }
116 inline bool Eac3AtmosSettingsHasBeenSet() const { return m_eac3AtmosSettingsHasBeenSet; }
117 template<typename Eac3AtmosSettingsT = Eac3AtmosSettings>
118 void SetEac3AtmosSettings(Eac3AtmosSettingsT&& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = std::forward<Eac3AtmosSettingsT>(value); }
119 template<typename Eac3AtmosSettingsT = Eac3AtmosSettings>
120 AudioCodecSettings& WithEac3AtmosSettings(Eac3AtmosSettingsT&& value) { SetEac3AtmosSettings(std::forward<Eac3AtmosSettingsT>(value)); return *this;}
122
124
127 inline const Eac3Settings& GetEac3Settings() const { return m_eac3Settings; }
128 inline bool Eac3SettingsHasBeenSet() const { return m_eac3SettingsHasBeenSet; }
129 template<typename Eac3SettingsT = Eac3Settings>
130 void SetEac3Settings(Eac3SettingsT&& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = std::forward<Eac3SettingsT>(value); }
131 template<typename Eac3SettingsT = Eac3Settings>
132 AudioCodecSettings& WithEac3Settings(Eac3SettingsT&& value) { SetEac3Settings(std::forward<Eac3SettingsT>(value)); return *this;}
134
136
140 inline const FlacSettings& GetFlacSettings() const { return m_flacSettings; }
141 inline bool FlacSettingsHasBeenSet() const { return m_flacSettingsHasBeenSet; }
142 template<typename FlacSettingsT = FlacSettings>
143 void SetFlacSettings(FlacSettingsT&& value) { m_flacSettingsHasBeenSet = true; m_flacSettings = std::forward<FlacSettingsT>(value); }
144 template<typename FlacSettingsT = FlacSettings>
145 AudioCodecSettings& WithFlacSettings(FlacSettingsT&& value) { SetFlacSettings(std::forward<FlacSettingsT>(value)); return *this;}
147
149
152 inline const Mp2Settings& GetMp2Settings() const { return m_mp2Settings; }
153 inline bool Mp2SettingsHasBeenSet() const { return m_mp2SettingsHasBeenSet; }
154 template<typename Mp2SettingsT = Mp2Settings>
155 void SetMp2Settings(Mp2SettingsT&& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = std::forward<Mp2SettingsT>(value); }
156 template<typename Mp2SettingsT = Mp2Settings>
157 AudioCodecSettings& WithMp2Settings(Mp2SettingsT&& value) { SetMp2Settings(std::forward<Mp2SettingsT>(value)); return *this;}
159
161
165 inline const Mp3Settings& GetMp3Settings() const { return m_mp3Settings; }
166 inline bool Mp3SettingsHasBeenSet() const { return m_mp3SettingsHasBeenSet; }
167 template<typename Mp3SettingsT = Mp3Settings>
168 void SetMp3Settings(Mp3SettingsT&& value) { m_mp3SettingsHasBeenSet = true; m_mp3Settings = std::forward<Mp3SettingsT>(value); }
169 template<typename Mp3SettingsT = Mp3Settings>
170 AudioCodecSettings& WithMp3Settings(Mp3SettingsT&& value) { SetMp3Settings(std::forward<Mp3SettingsT>(value)); return *this;}
172
174
178 inline const OpusSettings& GetOpusSettings() const { return m_opusSettings; }
179 inline bool OpusSettingsHasBeenSet() const { return m_opusSettingsHasBeenSet; }
180 template<typename OpusSettingsT = OpusSettings>
181 void SetOpusSettings(OpusSettingsT&& value) { m_opusSettingsHasBeenSet = true; m_opusSettings = std::forward<OpusSettingsT>(value); }
182 template<typename OpusSettingsT = OpusSettings>
183 AudioCodecSettings& WithOpusSettings(OpusSettingsT&& value) { SetOpusSettings(std::forward<OpusSettingsT>(value)); return *this;}
185
187
191 inline const VorbisSettings& GetVorbisSettings() const { return m_vorbisSettings; }
192 inline bool VorbisSettingsHasBeenSet() const { return m_vorbisSettingsHasBeenSet; }
193 template<typename VorbisSettingsT = VorbisSettings>
194 void SetVorbisSettings(VorbisSettingsT&& value) { m_vorbisSettingsHasBeenSet = true; m_vorbisSettings = std::forward<VorbisSettingsT>(value); }
195 template<typename VorbisSettingsT = VorbisSettings>
196 AudioCodecSettings& WithVorbisSettings(VorbisSettingsT&& value) { SetVorbisSettings(std::forward<VorbisSettingsT>(value)); return *this;}
198
200
203 inline const WavSettings& GetWavSettings() const { return m_wavSettings; }
204 inline bool WavSettingsHasBeenSet() const { return m_wavSettingsHasBeenSet; }
205 template<typename WavSettingsT = WavSettings>
206 void SetWavSettings(WavSettingsT&& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = std::forward<WavSettingsT>(value); }
207 template<typename WavSettingsT = WavSettings>
208 AudioCodecSettings& WithWavSettings(WavSettingsT&& value) { SetWavSettings(std::forward<WavSettingsT>(value)); return *this;}
210 private:
211
212 AacSettings m_aacSettings;
213 bool m_aacSettingsHasBeenSet = false;
214
215 Ac3Settings m_ac3Settings;
216 bool m_ac3SettingsHasBeenSet = false;
217
218 AiffSettings m_aiffSettings;
219 bool m_aiffSettingsHasBeenSet = false;
220
222 bool m_codecHasBeenSet = false;
223
224 Eac3AtmosSettings m_eac3AtmosSettings;
225 bool m_eac3AtmosSettingsHasBeenSet = false;
226
227 Eac3Settings m_eac3Settings;
228 bool m_eac3SettingsHasBeenSet = false;
229
230 FlacSettings m_flacSettings;
231 bool m_flacSettingsHasBeenSet = false;
232
233 Mp2Settings m_mp2Settings;
234 bool m_mp2SettingsHasBeenSet = false;
235
236 Mp3Settings m_mp3Settings;
237 bool m_mp3SettingsHasBeenSet = false;
238
239 OpusSettings m_opusSettings;
240 bool m_opusSettingsHasBeenSet = false;
241
242 VorbisSettings m_vorbisSettings;
243 bool m_vorbisSettingsHasBeenSet = false;
244
245 WavSettings m_wavSettings;
246 bool m_wavSettingsHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace MediaConvert
251} // namespace Aws
AudioCodecSettings & WithCodec(AudioCodec value)
AudioCodecSettings & WithWavSettings(WavSettingsT &&value)
const VorbisSettings & GetVorbisSettings() const
void SetVorbisSettings(VorbisSettingsT &&value)
void SetEac3AtmosSettings(Eac3AtmosSettingsT &&value)
AWS_MEDIACONVERT_API AudioCodecSettings()=default
AudioCodecSettings & WithAiffSettings(AiffSettingsT &&value)
AWS_MEDIACONVERT_API AudioCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioCodecSettings & WithEac3AtmosSettings(Eac3AtmosSettingsT &&value)
AudioCodecSettings & WithAc3Settings(Ac3SettingsT &&value)
AudioCodecSettings & WithMp3Settings(Mp3SettingsT &&value)
AudioCodecSettings & WithAacSettings(AacSettingsT &&value)
AudioCodecSettings & WithEac3Settings(Eac3SettingsT &&value)
AWS_MEDIACONVERT_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue)
AudioCodecSettings & WithOpusSettings(OpusSettingsT &&value)
AudioCodecSettings & WithFlacSettings(FlacSettingsT &&value)
const Eac3AtmosSettings & GetEac3AtmosSettings() const
AudioCodecSettings & WithMp2Settings(Mp2SettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AudioCodecSettings & WithVorbisSettings(VorbisSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue