AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AudioDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/AudioChannelTaggingSettings.h>
10#include <aws/mediaconvert/model/AudioCodecSettings.h>
11#include <aws/mediaconvert/model/AudioLanguageCodeControl.h>
12#include <aws/mediaconvert/model/AudioNormalizationSettings.h>
13#include <aws/mediaconvert/model/AudioPitchCorrectionSettings.h>
14#include <aws/mediaconvert/model/AudioTypeControl.h>
15#include <aws/mediaconvert/model/LanguageCode.h>
16#include <aws/mediaconvert/model/RemixSettings.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert {
28namespace Model {
29
41 public:
42 AWS_MEDIACONVERT_API AudioDescription() = default;
43 AWS_MEDIACONVERT_API AudioDescription(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API AudioDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
54 inline const AudioChannelTaggingSettings& GetAudioChannelTaggingSettings() const { return m_audioChannelTaggingSettings; }
55 inline bool AudioChannelTaggingSettingsHasBeenSet() const { return m_audioChannelTaggingSettingsHasBeenSet; }
56 template <typename AudioChannelTaggingSettingsT = AudioChannelTaggingSettings>
57 void SetAudioChannelTaggingSettings(AudioChannelTaggingSettingsT&& value) {
58 m_audioChannelTaggingSettingsHasBeenSet = true;
59 m_audioChannelTaggingSettings = std::forward<AudioChannelTaggingSettingsT>(value);
60 }
61 template <typename AudioChannelTaggingSettingsT = AudioChannelTaggingSettings>
62 AudioDescription& WithAudioChannelTaggingSettings(AudioChannelTaggingSettingsT&& value) {
63 SetAudioChannelTaggingSettings(std::forward<AudioChannelTaggingSettingsT>(value));
64 return *this;
65 }
67
69
73 inline const AudioNormalizationSettings& GetAudioNormalizationSettings() const { return m_audioNormalizationSettings; }
74 inline bool AudioNormalizationSettingsHasBeenSet() const { return m_audioNormalizationSettingsHasBeenSet; }
75 template <typename AudioNormalizationSettingsT = AudioNormalizationSettings>
76 void SetAudioNormalizationSettings(AudioNormalizationSettingsT&& value) {
77 m_audioNormalizationSettingsHasBeenSet = true;
78 m_audioNormalizationSettings = std::forward<AudioNormalizationSettingsT>(value);
79 }
80 template <typename AudioNormalizationSettingsT = AudioNormalizationSettings>
81 AudioDescription& WithAudioNormalizationSettings(AudioNormalizationSettingsT&& value) {
82 SetAudioNormalizationSettings(std::forward<AudioNormalizationSettingsT>(value));
83 return *this;
84 }
86
88
91 inline const AudioPitchCorrectionSettings& GetAudioPitchCorrectionSettings() const { return m_audioPitchCorrectionSettings; }
92 inline bool AudioPitchCorrectionSettingsHasBeenSet() const { return m_audioPitchCorrectionSettingsHasBeenSet; }
93 template <typename AudioPitchCorrectionSettingsT = AudioPitchCorrectionSettings>
94 void SetAudioPitchCorrectionSettings(AudioPitchCorrectionSettingsT&& value) {
95 m_audioPitchCorrectionSettingsHasBeenSet = true;
96 m_audioPitchCorrectionSettings = std::forward<AudioPitchCorrectionSettingsT>(value);
97 }
98 template <typename AudioPitchCorrectionSettingsT = AudioPitchCorrectionSettings>
99 AudioDescription& WithAudioPitchCorrectionSettings(AudioPitchCorrectionSettingsT&& value) {
100 SetAudioPitchCorrectionSettings(std::forward<AudioPitchCorrectionSettingsT>(value));
101 return *this;
102 }
104
106
118 inline const Aws::String& GetAudioSourceName() const { return m_audioSourceName; }
119 inline bool AudioSourceNameHasBeenSet() const { return m_audioSourceNameHasBeenSet; }
120 template <typename AudioSourceNameT = Aws::String>
121 void SetAudioSourceName(AudioSourceNameT&& value) {
122 m_audioSourceNameHasBeenSet = true;
123 m_audioSourceName = std::forward<AudioSourceNameT>(value);
124 }
125 template <typename AudioSourceNameT = Aws::String>
126 AudioDescription& WithAudioSourceName(AudioSourceNameT&& value) {
127 SetAudioSourceName(std::forward<AudioSourceNameT>(value));
128 return *this;
129 }
131
133
139 inline int GetAudioType() const { return m_audioType; }
140 inline bool AudioTypeHasBeenSet() const { return m_audioTypeHasBeenSet; }
141 inline void SetAudioType(int value) {
142 m_audioTypeHasBeenSet = true;
143 m_audioType = value;
144 }
145 inline AudioDescription& WithAudioType(int value) {
146 SetAudioType(value);
147 return *this;
148 }
150
152
160 inline AudioTypeControl GetAudioTypeControl() const { return m_audioTypeControl; }
161 inline bool AudioTypeControlHasBeenSet() const { return m_audioTypeControlHasBeenSet; }
163 m_audioTypeControlHasBeenSet = true;
164 m_audioTypeControl = value;
165 }
167 SetAudioTypeControl(value);
168 return *this;
169 }
171
173
177 inline const AudioCodecSettings& GetCodecSettings() const { return m_codecSettings; }
178 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
179 template <typename CodecSettingsT = AudioCodecSettings>
180 void SetCodecSettings(CodecSettingsT&& value) {
181 m_codecSettingsHasBeenSet = true;
182 m_codecSettings = std::forward<CodecSettingsT>(value);
183 }
184 template <typename CodecSettingsT = AudioCodecSettings>
185 AudioDescription& WithCodecSettings(CodecSettingsT&& value) {
186 SetCodecSettings(std::forward<CodecSettingsT>(value));
187 return *this;
188 }
190
192
202 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
203 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
204 template <typename CustomLanguageCodeT = Aws::String>
205 void SetCustomLanguageCode(CustomLanguageCodeT&& value) {
206 m_customLanguageCodeHasBeenSet = true;
207 m_customLanguageCode = std::forward<CustomLanguageCodeT>(value);
208 }
209 template <typename CustomLanguageCodeT = Aws::String>
210 AudioDescription& WithCustomLanguageCode(CustomLanguageCodeT&& value) {
211 SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value));
212 return *this;
213 }
215
217
228 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
229 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
230 inline void SetLanguageCode(LanguageCode value) {
231 m_languageCodeHasBeenSet = true;
232 m_languageCode = value;
233 }
235 SetLanguageCode(value);
236 return *this;
237 }
239
241
248 inline AudioLanguageCodeControl GetLanguageCodeControl() const { return m_languageCodeControl; }
249 inline bool LanguageCodeControlHasBeenSet() const { return m_languageCodeControlHasBeenSet; }
251 m_languageCodeControlHasBeenSet = true;
252 m_languageCodeControl = value;
253 }
256 return *this;
257 }
259
261
264 inline const RemixSettings& GetRemixSettings() const { return m_remixSettings; }
265 inline bool RemixSettingsHasBeenSet() const { return m_remixSettingsHasBeenSet; }
266 template <typename RemixSettingsT = RemixSettings>
267 void SetRemixSettings(RemixSettingsT&& value) {
268 m_remixSettingsHasBeenSet = true;
269 m_remixSettings = std::forward<RemixSettingsT>(value);
270 }
271 template <typename RemixSettingsT = RemixSettings>
272 AudioDescription& WithRemixSettings(RemixSettingsT&& value) {
273 SetRemixSettings(std::forward<RemixSettingsT>(value));
274 return *this;
275 }
277
279
285 inline const Aws::String& GetStreamName() const { return m_streamName; }
286 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
287 template <typename StreamNameT = Aws::String>
288 void SetStreamName(StreamNameT&& value) {
289 m_streamNameHasBeenSet = true;
290 m_streamName = std::forward<StreamNameT>(value);
291 }
292 template <typename StreamNameT = Aws::String>
293 AudioDescription& WithStreamName(StreamNameT&& value) {
294 SetStreamName(std::forward<StreamNameT>(value));
295 return *this;
296 }
298 private:
299 AudioChannelTaggingSettings m_audioChannelTaggingSettings;
300
301 AudioNormalizationSettings m_audioNormalizationSettings;
302
303 AudioPitchCorrectionSettings m_audioPitchCorrectionSettings;
304
305 Aws::String m_audioSourceName;
306
307 int m_audioType{0};
308
310
311 AudioCodecSettings m_codecSettings;
312
313 Aws::String m_customLanguageCode;
314
315 LanguageCode m_languageCode{LanguageCode::NOT_SET};
316
318
319 RemixSettings m_remixSettings;
320
321 Aws::String m_streamName;
322 bool m_audioChannelTaggingSettingsHasBeenSet = false;
323 bool m_audioNormalizationSettingsHasBeenSet = false;
324 bool m_audioPitchCorrectionSettingsHasBeenSet = false;
325 bool m_audioSourceNameHasBeenSet = false;
326 bool m_audioTypeHasBeenSet = false;
327 bool m_audioTypeControlHasBeenSet = false;
328 bool m_codecSettingsHasBeenSet = false;
329 bool m_customLanguageCodeHasBeenSet = false;
330 bool m_languageCodeHasBeenSet = false;
331 bool m_languageCodeControlHasBeenSet = false;
332 bool m_remixSettingsHasBeenSet = false;
333 bool m_streamNameHasBeenSet = false;
334};
335
336} // namespace Model
337} // namespace MediaConvert
338} // namespace Aws
AudioDescription & WithCustomLanguageCode(CustomLanguageCodeT &&value)
void SetAudioPitchCorrectionSettings(AudioPitchCorrectionSettingsT &&value)
void SetRemixSettings(RemixSettingsT &&value)
void SetLanguageCodeControl(AudioLanguageCodeControl value)
void SetCustomLanguageCode(CustomLanguageCodeT &&value)
AWS_MEDIACONVERT_API AudioDescription(Aws::Utils::Json::JsonView jsonValue)
AudioDescription & WithAudioSourceName(AudioSourceNameT &&value)
AudioDescription & WithStreamName(StreamNameT &&value)
AudioDescription & WithAudioNormalizationSettings(AudioNormalizationSettingsT &&value)
AudioDescription & WithAudioChannelTaggingSettings(AudioChannelTaggingSettingsT &&value)
AudioDescription & WithRemixSettings(RemixSettingsT &&value)
void SetAudioNormalizationSettings(AudioNormalizationSettingsT &&value)
const AudioChannelTaggingSettings & GetAudioChannelTaggingSettings() const
AWS_MEDIACONVERT_API AudioDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const RemixSettings & GetRemixSettings() const
AudioDescription & WithLanguageCode(LanguageCode value)
void SetAudioSourceName(AudioSourceNameT &&value)
void SetAudioTypeControl(AudioTypeControl value)
void SetAudioChannelTaggingSettings(AudioChannelTaggingSettingsT &&value)
AudioDescription & WithCodecSettings(CodecSettingsT &&value)
const Aws::String & GetCustomLanguageCode() const
const Aws::String & GetAudioSourceName() const
const AudioNormalizationSettings & GetAudioNormalizationSettings() const
const AudioPitchCorrectionSettings & GetAudioPitchCorrectionSettings() const
const AudioCodecSettings & GetCodecSettings() const
AWS_MEDIACONVERT_API AudioDescription()=default
AudioDescription & WithAudioType(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AudioDescription & WithLanguageCodeControl(AudioLanguageCodeControl value)
void SetCodecSettings(CodecSettingsT &&value)
AudioLanguageCodeControl GetLanguageCodeControl() const
AudioDescription & WithAudioTypeControl(AudioTypeControl value)
AudioDescription & WithAudioPitchCorrectionSettings(AudioPitchCorrectionSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue