AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Vp8Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Vp8FramerateControl.h>
9#include <aws/mediaconvert/model/Vp8FramerateConversionAlgorithm.h>
10#include <aws/mediaconvert/model/Vp8ParControl.h>
11#include <aws/mediaconvert/model/Vp8QualityTuningLevel.h>
12#include <aws/mediaconvert/model/Vp8RateControlMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert {
24namespace Model {
25
32 public:
33 AWS_MEDIACONVERT_API Vp8Settings() = default;
34 AWS_MEDIACONVERT_API Vp8Settings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Vp8Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline int GetBitrate() const { return m_bitrate; }
44 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
45 inline void SetBitrate(int value) {
46 m_bitrateHasBeenSet = true;
47 m_bitrate = value;
48 }
49 inline Vp8Settings& WithBitrate(int value) {
50 SetBitrate(value);
51 return *this;
52 }
54
56
64 inline Vp8FramerateControl GetFramerateControl() const { return m_framerateControl; }
65 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
67 m_framerateControlHasBeenSet = true;
68 m_framerateControl = value;
69 }
72 return *this;
73 }
75
77
95 inline Vp8FramerateConversionAlgorithm GetFramerateConversionAlgorithm() const { return m_framerateConversionAlgorithm; }
96 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
98 m_framerateConversionAlgorithmHasBeenSet = true;
99 m_framerateConversionAlgorithm = value;
100 }
103 return *this;
104 }
106
108
116 inline int GetFramerateDenominator() const { return m_framerateDenominator; }
117 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
118 inline void SetFramerateDenominator(int value) {
119 m_framerateDenominatorHasBeenSet = true;
120 m_framerateDenominator = value;
121 }
124 return *this;
125 }
127
129
137 inline int GetFramerateNumerator() const { return m_framerateNumerator; }
138 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
139 inline void SetFramerateNumerator(int value) {
140 m_framerateNumeratorHasBeenSet = true;
141 m_framerateNumerator = value;
142 }
145 return *this;
146 }
148
150
153 inline double GetGopSize() const { return m_gopSize; }
154 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
155 inline void SetGopSize(double value) {
156 m_gopSizeHasBeenSet = true;
157 m_gopSize = value;
158 }
159 inline Vp8Settings& WithGopSize(double value) {
160 SetGopSize(value);
161 return *this;
162 }
164
166
170 inline int GetHrdBufferSize() const { return m_hrdBufferSize; }
171 inline bool HrdBufferSizeHasBeenSet() const { return m_hrdBufferSizeHasBeenSet; }
172 inline void SetHrdBufferSize(int value) {
173 m_hrdBufferSizeHasBeenSet = true;
174 m_hrdBufferSize = value;
175 }
176 inline Vp8Settings& WithHrdBufferSize(int value) {
177 SetHrdBufferSize(value);
178 return *this;
179 }
181
183
189 inline int GetMaxBitrate() const { return m_maxBitrate; }
190 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
191 inline void SetMaxBitrate(int value) {
192 m_maxBitrateHasBeenSet = true;
193 m_maxBitrate = value;
194 }
195 inline Vp8Settings& WithMaxBitrate(int value) {
196 SetMaxBitrate(value);
197 return *this;
198 }
200
202
209 inline Vp8ParControl GetParControl() const { return m_parControl; }
210 inline bool ParControlHasBeenSet() const { return m_parControlHasBeenSet; }
211 inline void SetParControl(Vp8ParControl value) {
212 m_parControlHasBeenSet = true;
213 m_parControl = value;
214 }
216 SetParControl(value);
217 return *this;
218 }
220
222
229 inline int GetParDenominator() const { return m_parDenominator; }
230 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
231 inline void SetParDenominator(int value) {
232 m_parDenominatorHasBeenSet = true;
233 m_parDenominator = value;
234 }
235 inline Vp8Settings& WithParDenominator(int value) {
236 SetParDenominator(value);
237 return *this;
238 }
240
242
249 inline int GetParNumerator() const { return m_parNumerator; }
250 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
251 inline void SetParNumerator(int value) {
252 m_parNumeratorHasBeenSet = true;
253 m_parNumerator = value;
254 }
255 inline Vp8Settings& WithParNumerator(int value) {
256 SetParNumerator(value);
257 return *this;
258 }
260
262
267 inline Vp8QualityTuningLevel GetQualityTuningLevel() const { return m_qualityTuningLevel; }
268 inline bool QualityTuningLevelHasBeenSet() const { return m_qualityTuningLevelHasBeenSet; }
270 m_qualityTuningLevelHasBeenSet = true;
271 m_qualityTuningLevel = value;
272 }
275 return *this;
276 }
278
280
284 inline Vp8RateControlMode GetRateControlMode() const { return m_rateControlMode; }
285 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
287 m_rateControlModeHasBeenSet = true;
288 m_rateControlMode = value;
289 }
291 SetRateControlMode(value);
292 return *this;
293 }
295 private:
296 int m_bitrate{0};
297
299
301
302 int m_framerateDenominator{0};
303
304 int m_framerateNumerator{0};
305
306 double m_gopSize{0.0};
307
308 int m_hrdBufferSize{0};
309
310 int m_maxBitrate{0};
311
313
314 int m_parDenominator{0};
315
316 int m_parNumerator{0};
317
319
321 bool m_bitrateHasBeenSet = false;
322 bool m_framerateControlHasBeenSet = false;
323 bool m_framerateConversionAlgorithmHasBeenSet = false;
324 bool m_framerateDenominatorHasBeenSet = false;
325 bool m_framerateNumeratorHasBeenSet = false;
326 bool m_gopSizeHasBeenSet = false;
327 bool m_hrdBufferSizeHasBeenSet = false;
328 bool m_maxBitrateHasBeenSet = false;
329 bool m_parControlHasBeenSet = false;
330 bool m_parDenominatorHasBeenSet = false;
331 bool m_parNumeratorHasBeenSet = false;
332 bool m_qualityTuningLevelHasBeenSet = false;
333 bool m_rateControlModeHasBeenSet = false;
334};
335
336} // namespace Model
337} // namespace MediaConvert
338} // namespace Aws
AWS_MEDIACONVERT_API Vp8Settings()=default
Vp8RateControlMode GetRateControlMode() const
void SetFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm value)
Definition Vp8Settings.h:97
Vp8Settings & WithMaxBitrate(int value)
Vp8Settings & WithRateControlMode(Vp8RateControlMode value)
void SetQualityTuningLevel(Vp8QualityTuningLevel value)
Vp8Settings & WithParDenominator(int value)
Vp8FramerateConversionAlgorithm GetFramerateConversionAlgorithm() const
Definition Vp8Settings.h:95
void SetRateControlMode(Vp8RateControlMode value)
Vp8Settings & WithFramerateNumerator(int value)
Vp8Settings & WithBitrate(int value)
Definition Vp8Settings.h:49
Vp8Settings & WithParNumerator(int value)
Vp8FramerateControl GetFramerateControl() const
Definition Vp8Settings.h:64
AWS_MEDIACONVERT_API Vp8Settings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Vp8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Vp8QualityTuningLevel GetQualityTuningLevel() const
void SetFramerateControl(Vp8FramerateControl value)
Definition Vp8Settings.h:66
Vp8Settings & WithParControl(Vp8ParControl value)
bool FramerateConversionAlgorithmHasBeenSet() const
Definition Vp8Settings.h:96
Vp8ParControl GetParControl() const
Vp8Settings & WithQualityTuningLevel(Vp8QualityTuningLevel value)
Vp8Settings & WithGopSize(double value)
Vp8Settings & WithFramerateControl(Vp8FramerateControl value)
Definition Vp8Settings.h:70
void SetParControl(Vp8ParControl value)
Vp8Settings & WithFramerateDenominator(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Vp8Settings & WithFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm value)
Vp8Settings & WithHrdBufferSize(int value)
Aws::Utils::Json::JsonValue JsonValue