AWS SDK for C++  1.9.159
AWS SDK for C++
AudioSelector.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace MediaConvert
28 {
29 namespace Model
30 {
31 
40  {
41  public:
46 
47 
52  inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
53 
58  inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
59 
64  inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
65 
70  inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
71 
76  inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
77 
82  inline AudioSelector& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
83 
88  inline AudioSelector& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
89 
94  inline AudioSelector& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
95 
96 
102  inline const AudioDefaultSelection& GetDefaultSelection() const{ return m_defaultSelection; }
103 
109  inline bool DefaultSelectionHasBeenSet() const { return m_defaultSelectionHasBeenSet; }
110 
116  inline void SetDefaultSelection(const AudioDefaultSelection& value) { m_defaultSelectionHasBeenSet = true; m_defaultSelection = value; }
117 
123  inline void SetDefaultSelection(AudioDefaultSelection&& value) { m_defaultSelectionHasBeenSet = true; m_defaultSelection = std::move(value); }
124 
130  inline AudioSelector& WithDefaultSelection(const AudioDefaultSelection& value) { SetDefaultSelection(value); return *this;}
131 
137  inline AudioSelector& WithDefaultSelection(AudioDefaultSelection&& value) { SetDefaultSelection(std::move(value)); return *this;}
138 
139 
143  inline const Aws::String& GetExternalAudioFileInput() const{ return m_externalAudioFileInput; }
144 
148  inline bool ExternalAudioFileInputHasBeenSet() const { return m_externalAudioFileInputHasBeenSet; }
149 
153  inline void SetExternalAudioFileInput(const Aws::String& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = value; }
154 
158  inline void SetExternalAudioFileInput(Aws::String&& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = std::move(value); }
159 
163  inline void SetExternalAudioFileInput(const char* value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput.assign(value); }
164 
168  inline AudioSelector& WithExternalAudioFileInput(const Aws::String& value) { SetExternalAudioFileInput(value); return *this;}
169 
173  inline AudioSelector& WithExternalAudioFileInput(Aws::String&& value) { SetExternalAudioFileInput(std::move(value)); return *this;}
174 
178  inline AudioSelector& WithExternalAudioFileInput(const char* value) { SetExternalAudioFileInput(value); return *this;}
179 
180 
191  inline const HlsRenditionGroupSettings& GetHlsRenditionGroupSettings() const{ return m_hlsRenditionGroupSettings; }
192 
203  inline bool HlsRenditionGroupSettingsHasBeenSet() const { return m_hlsRenditionGroupSettingsHasBeenSet; }
204 
215  inline void SetHlsRenditionGroupSettings(const HlsRenditionGroupSettings& value) { m_hlsRenditionGroupSettingsHasBeenSet = true; m_hlsRenditionGroupSettings = value; }
216 
227  inline void SetHlsRenditionGroupSettings(HlsRenditionGroupSettings&& value) { m_hlsRenditionGroupSettingsHasBeenSet = true; m_hlsRenditionGroupSettings = std::move(value); }
228 
239  inline AudioSelector& WithHlsRenditionGroupSettings(const HlsRenditionGroupSettings& value) { SetHlsRenditionGroupSettings(value); return *this;}
240 
251  inline AudioSelector& WithHlsRenditionGroupSettings(HlsRenditionGroupSettings&& value) { SetHlsRenditionGroupSettings(std::move(value)); return *this;}
252 
253 
257  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
258 
262  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
263 
267  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
268 
272  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
273 
277  inline AudioSelector& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
278 
282  inline AudioSelector& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
283 
284 
288  inline int GetOffset() const{ return m_offset; }
289 
293  inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
294 
298  inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
299 
303  inline AudioSelector& WithOffset(int value) { SetOffset(value); return *this;}
304 
305 
309  inline const Aws::Vector<int>& GetPids() const{ return m_pids; }
310 
314  inline bool PidsHasBeenSet() const { return m_pidsHasBeenSet; }
315 
319  inline void SetPids(const Aws::Vector<int>& value) { m_pidsHasBeenSet = true; m_pids = value; }
320 
324  inline void SetPids(Aws::Vector<int>&& value) { m_pidsHasBeenSet = true; m_pids = std::move(value); }
325 
329  inline AudioSelector& WithPids(const Aws::Vector<int>& value) { SetPids(value); return *this;}
330 
334  inline AudioSelector& WithPids(Aws::Vector<int>&& value) { SetPids(std::move(value)); return *this;}
335 
339  inline AudioSelector& AddPids(int value) { m_pidsHasBeenSet = true; m_pids.push_back(value); return *this; }
340 
341 
353  inline int GetProgramSelection() const{ return m_programSelection; }
354 
366  inline bool ProgramSelectionHasBeenSet() const { return m_programSelectionHasBeenSet; }
367 
379  inline void SetProgramSelection(int value) { m_programSelectionHasBeenSet = true; m_programSelection = value; }
380 
392  inline AudioSelector& WithProgramSelection(int value) { SetProgramSelection(value); return *this;}
393 
394 
400  inline const RemixSettings& GetRemixSettings() const{ return m_remixSettings; }
401 
407  inline bool RemixSettingsHasBeenSet() const { return m_remixSettingsHasBeenSet; }
408 
414  inline void SetRemixSettings(const RemixSettings& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = value; }
415 
421  inline void SetRemixSettings(RemixSettings&& value) { m_remixSettingsHasBeenSet = true; m_remixSettings = std::move(value); }
422 
428  inline AudioSelector& WithRemixSettings(const RemixSettings& value) { SetRemixSettings(value); return *this;}
429 
435  inline AudioSelector& WithRemixSettings(RemixSettings&& value) { SetRemixSettings(std::move(value)); return *this;}
436 
437 
441  inline const AudioSelectorType& GetSelectorType() const{ return m_selectorType; }
442 
446  inline bool SelectorTypeHasBeenSet() const { return m_selectorTypeHasBeenSet; }
447 
451  inline void SetSelectorType(const AudioSelectorType& value) { m_selectorTypeHasBeenSet = true; m_selectorType = value; }
452 
456  inline void SetSelectorType(AudioSelectorType&& value) { m_selectorTypeHasBeenSet = true; m_selectorType = std::move(value); }
457 
461  inline AudioSelector& WithSelectorType(const AudioSelectorType& value) { SetSelectorType(value); return *this;}
462 
466  inline AudioSelector& WithSelectorType(AudioSelectorType&& value) { SetSelectorType(std::move(value)); return *this;}
467 
468 
477  inline const Aws::Vector<int>& GetTracks() const{ return m_tracks; }
478 
487  inline bool TracksHasBeenSet() const { return m_tracksHasBeenSet; }
488 
497  inline void SetTracks(const Aws::Vector<int>& value) { m_tracksHasBeenSet = true; m_tracks = value; }
498 
507  inline void SetTracks(Aws::Vector<int>&& value) { m_tracksHasBeenSet = true; m_tracks = std::move(value); }
508 
517  inline AudioSelector& WithTracks(const Aws::Vector<int>& value) { SetTracks(value); return *this;}
518 
527  inline AudioSelector& WithTracks(Aws::Vector<int>&& value) { SetTracks(std::move(value)); return *this;}
528 
537  inline AudioSelector& AddTracks(int value) { m_tracksHasBeenSet = true; m_tracks.push_back(value); return *this; }
538 
539  private:
540 
541  Aws::String m_customLanguageCode;
542  bool m_customLanguageCodeHasBeenSet;
543 
544  AudioDefaultSelection m_defaultSelection;
545  bool m_defaultSelectionHasBeenSet;
546 
547  Aws::String m_externalAudioFileInput;
548  bool m_externalAudioFileInputHasBeenSet;
549 
550  HlsRenditionGroupSettings m_hlsRenditionGroupSettings;
551  bool m_hlsRenditionGroupSettingsHasBeenSet;
552 
553  LanguageCode m_languageCode;
554  bool m_languageCodeHasBeenSet;
555 
556  int m_offset;
557  bool m_offsetHasBeenSet;
558 
559  Aws::Vector<int> m_pids;
560  bool m_pidsHasBeenSet;
561 
562  int m_programSelection;
563  bool m_programSelectionHasBeenSet;
564 
565  RemixSettings m_remixSettings;
566  bool m_remixSettingsHasBeenSet;
567 
568  AudioSelectorType m_selectorType;
569  bool m_selectorTypeHasBeenSet;
570 
571  Aws::Vector<int> m_tracks;
572  bool m_tracksHasBeenSet;
573  };
574 
575 } // namespace Model
576 } // namespace MediaConvert
577 } // namespace Aws
Aws::MediaConvert::Model::AudioSelector::WithTracks
AudioSelector & WithTracks(Aws::Vector< int > &&value)
Definition: AudioSelector.h:527
Aws::MediaConvert::Model::AudioSelector::WithProgramSelection
AudioSelector & WithProgramSelection(int value)
Definition: AudioSelector.h:392
Aws::MediaConvert::Model::AudioSelector::WithCustomLanguageCode
AudioSelector & WithCustomLanguageCode(const char *value)
Definition: AudioSelector.h:94
Aws::MediaConvert::Model::AudioSelector::SetExternalAudioFileInput
void SetExternalAudioFileInput(Aws::String &&value)
Definition: AudioSelector.h:158
HlsRenditionGroupSettings.h
Aws::MediaConvert::Model::AudioSelector::ProgramSelectionHasBeenSet
bool ProgramSelectionHasBeenSet() const
Definition: AudioSelector.h:366
Aws::MediaConvert::Model::AudioSelector::WithExternalAudioFileInput
AudioSelector & WithExternalAudioFileInput(const Aws::String &value)
Definition: AudioSelector.h:168
Aws::MediaConvert::Model::AudioSelector::WithLanguageCode
AudioSelector & WithLanguageCode(LanguageCode &&value)
Definition: AudioSelector.h:282
Aws::MediaConvert::Model::AudioSelector::DefaultSelectionHasBeenSet
bool DefaultSelectionHasBeenSet() const
Definition: AudioSelector.h:109
Aws::MediaConvert::Model::HlsRenditionGroupSettings
Definition: HlsRenditionGroupSettings.h:40
Aws::MediaConvert::Model::AudioSelector::WithDefaultSelection
AudioSelector & WithDefaultSelection(const AudioDefaultSelection &value)
Definition: AudioSelector.h:130
Aws::MediaConvert::Model::AudioSelector::SetSelectorType
void SetSelectorType(const AudioSelectorType &value)
Definition: AudioSelector.h:451
Aws::MediaConvert::Model::AudioSelector::GetProgramSelection
int GetProgramSelection() const
Definition: AudioSelector.h:353
Aws::MediaConvert::Model::AudioSelector::WithSelectorType
AudioSelector & WithSelectorType(const AudioSelectorType &value)
Definition: AudioSelector.h:461
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::AudioSelector::SetTracks
void SetTracks(const Aws::Vector< int > &value)
Definition: AudioSelector.h:497
Aws::MediaConvert::Model::AudioSelector::SetHlsRenditionGroupSettings
void SetHlsRenditionGroupSettings(HlsRenditionGroupSettings &&value)
Definition: AudioSelector.h:227
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::AudioSelector::WithOffset
AudioSelector & WithOffset(int value)
Definition: AudioSelector.h:303
AudioDefaultSelection.h
Aws::MediaConvert::Model::AudioSelector::WithRemixSettings
AudioSelector & WithRemixSettings(const RemixSettings &value)
Definition: AudioSelector.h:428
Aws::MediaConvert::Model::AudioSelector::AudioSelector
AudioSelector()
Aws::MediaConvert::Model::AudioSelector
Definition: AudioSelector.h:40
Aws::MediaConvert::Model::AudioSelector::PidsHasBeenSet
bool PidsHasBeenSet() const
Definition: AudioSelector.h:314
Aws::MediaConvert::Model::AudioSelector::SetExternalAudioFileInput
void SetExternalAudioFileInput(const Aws::String &value)
Definition: AudioSelector.h:153
Aws::MediaConvert::Model::AudioSelector::WithHlsRenditionGroupSettings
AudioSelector & WithHlsRenditionGroupSettings(HlsRenditionGroupSettings &&value)
Definition: AudioSelector.h:251
Aws::MediaConvert::Model::AudioSelector::WithPids
AudioSelector & WithPids(const Aws::Vector< int > &value)
Definition: AudioSelector.h:329
Aws::MediaConvert::Model::AudioSelector::WithCustomLanguageCode
AudioSelector & WithCustomLanguageCode(Aws::String &&value)
Definition: AudioSelector.h:88
Aws::MediaConvert::Model::AudioSelector::WithPids
AudioSelector & WithPids(Aws::Vector< int > &&value)
Definition: AudioSelector.h:334
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConvert::Model::AudioSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::AudioSelector::GetExternalAudioFileInput
const Aws::String & GetExternalAudioFileInput() const
Definition: AudioSelector.h:143
Aws::MediaConvert::Model::AudioSelector::WithRemixSettings
AudioSelector & WithRemixSettings(RemixSettings &&value)
Definition: AudioSelector.h:435
Aws::MediaConvert::Model::AudioSelector::OffsetHasBeenSet
bool OffsetHasBeenSet() const
Definition: AudioSelector.h:293
Aws::MediaConvert::Model::AudioSelector::WithSelectorType
AudioSelector & WithSelectorType(AudioSelectorType &&value)
Definition: AudioSelector.h:466
Aws::MediaConvert::Model::AudioSelector::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: AudioSelector.h:257
Aws::MediaConvert::Model::AudioSelector::ExternalAudioFileInputHasBeenSet
bool ExternalAudioFileInputHasBeenSet() const
Definition: AudioSelector.h:148
LanguageCode.h
AWSVector.h
Aws::MediaConvert::Model::AudioSelector::GetOffset
int GetOffset() const
Definition: AudioSelector.h:288
Aws::MediaConvert::Model::AudioSelector::SetHlsRenditionGroupSettings
void SetHlsRenditionGroupSettings(const HlsRenditionGroupSettings &value)
Definition: AudioSelector.h:215
Aws::MediaConvert::Model::AudioSelector::operator=
AudioSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::AudioSelector::SetCustomLanguageCode
void SetCustomLanguageCode(Aws::String &&value)
Definition: AudioSelector.h:70
Aws::MediaConvert::Model::AudioSelector::SetPids
void SetPids(Aws::Vector< int > &&value)
Definition: AudioSelector.h:324
Aws::MediaConvert::Model::AudioSelector::SelectorTypeHasBeenSet
bool SelectorTypeHasBeenSet() const
Definition: AudioSelector.h:446
Aws::MediaConvert::Model::AudioSelectorType
AudioSelectorType
Definition: AudioSelectorType.h:17
Aws::MediaConvert::Model::AudioSelector::SetDefaultSelection
void SetDefaultSelection(const AudioDefaultSelection &value)
Definition: AudioSelector.h:116
Aws::MediaConvert::Model::AudioSelector::WithCustomLanguageCode
AudioSelector & WithCustomLanguageCode(const Aws::String &value)
Definition: AudioSelector.h:82
Aws::MediaConvert::Model::AudioSelector::GetCustomLanguageCode
const Aws::String & GetCustomLanguageCode() const
Definition: AudioSelector.h:52
Aws::MediaConvert::Model::AudioSelector::HlsRenditionGroupSettingsHasBeenSet
bool HlsRenditionGroupSettingsHasBeenSet() const
Definition: AudioSelector.h:203
Aws::MediaConvert::Model::AudioSelector::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: AudioSelector.h:272
Aws::MediaConvert::Model::AudioSelector::GetSelectorType
const AudioSelectorType & GetSelectorType() const
Definition: AudioSelector.h:441
Aws::MediaConvert::Model::AudioSelector::TracksHasBeenSet
bool TracksHasBeenSet() const
Definition: AudioSelector.h:487
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::AudioSelector::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: AudioSelector.h:267
Aws::MediaConvert::Model::AudioSelector::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: AudioSelector.h:262
Aws::MediaConvert::Model::AudioSelector::WithDefaultSelection
AudioSelector & WithDefaultSelection(AudioDefaultSelection &&value)
Definition: AudioSelector.h:137
Aws::MediaConvert::Model::AudioSelector::GetPids
const Aws::Vector< int > & GetPids() const
Definition: AudioSelector.h:309
Aws::MediaConvert::Model::AudioSelector::RemixSettingsHasBeenSet
bool RemixSettingsHasBeenSet() const
Definition: AudioSelector.h:407
Aws::MediaConvert::Model::AudioSelector::SetPids
void SetPids(const Aws::Vector< int > &value)
Definition: AudioSelector.h:319
Aws::MediaConvert::Model::RemixSettings
Definition: RemixSettings.h:35
Aws::MediaConvert::Model::AudioSelector::AudioSelector
AudioSelector(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::AudioSelector::AddPids
AudioSelector & AddPids(int value)
Definition: AudioSelector.h:339
Aws::MediaConvert::Model::AudioSelector::CustomLanguageCodeHasBeenSet
bool CustomLanguageCodeHasBeenSet() const
Definition: AudioSelector.h:58
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::AudioSelector::GetRemixSettings
const RemixSettings & GetRemixSettings() const
Definition: AudioSelector.h:400
Aws::MediaConvert::Model::AudioSelector::WithExternalAudioFileInput
AudioSelector & WithExternalAudioFileInput(Aws::String &&value)
Definition: AudioSelector.h:173
Aws::MediaConvert::Model::AudioSelector::SetExternalAudioFileInput
void SetExternalAudioFileInput(const char *value)
Definition: AudioSelector.h:163
Aws::MediaConvert::Model::AudioSelector::SetProgramSelection
void SetProgramSelection(int value)
Definition: AudioSelector.h:379
Aws::MediaConvert::Model::AudioSelector::SetOffset
void SetOffset(int value)
Definition: AudioSelector.h:298
RemixSettings.h
Aws::MediaConvert::Model::AudioSelector::SetTracks
void SetTracks(Aws::Vector< int > &&value)
Definition: AudioSelector.h:507
Aws::MediaConvert::Model::AudioSelector::GetTracks
const Aws::Vector< int > & GetTracks() const
Definition: AudioSelector.h:477
Aws::MediaConvert::Model::AudioSelector::SetSelectorType
void SetSelectorType(AudioSelectorType &&value)
Definition: AudioSelector.h:456
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::AudioSelector::WithLanguageCode
AudioSelector & WithLanguageCode(const LanguageCode &value)
Definition: AudioSelector.h:277
Aws::MediaConvert::Model::AudioSelector::SetRemixSettings
void SetRemixSettings(const RemixSettings &value)
Definition: AudioSelector.h:414
Aws::MediaConvert::Model::AudioSelector::AddTracks
AudioSelector & AddTracks(int value)
Definition: AudioSelector.h:537
Aws::MediaConvert::Model::AudioSelector::WithExternalAudioFileInput
AudioSelector & WithExternalAudioFileInput(const char *value)
Definition: AudioSelector.h:178
Aws::MediaConvert::Model::AudioSelector::GetHlsRenditionGroupSettings
const HlsRenditionGroupSettings & GetHlsRenditionGroupSettings() const
Definition: AudioSelector.h:191
Aws::MediaConvert::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::MediaConvert::Model::AudioSelector::SetRemixSettings
void SetRemixSettings(RemixSettings &&value)
Definition: AudioSelector.h:421
Aws::MediaConvert::Model::AudioSelector::WithTracks
AudioSelector & WithTracks(const Aws::Vector< int > &value)
Definition: AudioSelector.h:517
Aws::MediaConvert::Model::AudioSelector::SetDefaultSelection
void SetDefaultSelection(AudioDefaultSelection &&value)
Definition: AudioSelector.h:123
AudioSelectorType.h
Aws::MediaConvert::Model::AudioSelector::WithHlsRenditionGroupSettings
AudioSelector & WithHlsRenditionGroupSettings(const HlsRenditionGroupSettings &value)
Definition: AudioSelector.h:239
Aws::MediaConvert::Model::AudioSelector::SetCustomLanguageCode
void SetCustomLanguageCode(const Aws::String &value)
Definition: AudioSelector.h:64
Aws::MediaConvert::Model::AudioSelector::GetDefaultSelection
const AudioDefaultSelection & GetDefaultSelection() const
Definition: AudioSelector.h:102
Aws::MediaConvert::Model::AudioDefaultSelection
AudioDefaultSelection
Definition: AudioDefaultSelection.h:17
Aws::MediaConvert::Model::AudioSelector::SetCustomLanguageCode
void SetCustomLanguageCode(const char *value)
Definition: AudioSelector.h:76