AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DynamicAudioSelector.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/AudioDurationCorrection.h>
10#include <aws/mediaconvert/model/DynamicAudioSelectorType.h>
11#include <aws/mediaconvert/model/LanguageCode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert {
23namespace Model {
24
37 public:
38 AWS_MEDIACONVERT_API DynamicAudioSelector() = default;
39 AWS_MEDIACONVERT_API DynamicAudioSelector(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
63 inline AudioDurationCorrection GetAudioDurationCorrection() const { return m_audioDurationCorrection; }
64 inline bool AudioDurationCorrectionHasBeenSet() const { return m_audioDurationCorrectionHasBeenSet; }
66 m_audioDurationCorrectionHasBeenSet = true;
67 m_audioDurationCorrection = value;
68 }
71 return *this;
72 }
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) {
83 m_externalAudioFileInputHasBeenSet = true;
84 m_externalAudioFileInput = std::forward<ExternalAudioFileInputT>(value);
85 }
86 template <typename ExternalAudioFileInputT = Aws::String>
87 DynamicAudioSelector& WithExternalAudioFileInput(ExternalAudioFileInputT&& value) {
88 SetExternalAudioFileInput(std::forward<ExternalAudioFileInputT>(value));
89 return *this;
90 }
92
94
99 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
100 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
101 inline void SetLanguageCode(LanguageCode value) {
102 m_languageCodeHasBeenSet = true;
103 m_languageCode = value;
104 }
106 SetLanguageCode(value);
107 return *this;
108 }
110
112
119 inline int GetOffset() const { return m_offset; }
120 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
121 inline void SetOffset(int value) {
122 m_offsetHasBeenSet = true;
123 m_offset = value;
124 }
125 inline DynamicAudioSelector& WithOffset(int value) {
126 SetOffset(value);
127 return *this;
128 }
130
132
139 inline DynamicAudioSelectorType GetSelectorType() const { return m_selectorType; }
140 inline bool SelectorTypeHasBeenSet() const { return m_selectorTypeHasBeenSet; }
142 m_selectorTypeHasBeenSet = true;
143 m_selectorType = value;
144 }
146 SetSelectorType(value);
147 return *this;
148 }
150 private:
152
153 Aws::String m_externalAudioFileInput;
154
155 LanguageCode m_languageCode{LanguageCode::NOT_SET};
156
157 int m_offset{0};
158
160 bool m_audioDurationCorrectionHasBeenSet = false;
161 bool m_externalAudioFileInputHasBeenSet = false;
162 bool m_languageCodeHasBeenSet = false;
163 bool m_offsetHasBeenSet = false;
164 bool m_selectorTypeHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace MediaConvert
169} // 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