AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAacSettings(const AacSettings& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = value; }
63 inline void SetAacSettings(AacSettings&& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = std::move(value); }
64 inline AudioCodecSettings& WithAacSettings(const AacSettings& value) { SetAacSettings(value); return *this;}
65 inline AudioCodecSettings& WithAacSettings(AacSettings&& value) { SetAacSettings(std::move(value)); return *this;}
67
69
72 inline const Ac3Settings& GetAc3Settings() const{ return m_ac3Settings; }
73 inline bool Ac3SettingsHasBeenSet() const { return m_ac3SettingsHasBeenSet; }
74 inline void SetAc3Settings(const Ac3Settings& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = value; }
75 inline void SetAc3Settings(Ac3Settings&& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = std::move(value); }
76 inline AudioCodecSettings& WithAc3Settings(const Ac3Settings& value) { SetAc3Settings(value); return *this;}
77 inline AudioCodecSettings& WithAc3Settings(Ac3Settings&& value) { SetAc3Settings(std::move(value)); return *this;}
79
81
84 inline const AiffSettings& GetAiffSettings() const{ return m_aiffSettings; }
85 inline bool AiffSettingsHasBeenSet() const { return m_aiffSettingsHasBeenSet; }
86 inline void SetAiffSettings(const AiffSettings& value) { m_aiffSettingsHasBeenSet = true; m_aiffSettings = value; }
87 inline void SetAiffSettings(AiffSettings&& value) { m_aiffSettingsHasBeenSet = true; m_aiffSettings = std::move(value); }
88 inline AudioCodecSettings& WithAiffSettings(const AiffSettings& value) { SetAiffSettings(value); return *this;}
89 inline AudioCodecSettings& WithAiffSettings(AiffSettings&& value) { SetAiffSettings(std::move(value)); return *this;}
91
93
105 inline const AudioCodec& GetCodec() const{ return m_codec; }
106 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
107 inline void SetCodec(const AudioCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
108 inline void SetCodec(AudioCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
109 inline AudioCodecSettings& WithCodec(const AudioCodec& value) { SetCodec(value); return *this;}
110 inline AudioCodecSettings& WithCodec(AudioCodec&& value) { SetCodec(std::move(value)); return *this;}
112
114
117 inline const Eac3AtmosSettings& GetEac3AtmosSettings() const{ return m_eac3AtmosSettings; }
118 inline bool Eac3AtmosSettingsHasBeenSet() const { return m_eac3AtmosSettingsHasBeenSet; }
119 inline void SetEac3AtmosSettings(const Eac3AtmosSettings& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = value; }
120 inline void SetEac3AtmosSettings(Eac3AtmosSettings&& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = std::move(value); }
122 inline AudioCodecSettings& WithEac3AtmosSettings(Eac3AtmosSettings&& value) { SetEac3AtmosSettings(std::move(value)); return *this;}
124
126
129 inline const Eac3Settings& GetEac3Settings() const{ return m_eac3Settings; }
130 inline bool Eac3SettingsHasBeenSet() const { return m_eac3SettingsHasBeenSet; }
131 inline void SetEac3Settings(const Eac3Settings& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = value; }
132 inline void SetEac3Settings(Eac3Settings&& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = std::move(value); }
133 inline AudioCodecSettings& WithEac3Settings(const Eac3Settings& value) { SetEac3Settings(value); return *this;}
134 inline AudioCodecSettings& WithEac3Settings(Eac3Settings&& value) { SetEac3Settings(std::move(value)); return *this;}
136
138
142 inline const FlacSettings& GetFlacSettings() const{ return m_flacSettings; }
143 inline bool FlacSettingsHasBeenSet() const { return m_flacSettingsHasBeenSet; }
144 inline void SetFlacSettings(const FlacSettings& value) { m_flacSettingsHasBeenSet = true; m_flacSettings = value; }
145 inline void SetFlacSettings(FlacSettings&& value) { m_flacSettingsHasBeenSet = true; m_flacSettings = std::move(value); }
146 inline AudioCodecSettings& WithFlacSettings(const FlacSettings& value) { SetFlacSettings(value); return *this;}
147 inline AudioCodecSettings& WithFlacSettings(FlacSettings&& value) { SetFlacSettings(std::move(value)); return *this;}
149
151
154 inline const Mp2Settings& GetMp2Settings() const{ return m_mp2Settings; }
155 inline bool Mp2SettingsHasBeenSet() const { return m_mp2SettingsHasBeenSet; }
156 inline void SetMp2Settings(const Mp2Settings& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = value; }
157 inline void SetMp2Settings(Mp2Settings&& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = std::move(value); }
158 inline AudioCodecSettings& WithMp2Settings(const Mp2Settings& value) { SetMp2Settings(value); return *this;}
159 inline AudioCodecSettings& WithMp2Settings(Mp2Settings&& value) { SetMp2Settings(std::move(value)); return *this;}
161
163
167 inline const Mp3Settings& GetMp3Settings() const{ return m_mp3Settings; }
168 inline bool Mp3SettingsHasBeenSet() const { return m_mp3SettingsHasBeenSet; }
169 inline void SetMp3Settings(const Mp3Settings& value) { m_mp3SettingsHasBeenSet = true; m_mp3Settings = value; }
170 inline void SetMp3Settings(Mp3Settings&& value) { m_mp3SettingsHasBeenSet = true; m_mp3Settings = std::move(value); }
171 inline AudioCodecSettings& WithMp3Settings(const Mp3Settings& value) { SetMp3Settings(value); return *this;}
172 inline AudioCodecSettings& WithMp3Settings(Mp3Settings&& value) { SetMp3Settings(std::move(value)); return *this;}
174
176
180 inline const OpusSettings& GetOpusSettings() const{ return m_opusSettings; }
181 inline bool OpusSettingsHasBeenSet() const { return m_opusSettingsHasBeenSet; }
182 inline void SetOpusSettings(const OpusSettings& value) { m_opusSettingsHasBeenSet = true; m_opusSettings = value; }
183 inline void SetOpusSettings(OpusSettings&& value) { m_opusSettingsHasBeenSet = true; m_opusSettings = std::move(value); }
184 inline AudioCodecSettings& WithOpusSettings(const OpusSettings& value) { SetOpusSettings(value); return *this;}
185 inline AudioCodecSettings& WithOpusSettings(OpusSettings&& value) { SetOpusSettings(std::move(value)); return *this;}
187
189
193 inline const VorbisSettings& GetVorbisSettings() const{ return m_vorbisSettings; }
194 inline bool VorbisSettingsHasBeenSet() const { return m_vorbisSettingsHasBeenSet; }
195 inline void SetVorbisSettings(const VorbisSettings& value) { m_vorbisSettingsHasBeenSet = true; m_vorbisSettings = value; }
196 inline void SetVorbisSettings(VorbisSettings&& value) { m_vorbisSettingsHasBeenSet = true; m_vorbisSettings = std::move(value); }
197 inline AudioCodecSettings& WithVorbisSettings(const VorbisSettings& value) { SetVorbisSettings(value); return *this;}
198 inline AudioCodecSettings& WithVorbisSettings(VorbisSettings&& value) { SetVorbisSettings(std::move(value)); return *this;}
200
202
205 inline const WavSettings& GetWavSettings() const{ return m_wavSettings; }
206 inline bool WavSettingsHasBeenSet() const { return m_wavSettingsHasBeenSet; }
207 inline void SetWavSettings(const WavSettings& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = value; }
208 inline void SetWavSettings(WavSettings&& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = std::move(value); }
209 inline AudioCodecSettings& WithWavSettings(const WavSettings& value) { SetWavSettings(value); return *this;}
210 inline AudioCodecSettings& WithWavSettings(WavSettings&& value) { SetWavSettings(std::move(value)); return *this;}
212 private:
213
214 AacSettings m_aacSettings;
215 bool m_aacSettingsHasBeenSet = false;
216
217 Ac3Settings m_ac3Settings;
218 bool m_ac3SettingsHasBeenSet = false;
219
220 AiffSettings m_aiffSettings;
221 bool m_aiffSettingsHasBeenSet = false;
222
223 AudioCodec m_codec;
224 bool m_codecHasBeenSet = false;
225
226 Eac3AtmosSettings m_eac3AtmosSettings;
227 bool m_eac3AtmosSettingsHasBeenSet = false;
228
229 Eac3Settings m_eac3Settings;
230 bool m_eac3SettingsHasBeenSet = false;
231
232 FlacSettings m_flacSettings;
233 bool m_flacSettingsHasBeenSet = false;
234
235 Mp2Settings m_mp2Settings;
236 bool m_mp2SettingsHasBeenSet = false;
237
238 Mp3Settings m_mp3Settings;
239 bool m_mp3SettingsHasBeenSet = false;
240
241 OpusSettings m_opusSettings;
242 bool m_opusSettingsHasBeenSet = false;
243
244 VorbisSettings m_vorbisSettings;
245 bool m_vorbisSettingsHasBeenSet = false;
246
247 WavSettings m_wavSettings;
248 bool m_wavSettingsHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace MediaConvert
253} // namespace Aws
AudioCodecSettings & WithAacSettings(AacSettings &&value)
AudioCodecSettings & WithAiffSettings(const AiffSettings &value)
const VorbisSettings & GetVorbisSettings() const
AudioCodecSettings & WithCodec(const AudioCodec &value)
void SetAc3Settings(const Ac3Settings &value)
AudioCodecSettings & WithEac3Settings(const Eac3Settings &value)
AudioCodecSettings & WithOpusSettings(const OpusSettings &value)
AudioCodecSettings & WithMp3Settings(const Mp3Settings &value)
void SetWavSettings(const WavSettings &value)
void SetFlacSettings(const FlacSettings &value)
AudioCodecSettings & WithVorbisSettings(VorbisSettings &&value)
AudioCodecSettings & WithVorbisSettings(const VorbisSettings &value)
AudioCodecSettings & WithAc3Settings(const Ac3Settings &value)
void SetOpusSettings(const OpusSettings &value)
void SetEac3AtmosSettings(const Eac3AtmosSettings &value)
void SetAiffSettings(const AiffSettings &value)
AWS_MEDIACONVERT_API AudioCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioCodecSettings & WithAiffSettings(AiffSettings &&value)
void SetEac3Settings(const Eac3Settings &value)
AudioCodecSettings & WithEac3Settings(Eac3Settings &&value)
AudioCodecSettings & WithWavSettings(const WavSettings &value)
AudioCodecSettings & WithAc3Settings(Ac3Settings &&value)
AWS_MEDIACONVERT_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue)
AudioCodecSettings & WithFlacSettings(FlacSettings &&value)
void SetEac3AtmosSettings(Eac3AtmosSettings &&value)
AudioCodecSettings & WithEac3AtmosSettings(Eac3AtmosSettings &&value)
AudioCodecSettings & WithFlacSettings(const FlacSettings &value)
void SetMp2Settings(const Mp2Settings &value)
AudioCodecSettings & WithMp2Settings(const Mp2Settings &value)
AudioCodecSettings & WithEac3AtmosSettings(const Eac3AtmosSettings &value)
AudioCodecSettings & WithWavSettings(WavSettings &&value)
AudioCodecSettings & WithAacSettings(const AacSettings &value)
AudioCodecSettings & WithMp3Settings(Mp3Settings &&value)
void SetAacSettings(const AacSettings &value)
void SetMp3Settings(const Mp3Settings &value)
void SetVorbisSettings(const VorbisSettings &value)
AudioCodecSettings & WithOpusSettings(OpusSettings &&value)
const Eac3AtmosSettings & GetEac3AtmosSettings() const
AudioCodecSettings & WithMp2Settings(Mp2Settings &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AudioCodecSettings & WithCodec(AudioCodec &&value)
Aws::Utils::Json::JsonValue JsonValue