AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AudioDurationCorrection& GetAudioDurationCorrection() const{ return m_audioDurationCorrection; }
70 inline bool AudioDurationCorrectionHasBeenSet() const { return m_audioDurationCorrectionHasBeenSet; }
71 inline void SetAudioDurationCorrection(const AudioDurationCorrection& value) { m_audioDurationCorrectionHasBeenSet = true; m_audioDurationCorrection = value; }
72 inline void SetAudioDurationCorrection(AudioDurationCorrection&& value) { m_audioDurationCorrectionHasBeenSet = true; m_audioDurationCorrection = std::move(value); }
76
78
82 inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
83 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
84 inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
85 inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
86 inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
87 inline AudioSelector& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
88 inline AudioSelector& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
89 inline AudioSelector& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
91
93
98 inline const AudioDefaultSelection& GetDefaultSelection() const{ return m_defaultSelection; }
99 inline bool DefaultSelectionHasBeenSet() const { return m_defaultSelectionHasBeenSet; }
100 inline void SetDefaultSelection(const AudioDefaultSelection& value) { m_defaultSelectionHasBeenSet = true; m_defaultSelection = value; }
101 inline void SetDefaultSelection(AudioDefaultSelection&& value) { m_defaultSelectionHasBeenSet = true; m_defaultSelection = std::move(value); }
103 inline AudioSelector& WithDefaultSelection(AudioDefaultSelection&& value) { SetDefaultSelection(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetExternalAudioFileInput() const{ return m_externalAudioFileInput; }
111 inline bool ExternalAudioFileInputHasBeenSet() const { return m_externalAudioFileInputHasBeenSet; }
112 inline void SetExternalAudioFileInput(const Aws::String& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = value; }
113 inline void SetExternalAudioFileInput(Aws::String&& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = std::move(value); }
114 inline void SetExternalAudioFileInput(const char* value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput.assign(value); }
116 inline AudioSelector& WithExternalAudioFileInput(Aws::String&& value) { SetExternalAudioFileInput(std::move(value)); return *this;}
117 inline AudioSelector& WithExternalAudioFileInput(const char* value) { SetExternalAudioFileInput(value); return *this;}
119
121
131 inline const HlsRenditionGroupSettings& GetHlsRenditionGroupSettings() const{ return m_hlsRenditionGroupSettings; }
132 inline bool HlsRenditionGroupSettingsHasBeenSet() const { return m_hlsRenditionGroupSettingsHasBeenSet; }
133 inline void SetHlsRenditionGroupSettings(const HlsRenditionGroupSettings& value) { m_hlsRenditionGroupSettingsHasBeenSet = true; m_hlsRenditionGroupSettings = value; }
134 inline void SetHlsRenditionGroupSettings(HlsRenditionGroupSettings&& value) { m_hlsRenditionGroupSettingsHasBeenSet = true; m_hlsRenditionGroupSettings = std::move(value); }
138
140
143 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
144 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
145 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
146 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
147 inline AudioSelector& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
148 inline AudioSelector& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
150
152
155 inline int GetOffset() const{ return m_offset; }
156 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
157 inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
158 inline AudioSelector& WithOffset(int value) { SetOffset(value); return *this;}
160
162
165 inline const Aws::Vector<int>& GetPids() const{ return m_pids; }
166 inline bool PidsHasBeenSet() const { return m_pidsHasBeenSet; }
167 inline void SetPids(const Aws::Vector<int>& value) { m_pidsHasBeenSet = true; m_pids = value; }
168 inline void SetPids(Aws::Vector<int>&& value) { m_pidsHasBeenSet = true; m_pids = std::move(value); }
169 inline AudioSelector& WithPids(const Aws::Vector<int>& value) { SetPids(value); return *this;}
170 inline AudioSelector& WithPids(Aws::Vector<int>&& value) { SetPids(std::move(value)); return *this;}
171 inline AudioSelector& AddPids(int value) { m_pidsHasBeenSet = true; m_pids.push_back(value); return *this; }
173
175
184 inline int GetProgramSelection() const{ return m_programSelection; }
185 inline bool ProgramSelectionHasBeenSet() const { return m_programSelectionHasBeenSet; }
186 inline void SetProgramSelection(int value) { m_programSelectionHasBeenSet = true; m_programSelection = value; }
187 inline AudioSelector& WithProgramSelection(int value) { SetProgramSelection(value); return *this;}
189
191
196 inline const RemixSettings& GetRemixSettings() const{ return m_remixSettings; }
197 inline bool RemixSettingsHasBeenSet() const { return m_remixSettingsHasBeenSet; }
198 inline void SetRemixSettings(const RemixSettings& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = value; }
199 inline void SetRemixSettings(RemixSettings&& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = std::move(value); }
200 inline AudioSelector& WithRemixSettings(const RemixSettings& value) { SetRemixSettings(value); return *this;}
201 inline AudioSelector& WithRemixSettings(RemixSettings&& value) { SetRemixSettings(std::move(value)); return *this;}
203
205
208 inline const AudioSelectorType& GetSelectorType() const{ return m_selectorType; }
209 inline bool SelectorTypeHasBeenSet() const { return m_selectorTypeHasBeenSet; }
210 inline void SetSelectorType(const AudioSelectorType& value) { m_selectorTypeHasBeenSet = true; m_selectorType = value; }
211 inline void SetSelectorType(AudioSelectorType&& value) { m_selectorTypeHasBeenSet = true; m_selectorType = std::move(value); }
212 inline AudioSelector& WithSelectorType(const AudioSelectorType& value) { SetSelectorType(value); return *this;}
213 inline AudioSelector& WithSelectorType(AudioSelectorType&& value) { SetSelectorType(std::move(value)); return *this;}
215
217
223 inline const Aws::Vector<int>& GetTracks() const{ return m_tracks; }
224 inline bool TracksHasBeenSet() const { return m_tracksHasBeenSet; }
225 inline void SetTracks(const Aws::Vector<int>& value) { m_tracksHasBeenSet = true; m_tracks = value; }
226 inline void SetTracks(Aws::Vector<int>&& value) { m_tracksHasBeenSet = true; m_tracks = std::move(value); }
227 inline AudioSelector& WithTracks(const Aws::Vector<int>& value) { SetTracks(value); return *this;}
228 inline AudioSelector& WithTracks(Aws::Vector<int>&& value) { SetTracks(std::move(value)); return *this;}
229 inline AudioSelector& AddTracks(int value) { m_tracksHasBeenSet = true; m_tracks.push_back(value); return *this; }
231 private:
232
233 AudioDurationCorrection m_audioDurationCorrection;
234 bool m_audioDurationCorrectionHasBeenSet = false;
235
236 Aws::String m_customLanguageCode;
237 bool m_customLanguageCodeHasBeenSet = false;
238
239 AudioDefaultSelection m_defaultSelection;
240 bool m_defaultSelectionHasBeenSet = false;
241
242 Aws::String m_externalAudioFileInput;
243 bool m_externalAudioFileInputHasBeenSet = false;
244
245 HlsRenditionGroupSettings m_hlsRenditionGroupSettings;
246 bool m_hlsRenditionGroupSettingsHasBeenSet = false;
247
248 LanguageCode m_languageCode;
249 bool m_languageCodeHasBeenSet = false;
250
251 int m_offset;
252 bool m_offsetHasBeenSet = false;
253
254 Aws::Vector<int> m_pids;
255 bool m_pidsHasBeenSet = false;
256
257 int m_programSelection;
258 bool m_programSelectionHasBeenSet = false;
259
260 RemixSettings m_remixSettings;
261 bool m_remixSettingsHasBeenSet = false;
262
263 AudioSelectorType m_selectorType;
264 bool m_selectorTypeHasBeenSet = false;
265
266 Aws::Vector<int> m_tracks;
267 bool m_tracksHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace MediaConvert
272} // namespace Aws
void SetLanguageCode(const LanguageCode &value)
AudioSelector & WithTracks(Aws::Vector< int > &&value)
const Aws::String & GetCustomLanguageCode() const
void SetSelectorType(AudioSelectorType &&value)
const Aws::Vector< int > & GetPids() const
AWS_MEDIACONVERT_API AudioSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
const LanguageCode & GetLanguageCode() const
AudioSelector & WithHlsRenditionGroupSettings(HlsRenditionGroupSettings &&value)
void SetHlsRenditionGroupSettings(const HlsRenditionGroupSettings &value)
AudioSelector & WithLanguageCode(const LanguageCode &value)
AudioSelector & WithOffset(int value)
AudioSelector & WithHlsRenditionGroupSettings(const HlsRenditionGroupSettings &value)
AudioSelector & AddTracks(int value)
AudioSelector & WithExternalAudioFileInput(const char *value)
void SetCustomLanguageCode(Aws::String &&value)
AudioSelector & WithRemixSettings(const RemixSettings &value)
AudioSelector & WithPids(Aws::Vector< int > &&value)
void SetRemixSettings(const RemixSettings &value)
void SetPids(const Aws::Vector< int > &value)
void SetRemixSettings(RemixSettings &&value)
void SetCustomLanguageCode(const char *value)
const HlsRenditionGroupSettings & GetHlsRenditionGroupSettings() const
void SetHlsRenditionGroupSettings(HlsRenditionGroupSettings &&value)
AWS_MEDIACONVERT_API AudioSelector()
void SetPids(Aws::Vector< int > &&value)
void SetExternalAudioFileInput(Aws::String &&value)
void SetAudioDurationCorrection(AudioDurationCorrection &&value)
AudioSelector & WithCustomLanguageCode(Aws::String &&value)
AWS_MEDIACONVERT_API AudioSelector(Aws::Utils::Json::JsonView jsonValue)
const RemixSettings & GetRemixSettings() const
AudioSelector & WithDefaultSelection(const AudioDefaultSelection &value)
const AudioDurationCorrection & GetAudioDurationCorrection() const
void SetAudioDurationCorrection(const AudioDurationCorrection &value)
AudioSelector & AddPids(int value)
AudioSelector & WithExternalAudioFileInput(Aws::String &&value)
void SetTracks(Aws::Vector< int > &&value)
AudioSelector & WithAudioDurationCorrection(AudioDurationCorrection &&value)
void SetExternalAudioFileInput(const char *value)
AudioSelector & WithSelectorType(const AudioSelectorType &value)
void SetDefaultSelection(const AudioDefaultSelection &value)
AudioSelector & WithCustomLanguageCode(const char *value)
AudioSelector & WithLanguageCode(LanguageCode &&value)
void SetCustomLanguageCode(const Aws::String &value)
AudioSelector & WithProgramSelection(int value)
AudioSelector & WithExternalAudioFileInput(const Aws::String &value)
const Aws::Vector< int > & GetTracks() const
void SetDefaultSelection(AudioDefaultSelection &&value)
void SetSelectorType(const AudioSelectorType &value)
void SetExternalAudioFileInput(const Aws::String &value)
AudioSelector & WithRemixSettings(RemixSettings &&value)
AudioSelector & WithAudioDurationCorrection(const AudioDurationCorrection &value)
AudioSelector & WithSelectorType(AudioSelectorType &&value)
void SetLanguageCode(LanguageCode &&value)
AudioSelector & WithCustomLanguageCode(const Aws::String &value)
const AudioSelectorType & GetSelectorType() const
AudioSelector & WithTracks(const Aws::Vector< int > &value)
void SetTracks(const Aws::Vector< int > &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExternalAudioFileInput() const
AudioSelector & WithPids(const Aws::Vector< int > &value)
const AudioDefaultSelection & GetDefaultSelection() const
AudioSelector & WithDefaultSelection(AudioDefaultSelection &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue