AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioDescription.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioNormalizationSettings.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/AudioType.h>
11#include <aws/medialive/model/AudioDescriptionAudioTypeControl.h>
12#include <aws/medialive/model/AudioWatermarkSettings.h>
13#include <aws/medialive/model/AudioCodecSettings.h>
14#include <aws/medialive/model/AudioDescriptionLanguageCodeControl.h>
15#include <aws/medialive/model/RemixSettings.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/medialive/model/DvbDashAccessibility.h>
18#include <aws/medialive/model/DashRoleAudio.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_MEDIALIVE_API AudioDescription();
45 AWS_MEDIALIVE_API AudioDescription(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const AudioNormalizationSettings& GetAudioNormalizationSettings() const{ return m_audioNormalizationSettings; }
55 inline bool AudioNormalizationSettingsHasBeenSet() const { return m_audioNormalizationSettingsHasBeenSet; }
56 inline void SetAudioNormalizationSettings(const AudioNormalizationSettings& value) { m_audioNormalizationSettingsHasBeenSet = true; m_audioNormalizationSettings = value; }
57 inline void SetAudioNormalizationSettings(AudioNormalizationSettings&& value) { m_audioNormalizationSettingsHasBeenSet = true; m_audioNormalizationSettings = std::move(value); }
61
63
66 inline const Aws::String& GetAudioSelectorName() const{ return m_audioSelectorName; }
67 inline bool AudioSelectorNameHasBeenSet() const { return m_audioSelectorNameHasBeenSet; }
68 inline void SetAudioSelectorName(const Aws::String& value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName = value; }
69 inline void SetAudioSelectorName(Aws::String&& value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName = std::move(value); }
70 inline void SetAudioSelectorName(const char* value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName.assign(value); }
71 inline AudioDescription& WithAudioSelectorName(const Aws::String& value) { SetAudioSelectorName(value); return *this;}
72 inline AudioDescription& WithAudioSelectorName(Aws::String&& value) { SetAudioSelectorName(std::move(value)); return *this;}
73 inline AudioDescription& WithAudioSelectorName(const char* value) { SetAudioSelectorName(value); return *this;}
75
77
81 inline const AudioType& GetAudioType() const{ return m_audioType; }
82 inline bool AudioTypeHasBeenSet() const { return m_audioTypeHasBeenSet; }
83 inline void SetAudioType(const AudioType& value) { m_audioTypeHasBeenSet = true; m_audioType = value; }
84 inline void SetAudioType(AudioType&& value) { m_audioTypeHasBeenSet = true; m_audioType = std::move(value); }
85 inline AudioDescription& WithAudioType(const AudioType& value) { SetAudioType(value); return *this;}
86 inline AudioDescription& WithAudioType(AudioType&& value) { SetAudioType(std::move(value)); return *this;}
88
90
101 inline const AudioDescriptionAudioTypeControl& GetAudioTypeControl() const{ return m_audioTypeControl; }
102 inline bool AudioTypeControlHasBeenSet() const { return m_audioTypeControlHasBeenSet; }
103 inline void SetAudioTypeControl(const AudioDescriptionAudioTypeControl& value) { m_audioTypeControlHasBeenSet = true; m_audioTypeControl = value; }
104 inline void SetAudioTypeControl(AudioDescriptionAudioTypeControl&& value) { m_audioTypeControlHasBeenSet = true; m_audioTypeControl = std::move(value); }
108
110
114 inline const AudioWatermarkSettings& GetAudioWatermarkingSettings() const{ return m_audioWatermarkingSettings; }
115 inline bool AudioWatermarkingSettingsHasBeenSet() const { return m_audioWatermarkingSettingsHasBeenSet; }
116 inline void SetAudioWatermarkingSettings(const AudioWatermarkSettings& value) { m_audioWatermarkingSettingsHasBeenSet = true; m_audioWatermarkingSettings = value; }
117 inline void SetAudioWatermarkingSettings(AudioWatermarkSettings&& value) { m_audioWatermarkingSettingsHasBeenSet = true; m_audioWatermarkingSettings = std::move(value); }
121
123
126 inline const AudioCodecSettings& GetCodecSettings() const{ return m_codecSettings; }
127 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
128 inline void SetCodecSettings(const AudioCodecSettings& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = value; }
129 inline void SetCodecSettings(AudioCodecSettings&& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = std::move(value); }
130 inline AudioDescription& WithCodecSettings(const AudioCodecSettings& value) { SetCodecSettings(value); return *this;}
131 inline AudioDescription& WithCodecSettings(AudioCodecSettings&& value) { SetCodecSettings(std::move(value)); return *this;}
133
135
140 inline const Aws::String& GetLanguageCode() const{ return m_languageCode; }
141 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
142 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
143 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
144 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
145 inline AudioDescription& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
146 inline AudioDescription& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
147 inline AudioDescription& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
149
151
157 inline const AudioDescriptionLanguageCodeControl& GetLanguageCodeControl() const{ return m_languageCodeControl; }
158 inline bool LanguageCodeControlHasBeenSet() const { return m_languageCodeControlHasBeenSet; }
159 inline void SetLanguageCodeControl(const AudioDescriptionLanguageCodeControl& value) { m_languageCodeControlHasBeenSet = true; m_languageCodeControl = value; }
160 inline void SetLanguageCodeControl(AudioDescriptionLanguageCodeControl&& value) { m_languageCodeControlHasBeenSet = true; m_languageCodeControl = std::move(value); }
164
166
171 inline const Aws::String& GetName() const{ return m_name; }
172 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
173 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
174 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
175 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
176 inline AudioDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
177 inline AudioDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
178 inline AudioDescription& WithName(const char* value) { SetName(value); return *this;}
180
182
186 inline const RemixSettings& GetRemixSettings() const{ return m_remixSettings; }
187 inline bool RemixSettingsHasBeenSet() const { return m_remixSettingsHasBeenSet; }
188 inline void SetRemixSettings(const RemixSettings& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = value; }
189 inline void SetRemixSettings(RemixSettings&& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = std::move(value); }
190 inline AudioDescription& WithRemixSettings(const RemixSettings& value) { SetRemixSettings(value); return *this;}
191 inline AudioDescription& WithRemixSettings(RemixSettings&& value) { SetRemixSettings(std::move(value)); return *this;}
193
195
199 inline const Aws::String& GetStreamName() const{ return m_streamName; }
200 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
201 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
202 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
203 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
204 inline AudioDescription& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
205 inline AudioDescription& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
206 inline AudioDescription& WithStreamName(const char* value) { SetStreamName(value); return *this;}
208
210
214 inline const Aws::Vector<DashRoleAudio>& GetAudioDashRoles() const{ return m_audioDashRoles; }
215 inline bool AudioDashRolesHasBeenSet() const { return m_audioDashRolesHasBeenSet; }
216 inline void SetAudioDashRoles(const Aws::Vector<DashRoleAudio>& value) { m_audioDashRolesHasBeenSet = true; m_audioDashRoles = value; }
217 inline void SetAudioDashRoles(Aws::Vector<DashRoleAudio>&& value) { m_audioDashRolesHasBeenSet = true; m_audioDashRoles = std::move(value); }
219 inline AudioDescription& WithAudioDashRoles(Aws::Vector<DashRoleAudio>&& value) { SetAudioDashRoles(std::move(value)); return *this;}
220 inline AudioDescription& AddAudioDashRoles(const DashRoleAudio& value) { m_audioDashRolesHasBeenSet = true; m_audioDashRoles.push_back(value); return *this; }
221 inline AudioDescription& AddAudioDashRoles(DashRoleAudio&& value) { m_audioDashRolesHasBeenSet = true; m_audioDashRoles.push_back(std::move(value)); return *this; }
223
225
230 inline const DvbDashAccessibility& GetDvbDashAccessibility() const{ return m_dvbDashAccessibility; }
231 inline bool DvbDashAccessibilityHasBeenSet() const { return m_dvbDashAccessibilityHasBeenSet; }
232 inline void SetDvbDashAccessibility(const DvbDashAccessibility& value) { m_dvbDashAccessibilityHasBeenSet = true; m_dvbDashAccessibility = value; }
233 inline void SetDvbDashAccessibility(DvbDashAccessibility&& value) { m_dvbDashAccessibilityHasBeenSet = true; m_dvbDashAccessibility = std::move(value); }
237 private:
238
239 AudioNormalizationSettings m_audioNormalizationSettings;
240 bool m_audioNormalizationSettingsHasBeenSet = false;
241
242 Aws::String m_audioSelectorName;
243 bool m_audioSelectorNameHasBeenSet = false;
244
245 AudioType m_audioType;
246 bool m_audioTypeHasBeenSet = false;
247
248 AudioDescriptionAudioTypeControl m_audioTypeControl;
249 bool m_audioTypeControlHasBeenSet = false;
250
251 AudioWatermarkSettings m_audioWatermarkingSettings;
252 bool m_audioWatermarkingSettingsHasBeenSet = false;
253
254 AudioCodecSettings m_codecSettings;
255 bool m_codecSettingsHasBeenSet = false;
256
257 Aws::String m_languageCode;
258 bool m_languageCodeHasBeenSet = false;
259
260 AudioDescriptionLanguageCodeControl m_languageCodeControl;
261 bool m_languageCodeControlHasBeenSet = false;
262
263 Aws::String m_name;
264 bool m_nameHasBeenSet = false;
265
266 RemixSettings m_remixSettings;
267 bool m_remixSettingsHasBeenSet = false;
268
269 Aws::String m_streamName;
270 bool m_streamNameHasBeenSet = false;
271
272 Aws::Vector<DashRoleAudio> m_audioDashRoles;
273 bool m_audioDashRolesHasBeenSet = false;
274
275 DvbDashAccessibility m_dvbDashAccessibility;
276 bool m_dvbDashAccessibilityHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace MediaLive
281} // namespace Aws
AWS_MEDIALIVE_API AudioDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioDescription & WithCodecSettings(AudioCodecSettings &&value)
const AudioCodecSettings & GetCodecSettings() const
AudioDescription & WithAudioType(AudioType &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAudioWatermarkingSettings(const AudioWatermarkSettings &value)
AudioDescription & WithLanguageCode(const char *value)
AudioDescription & WithStreamName(Aws::String &&value)
AudioDescription & WithAudioWatermarkingSettings(const AudioWatermarkSettings &value)
void SetCodecSettings(AudioCodecSettings &&value)
void SetAudioDashRoles(Aws::Vector< DashRoleAudio > &&value)
void SetAudioSelectorName(Aws::String &&value)
AudioDescription & WithAudioTypeControl(const AudioDescriptionAudioTypeControl &value)
void SetAudioWatermarkingSettings(AudioWatermarkSettings &&value)
AudioDescription & WithAudioDashRoles(const Aws::Vector< DashRoleAudio > &value)
const Aws::Vector< DashRoleAudio > & GetAudioDashRoles() const
AudioDescription & WithDvbDashAccessibility(const DvbDashAccessibility &value)
void SetLanguageCode(Aws::String &&value)
AudioDescription & WithLanguageCodeControl(AudioDescriptionLanguageCodeControl &&value)
const AudioNormalizationSettings & GetAudioNormalizationSettings() const
AudioDescription & WithAudioDashRoles(Aws::Vector< DashRoleAudio > &&value)
void SetDvbDashAccessibility(const DvbDashAccessibility &value)
void SetDvbDashAccessibility(DvbDashAccessibility &&value)
void SetAudioType(const AudioType &value)
AudioDescription & WithStreamName(const char *value)
AWS_MEDIALIVE_API AudioDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLanguageCode() const
const RemixSettings & GetRemixSettings() const
AudioDescription & WithName(const char *value)
const DvbDashAccessibility & GetDvbDashAccessibility() const
AudioDescription & WithDvbDashAccessibility(DvbDashAccessibility &&value)
const AudioDescriptionAudioTypeControl & GetAudioTypeControl() const
AudioDescription & AddAudioDashRoles(DashRoleAudio &&value)
void SetAudioNormalizationSettings(const AudioNormalizationSettings &value)
AudioDescription & WithAudioNormalizationSettings(AudioNormalizationSettings &&value)
AudioDescription & WithAudioTypeControl(AudioDescriptionAudioTypeControl &&value)
AudioDescription & WithAudioSelectorName(Aws::String &&value)
AudioDescription & WithAudioSelectorName(const char *value)
AudioDescription & WithName(Aws::String &&value)
AudioDescription & AddAudioDashRoles(const DashRoleAudio &value)
AudioDescription & WithAudioWatermarkingSettings(AudioWatermarkSettings &&value)
void SetCodecSettings(const AudioCodecSettings &value)
AudioDescription & WithRemixSettings(RemixSettings &&value)
void SetAudioNormalizationSettings(AudioNormalizationSettings &&value)
AudioDescription & WithAudioNormalizationSettings(const AudioNormalizationSettings &value)
AudioDescription & WithLanguageCode(Aws::String &&value)
AudioDescription & WithRemixSettings(const RemixSettings &value)
AudioDescription & WithAudioType(const AudioType &value)
void SetRemixSettings(RemixSettings &&value)
AudioDescription & WithName(const Aws::String &value)
AudioDescription & WithCodecSettings(const AudioCodecSettings &value)
void SetStreamName(const Aws::String &value)
void SetAudioSelectorName(const char *value)
AudioDescription & WithAudioSelectorName(const Aws::String &value)
const AudioDescriptionLanguageCodeControl & GetLanguageCodeControl() const
AudioDescription & WithLanguageCode(const Aws::String &value)
void SetAudioDashRoles(const Aws::Vector< DashRoleAudio > &value)
void SetAudioSelectorName(const Aws::String &value)
void SetLanguageCode(const Aws::String &value)
void SetLanguageCodeControl(AudioDescriptionLanguageCodeControl &&value)
void SetLanguageCodeControl(const AudioDescriptionLanguageCodeControl &value)
AudioDescription & WithLanguageCodeControl(const AudioDescriptionLanguageCodeControl &value)
void SetAudioTypeControl(AudioDescriptionAudioTypeControl &&value)
const Aws::String & GetStreamName() const
void SetAudioTypeControl(const AudioDescriptionAudioTypeControl &value)
void SetRemixSettings(const RemixSettings &value)
const Aws::String & GetAudioSelectorName() const
void SetName(const Aws::String &value)
AudioDescription & WithStreamName(const Aws::String &value)
const AudioWatermarkSettings & GetAudioWatermarkingSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue