AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AudioSelector.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AudioDurationCorrection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/AudioDefaultSelection.h>
11#include <aws/mediaconvert/model/HlsRenditionGroupSettings.h>
12#include <aws/mediaconvert/model/LanguageCode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/mediaconvert/model/RemixSettings.h>
15#include <aws/mediaconvert/model/AudioSelectorType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
41 {
42 public:
43 AWS_MEDIACONVERT_API AudioSelector() = default;
44 AWS_MEDIACONVERT_API AudioSelector(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API AudioSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
69 inline AudioDurationCorrection GetAudioDurationCorrection() const { return m_audioDurationCorrection; }
70 inline bool AudioDurationCorrectionHasBeenSet() const { return m_audioDurationCorrectionHasBeenSet; }
71 inline void SetAudioDurationCorrection(AudioDurationCorrection value) { m_audioDurationCorrectionHasBeenSet = true; m_audioDurationCorrection = value; }
74
76
80 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
81 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
82 template<typename CustomLanguageCodeT = Aws::String>
83 void SetCustomLanguageCode(CustomLanguageCodeT&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::forward<CustomLanguageCodeT>(value); }
84 template<typename CustomLanguageCodeT = Aws::String>
85 AudioSelector& WithCustomLanguageCode(CustomLanguageCodeT&& value) { SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value)); return *this;}
87
89
94 inline AudioDefaultSelection GetDefaultSelection() const { return m_defaultSelection; }
95 inline bool DefaultSelectionHasBeenSet() const { return m_defaultSelectionHasBeenSet; }
96 inline void SetDefaultSelection(AudioDefaultSelection value) { m_defaultSelectionHasBeenSet = true; m_defaultSelection = value; }
99
101
104 inline const Aws::String& GetExternalAudioFileInput() const { return m_externalAudioFileInput; }
105 inline bool ExternalAudioFileInputHasBeenSet() const { return m_externalAudioFileInputHasBeenSet; }
106 template<typename ExternalAudioFileInputT = Aws::String>
107 void SetExternalAudioFileInput(ExternalAudioFileInputT&& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = std::forward<ExternalAudioFileInputT>(value); }
108 template<typename ExternalAudioFileInputT = Aws::String>
109 AudioSelector& WithExternalAudioFileInput(ExternalAudioFileInputT&& value) { SetExternalAudioFileInput(std::forward<ExternalAudioFileInputT>(value)); return *this;}
111
113
123 inline const HlsRenditionGroupSettings& GetHlsRenditionGroupSettings() const { return m_hlsRenditionGroupSettings; }
124 inline bool HlsRenditionGroupSettingsHasBeenSet() const { return m_hlsRenditionGroupSettingsHasBeenSet; }
125 template<typename HlsRenditionGroupSettingsT = HlsRenditionGroupSettings>
126 void SetHlsRenditionGroupSettings(HlsRenditionGroupSettingsT&& value) { m_hlsRenditionGroupSettingsHasBeenSet = true; m_hlsRenditionGroupSettings = std::forward<HlsRenditionGroupSettingsT>(value); }
127 template<typename HlsRenditionGroupSettingsT = HlsRenditionGroupSettings>
128 AudioSelector& WithHlsRenditionGroupSettings(HlsRenditionGroupSettingsT&& value) { SetHlsRenditionGroupSettings(std::forward<HlsRenditionGroupSettingsT>(value)); return *this;}
130
132
138 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
139 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
140 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
141 inline AudioSelector& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
143
145
152 inline int GetOffset() const { return m_offset; }
153 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
154 inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
155 inline AudioSelector& WithOffset(int value) { SetOffset(value); return *this;}
157
159
162 inline const Aws::Vector<int>& GetPids() const { return m_pids; }
163 inline bool PidsHasBeenSet() const { return m_pidsHasBeenSet; }
164 template<typename PidsT = Aws::Vector<int>>
165 void SetPids(PidsT&& value) { m_pidsHasBeenSet = true; m_pids = std::forward<PidsT>(value); }
166 template<typename PidsT = Aws::Vector<int>>
167 AudioSelector& WithPids(PidsT&& value) { SetPids(std::forward<PidsT>(value)); return *this;}
168 inline AudioSelector& AddPids(int value) { m_pidsHasBeenSet = true; m_pids.push_back(value); return *this; }
170
172
181 inline int GetProgramSelection() const { return m_programSelection; }
182 inline bool ProgramSelectionHasBeenSet() const { return m_programSelectionHasBeenSet; }
183 inline void SetProgramSelection(int value) { m_programSelectionHasBeenSet = true; m_programSelection = value; }
184 inline AudioSelector& WithProgramSelection(int value) { SetProgramSelection(value); return *this;}
186
188
193 inline const RemixSettings& GetRemixSettings() const { return m_remixSettings; }
194 inline bool RemixSettingsHasBeenSet() const { return m_remixSettingsHasBeenSet; }
195 template<typename RemixSettingsT = RemixSettings>
196 void SetRemixSettings(RemixSettingsT&& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = std::forward<RemixSettingsT>(value); }
197 template<typename RemixSettingsT = RemixSettings>
198 AudioSelector& WithRemixSettings(RemixSettingsT&& value) { SetRemixSettings(std::forward<RemixSettingsT>(value)); return *this;}
200
202
217 inline AudioSelectorType GetSelectorType() const { return m_selectorType; }
218 inline bool SelectorTypeHasBeenSet() const { return m_selectorTypeHasBeenSet; }
219 inline void SetSelectorType(AudioSelectorType value) { m_selectorTypeHasBeenSet = true; m_selectorType = value; }
220 inline AudioSelector& WithSelectorType(AudioSelectorType value) { SetSelectorType(value); return *this;}
222
224
230 inline const Aws::Vector<int>& GetTracks() const { return m_tracks; }
231 inline bool TracksHasBeenSet() const { return m_tracksHasBeenSet; }
232 template<typename TracksT = Aws::Vector<int>>
233 void SetTracks(TracksT&& value) { m_tracksHasBeenSet = true; m_tracks = std::forward<TracksT>(value); }
234 template<typename TracksT = Aws::Vector<int>>
235 AudioSelector& WithTracks(TracksT&& value) { SetTracks(std::forward<TracksT>(value)); return *this;}
236 inline AudioSelector& AddTracks(int value) { m_tracksHasBeenSet = true; m_tracks.push_back(value); return *this; }
238 private:
239
241 bool m_audioDurationCorrectionHasBeenSet = false;
242
243 Aws::String m_customLanguageCode;
244 bool m_customLanguageCodeHasBeenSet = false;
245
247 bool m_defaultSelectionHasBeenSet = false;
248
249 Aws::String m_externalAudioFileInput;
250 bool m_externalAudioFileInputHasBeenSet = false;
251
252 HlsRenditionGroupSettings m_hlsRenditionGroupSettings;
253 bool m_hlsRenditionGroupSettingsHasBeenSet = false;
254
255 LanguageCode m_languageCode{LanguageCode::NOT_SET};
256 bool m_languageCodeHasBeenSet = false;
257
258 int m_offset{0};
259 bool m_offsetHasBeenSet = false;
260
261 Aws::Vector<int> m_pids;
262 bool m_pidsHasBeenSet = false;
263
264 int m_programSelection{0};
265 bool m_programSelectionHasBeenSet = false;
266
267 RemixSettings m_remixSettings;
268 bool m_remixSettingsHasBeenSet = false;
269
271 bool m_selectorTypeHasBeenSet = false;
272
273 Aws::Vector<int> m_tracks;
274 bool m_tracksHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace MediaConvert
279} // namespace Aws
const Aws::String & GetCustomLanguageCode() const
void SetLanguageCode(LanguageCode value)
AudioSelector & WithTracks(TracksT &&value)
const Aws::Vector< int > & GetPids() const
void SetAudioDurationCorrection(AudioDurationCorrection value)
AWS_MEDIACONVERT_API AudioSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultSelection(AudioDefaultSelection value)
void SetCustomLanguageCode(CustomLanguageCodeT &&value)
AudioSelector & WithAudioDurationCorrection(AudioDurationCorrection value)
AudioSelector & WithOffset(int value)
AudioSelector & AddTracks(int value)
AudioDurationCorrection GetAudioDurationCorrection() const
AudioDefaultSelection GetDefaultSelection() const
void SetSelectorType(AudioSelectorType value)
AudioSelector & WithHlsRenditionGroupSettings(HlsRenditionGroupSettingsT &&value)
AudioSelector & WithExternalAudioFileInput(ExternalAudioFileInputT &&value)
AWS_MEDIACONVERT_API AudioSelector()=default
const HlsRenditionGroupSettings & GetHlsRenditionGroupSettings() const
void SetRemixSettings(RemixSettingsT &&value)
AudioSelector & WithDefaultSelection(AudioDefaultSelection value)
AWS_MEDIACONVERT_API AudioSelector(Aws::Utils::Json::JsonView jsonValue)
const RemixSettings & GetRemixSettings() const
AudioSelector & WithCustomLanguageCode(CustomLanguageCodeT &&value)
AudioSelector & AddPids(int value)
void SetHlsRenditionGroupSettings(HlsRenditionGroupSettingsT &&value)
void SetExternalAudioFileInput(ExternalAudioFileInputT &&value)
AudioSelector & WithRemixSettings(RemixSettingsT &&value)
AudioSelector & WithSelectorType(AudioSelectorType value)
AudioSelector & WithProgramSelection(int value)
const Aws::Vector< int > & GetTracks() const
AudioSelector & WithLanguageCode(LanguageCode value)
AudioSelectorType GetSelectorType() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AudioSelector & WithPids(PidsT &&value)
const Aws::String & GetExternalAudioFileInput() 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