AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Vp9Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Vp9FramerateControl.h>
9#include <aws/mediaconvert/model/Vp9FramerateConversionAlgorithm.h>
10#include <aws/mediaconvert/model/Vp9ParControl.h>
11#include <aws/mediaconvert/model/Vp9QualityTuningLevel.h>
12#include <aws/mediaconvert/model/Vp9RateControlMode.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 Vp9Settings() = default;
34 AWS_MEDIACONVERT_API Vp9Settings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Vp9Settings& 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 Vp9Settings& WithBitrate(int value) {
50 SetBitrate(value);
51 return *this;
52 }
54
56
64 inline Vp9FramerateControl 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 Vp9FramerateConversionAlgorithm 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 Vp9Settings& 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 Vp9Settings& 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 Vp9Settings& WithMaxBitrate(int value) {
196 SetMaxBitrate(value);
197 return *this;
198 }
200
202
207 inline Vp9ParControl GetParControl() const { return m_parControl; }
208 inline bool ParControlHasBeenSet() const { return m_parControlHasBeenSet; }
209 inline void SetParControl(Vp9ParControl value) {
210 m_parControlHasBeenSet = true;
211 m_parControl = value;
212 }
214 SetParControl(value);
215 return *this;
216 }
218
220
227 inline int GetParDenominator() const { return m_parDenominator; }
228 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
229 inline void SetParDenominator(int value) {
230 m_parDenominatorHasBeenSet = true;
231 m_parDenominator = value;
232 }
233 inline Vp9Settings& WithParDenominator(int value) {
234 SetParDenominator(value);
235 return *this;
236 }
238
240
247 inline int GetParNumerator() const { return m_parNumerator; }
248 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
249 inline void SetParNumerator(int value) {
250 m_parNumeratorHasBeenSet = true;
251 m_parNumerator = value;
252 }
253 inline Vp9Settings& WithParNumerator(int value) {
254 SetParNumerator(value);
255 return *this;
256 }
258
260
265 inline Vp9QualityTuningLevel GetQualityTuningLevel() const { return m_qualityTuningLevel; }
266 inline bool QualityTuningLevelHasBeenSet() const { return m_qualityTuningLevelHasBeenSet; }
268 m_qualityTuningLevelHasBeenSet = true;
269 m_qualityTuningLevel = value;
270 }
273 return *this;
274 }
276
278
282 inline Vp9RateControlMode GetRateControlMode() const { return m_rateControlMode; }
283 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
285 m_rateControlModeHasBeenSet = true;
286 m_rateControlMode = value;
287 }
289 SetRateControlMode(value);
290 return *this;
291 }
293 private:
294 int m_bitrate{0};
295
297
299
300 int m_framerateDenominator{0};
301
302 int m_framerateNumerator{0};
303
304 double m_gopSize{0.0};
305
306 int m_hrdBufferSize{0};
307
308 int m_maxBitrate{0};
309
311
312 int m_parDenominator{0};
313
314 int m_parNumerator{0};
315
317
319 bool m_bitrateHasBeenSet = false;
320 bool m_framerateControlHasBeenSet = false;
321 bool m_framerateConversionAlgorithmHasBeenSet = false;
322 bool m_framerateDenominatorHasBeenSet = false;
323 bool m_framerateNumeratorHasBeenSet = false;
324 bool m_gopSizeHasBeenSet = false;
325 bool m_hrdBufferSizeHasBeenSet = false;
326 bool m_maxBitrateHasBeenSet = false;
327 bool m_parControlHasBeenSet = false;
328 bool m_parDenominatorHasBeenSet = false;
329 bool m_parNumeratorHasBeenSet = false;
330 bool m_qualityTuningLevelHasBeenSet = false;
331 bool m_rateControlModeHasBeenSet = false;
332};
333
334} // namespace Model
335} // namespace MediaConvert
336} // namespace Aws
AWS_MEDIACONVERT_API Vp9Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Vp9Settings & WithParControl(Vp9ParControl value)
void SetFramerateControl(Vp9FramerateControl value)
Definition Vp9Settings.h:66
Vp9Settings & WithBitrate(int value)
Definition Vp9Settings.h:49
Vp9Settings & WithParDenominator(int value)
bool FramerateConversionAlgorithmHasBeenSet() const
Definition Vp9Settings.h:96
void SetParControl(Vp9ParControl value)
Vp9Settings & WithQualityTuningLevel(Vp9QualityTuningLevel value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Vp9Settings & WithParNumerator(int value)
Vp9FramerateConversionAlgorithm GetFramerateConversionAlgorithm() const
Definition Vp9Settings.h:95
Vp9FramerateControl GetFramerateControl() const
Definition Vp9Settings.h:64
Vp9ParControl GetParControl() const
Vp9Settings & WithGopSize(double value)
Vp9Settings & WithFramerateConversionAlgorithm(Vp9FramerateConversionAlgorithm value)
Vp9Settings & WithFramerateDenominator(int value)
AWS_MEDIACONVERT_API Vp9Settings()=default
Vp9Settings & WithFramerateControl(Vp9FramerateControl value)
Definition Vp9Settings.h:70
Vp9Settings & WithRateControlMode(Vp9RateControlMode value)
AWS_MEDIACONVERT_API Vp9Settings(Aws::Utils::Json::JsonView jsonValue)
void SetRateControlMode(Vp9RateControlMode value)
Vp9RateControlMode GetRateControlMode() const
Vp9QualityTuningLevel GetQualityTuningLevel() const
Vp9Settings & WithMaxBitrate(int value)
Vp9Settings & WithHrdBufferSize(int value)
Vp9Settings & WithFramerateNumerator(int value)
void SetFramerateConversionAlgorithm(Vp9FramerateConversionAlgorithm value)
Definition Vp9Settings.h:97
void SetQualityTuningLevel(Vp9QualityTuningLevel value)
Aws::Utils::Json::JsonValue JsonValue