AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DynamicAudioSelector.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/LanguageCode.h>
11#include <aws/mediaconvert/model/DynamicAudioSelectorType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert
25{
26namespace Model
27{
28
41 {
42 public:
43 AWS_MEDIACONVERT_API DynamicAudioSelector() = default;
44 AWS_MEDIACONVERT_API DynamicAudioSelector(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
79 inline const Aws::String& GetExternalAudioFileInput() const { return m_externalAudioFileInput; }
80 inline bool ExternalAudioFileInputHasBeenSet() const { return m_externalAudioFileInputHasBeenSet; }
81 template<typename ExternalAudioFileInputT = Aws::String>
82 void SetExternalAudioFileInput(ExternalAudioFileInputT&& value) { m_externalAudioFileInputHasBeenSet = true; m_externalAudioFileInput = std::forward<ExternalAudioFileInputT>(value); }
83 template<typename ExternalAudioFileInputT = Aws::String>
84 DynamicAudioSelector& WithExternalAudioFileInput(ExternalAudioFileInputT&& value) { SetExternalAudioFileInput(std::forward<ExternalAudioFileInputT>(value)); return *this;}
86
88
94 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
95 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
96 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
97 inline DynamicAudioSelector& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
99
101
108 inline int GetOffset() const { return m_offset; }
109 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
110 inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
111 inline DynamicAudioSelector& WithOffset(int value) { SetOffset(value); return *this;}
113
115
122 inline DynamicAudioSelectorType GetSelectorType() const { return m_selectorType; }
123 inline bool SelectorTypeHasBeenSet() const { return m_selectorTypeHasBeenSet; }
124 inline void SetSelectorType(DynamicAudioSelectorType value) { m_selectorTypeHasBeenSet = true; m_selectorType = value; }
127 private:
128
130 bool m_audioDurationCorrectionHasBeenSet = false;
131
132 Aws::String m_externalAudioFileInput;
133 bool m_externalAudioFileInputHasBeenSet = false;
134
135 LanguageCode m_languageCode{LanguageCode::NOT_SET};
136 bool m_languageCodeHasBeenSet = false;
137
138 int m_offset{0};
139 bool m_offsetHasBeenSet = false;
140
142 bool m_selectorTypeHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MediaConvert
147} // namespace Aws
DynamicAudioSelector & WithSelectorType(DynamicAudioSelectorType value)
void SetAudioDurationCorrection(AudioDurationCorrection value)
DynamicAudioSelector & WithAudioDurationCorrection(AudioDurationCorrection value)
DynamicAudioSelector & WithExternalAudioFileInput(ExternalAudioFileInputT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExternalAudioFileInput(ExternalAudioFileInputT &&value)
DynamicAudioSelector & WithLanguageCode(LanguageCode value)
AWS_MEDIACONVERT_API DynamicAudioSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSelectorType(DynamicAudioSelectorType value)
AudioDurationCorrection GetAudioDurationCorrection() const
AWS_MEDIACONVERT_API DynamicAudioSelector(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API DynamicAudioSelector()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue