AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Av1Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Av1AdaptiveQuantization.h>
9#include <aws/mediaconvert/model/Av1BitDepth.h>
10#include <aws/mediaconvert/model/Av1FilmGrainSynthesis.h>
11#include <aws/mediaconvert/model/Av1FramerateControl.h>
12#include <aws/mediaconvert/model/Av1FramerateConversionAlgorithm.h>
13#include <aws/mediaconvert/model/Av1QvbrSettings.h>
14#include <aws/mediaconvert/model/Av1RateControlMode.h>
15#include <aws/mediaconvert/model/Av1SpatialAdaptiveQuantization.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_MEDIACONVERT_API Av1Settings();
43 AWS_MEDIACONVERT_API Av1Settings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Av1Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Av1AdaptiveQuantization& GetAdaptiveQuantization() const{ return m_adaptiveQuantization; }
54 inline bool AdaptiveQuantizationHasBeenSet() const { return m_adaptiveQuantizationHasBeenSet; }
55 inline void SetAdaptiveQuantization(const Av1AdaptiveQuantization& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = value; }
56 inline void SetAdaptiveQuantization(Av1AdaptiveQuantization&& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = std::move(value); }
58 inline Av1Settings& WithAdaptiveQuantization(Av1AdaptiveQuantization&& value) { SetAdaptiveQuantization(std::move(value)); return *this;}
60
62
65 inline const Av1BitDepth& GetBitDepth() const{ return m_bitDepth; }
66 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
67 inline void SetBitDepth(const Av1BitDepth& value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
68 inline void SetBitDepth(Av1BitDepth&& value) { m_bitDepthHasBeenSet = true; m_bitDepth = std::move(value); }
69 inline Av1Settings& WithBitDepth(const Av1BitDepth& value) { SetBitDepth(value); return *this;}
70 inline Av1Settings& WithBitDepth(Av1BitDepth&& value) { SetBitDepth(std::move(value)); return *this;}
72
74
82 inline const Av1FilmGrainSynthesis& GetFilmGrainSynthesis() const{ return m_filmGrainSynthesis; }
83 inline bool FilmGrainSynthesisHasBeenSet() const { return m_filmGrainSynthesisHasBeenSet; }
84 inline void SetFilmGrainSynthesis(const Av1FilmGrainSynthesis& value) { m_filmGrainSynthesisHasBeenSet = true; m_filmGrainSynthesis = value; }
85 inline void SetFilmGrainSynthesis(Av1FilmGrainSynthesis&& value) { m_filmGrainSynthesisHasBeenSet = true; m_filmGrainSynthesis = std::move(value); }
87 inline Av1Settings& WithFilmGrainSynthesis(Av1FilmGrainSynthesis&& value) { SetFilmGrainSynthesis(std::move(value)); return *this;}
89
91
99 inline const Av1FramerateControl& GetFramerateControl() const{ return m_framerateControl; }
100 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
101 inline void SetFramerateControl(const Av1FramerateControl& value) { m_framerateControlHasBeenSet = true; m_framerateControl = value; }
102 inline void SetFramerateControl(Av1FramerateControl&& value) { m_framerateControlHasBeenSet = true; m_framerateControl = std::move(value); }
103 inline Av1Settings& WithFramerateControl(const Av1FramerateControl& value) { SetFramerateControl(value); return *this;}
104 inline Av1Settings& WithFramerateControl(Av1FramerateControl&& value) { SetFramerateControl(std::move(value)); return *this;}
106
108
121 inline const Av1FramerateConversionAlgorithm& GetFramerateConversionAlgorithm() const{ return m_framerateConversionAlgorithm; }
122 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
123 inline void SetFramerateConversionAlgorithm(const Av1FramerateConversionAlgorithm& value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = value; }
124 inline void SetFramerateConversionAlgorithm(Av1FramerateConversionAlgorithm&& value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = std::move(value); }
128
130
138 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
139 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
140 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
141 inline Av1Settings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
143
145
153 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
154 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
155 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
156 inline Av1Settings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
158
160
165 inline double GetGopSize() const{ return m_gopSize; }
166 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
167 inline void SetGopSize(double value) { m_gopSizeHasBeenSet = true; m_gopSize = value; }
168 inline Av1Settings& WithGopSize(double value) { SetGopSize(value); return *this;}
170
172
176 inline int GetMaxBitrate() const{ return m_maxBitrate; }
177 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
178 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
179 inline Av1Settings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
181
183
188 inline int GetNumberBFramesBetweenReferenceFrames() const{ return m_numberBFramesBetweenReferenceFrames; }
189 inline bool NumberBFramesBetweenReferenceFramesHasBeenSet() const { return m_numberBFramesBetweenReferenceFramesHasBeenSet; }
190 inline void SetNumberBFramesBetweenReferenceFrames(int value) { m_numberBFramesBetweenReferenceFramesHasBeenSet = true; m_numberBFramesBetweenReferenceFrames = value; }
193
195
199 inline const Av1QvbrSettings& GetQvbrSettings() const{ return m_qvbrSettings; }
200 inline bool QvbrSettingsHasBeenSet() const { return m_qvbrSettingsHasBeenSet; }
201 inline void SetQvbrSettings(const Av1QvbrSettings& value) { m_qvbrSettingsHasBeenSet = true; m_qvbrSettings = value; }
202 inline void SetQvbrSettings(Av1QvbrSettings&& value) { m_qvbrSettingsHasBeenSet = true; m_qvbrSettings = std::move(value); }
203 inline Av1Settings& WithQvbrSettings(const Av1QvbrSettings& value) { SetQvbrSettings(value); return *this;}
204 inline Av1Settings& WithQvbrSettings(Av1QvbrSettings&& value) { SetQvbrSettings(std::move(value)); return *this;}
206
208
212 inline const Av1RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
213 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
214 inline void SetRateControlMode(const Av1RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
215 inline void SetRateControlMode(Av1RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
216 inline Av1Settings& WithRateControlMode(const Av1RateControlMode& value) { SetRateControlMode(value); return *this;}
217 inline Av1Settings& WithRateControlMode(Av1RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
219
221
227 inline int GetSlices() const{ return m_slices; }
228 inline bool SlicesHasBeenSet() const { return m_slicesHasBeenSet; }
229 inline void SetSlices(int value) { m_slicesHasBeenSet = true; m_slices = value; }
230 inline Av1Settings& WithSlices(int value) { SetSlices(value); return *this;}
232
234
250 inline const Av1SpatialAdaptiveQuantization& GetSpatialAdaptiveQuantization() const{ return m_spatialAdaptiveQuantization; }
251 inline bool SpatialAdaptiveQuantizationHasBeenSet() const { return m_spatialAdaptiveQuantizationHasBeenSet; }
252 inline void SetSpatialAdaptiveQuantization(const Av1SpatialAdaptiveQuantization& value) { m_spatialAdaptiveQuantizationHasBeenSet = true; m_spatialAdaptiveQuantization = value; }
253 inline void SetSpatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization&& value) { m_spatialAdaptiveQuantizationHasBeenSet = true; m_spatialAdaptiveQuantization = std::move(value); }
257 private:
258
259 Av1AdaptiveQuantization m_adaptiveQuantization;
260 bool m_adaptiveQuantizationHasBeenSet = false;
261
262 Av1BitDepth m_bitDepth;
263 bool m_bitDepthHasBeenSet = false;
264
265 Av1FilmGrainSynthesis m_filmGrainSynthesis;
266 bool m_filmGrainSynthesisHasBeenSet = false;
267
268 Av1FramerateControl m_framerateControl;
269 bool m_framerateControlHasBeenSet = false;
270
271 Av1FramerateConversionAlgorithm m_framerateConversionAlgorithm;
272 bool m_framerateConversionAlgorithmHasBeenSet = false;
273
274 int m_framerateDenominator;
275 bool m_framerateDenominatorHasBeenSet = false;
276
277 int m_framerateNumerator;
278 bool m_framerateNumeratorHasBeenSet = false;
279
280 double m_gopSize;
281 bool m_gopSizeHasBeenSet = false;
282
283 int m_maxBitrate;
284 bool m_maxBitrateHasBeenSet = false;
285
286 int m_numberBFramesBetweenReferenceFrames;
287 bool m_numberBFramesBetweenReferenceFramesHasBeenSet = false;
288
289 Av1QvbrSettings m_qvbrSettings;
290 bool m_qvbrSettingsHasBeenSet = false;
291
292 Av1RateControlMode m_rateControlMode;
293 bool m_rateControlModeHasBeenSet = false;
294
295 int m_slices;
296 bool m_slicesHasBeenSet = false;
297
298 Av1SpatialAdaptiveQuantization m_spatialAdaptiveQuantization;
299 bool m_spatialAdaptiveQuantizationHasBeenSet = false;
300 };
301
302} // namespace Model
303} // namespace MediaConvert
304} // namespace Aws
Av1Settings & WithRateControlMode(Av1RateControlMode &&value)
AWS_MEDIACONVERT_API Av1Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Av1Settings & WithFramerateDenominator(int value)
const Av1RateControlMode & GetRateControlMode() const
AWS_MEDIACONVERT_API Av1Settings(Aws::Utils::Json::JsonView jsonValue)
Av1Settings & WithMaxBitrate(int value)
Av1Settings & WithQvbrSettings(Av1QvbrSettings &&value)
void SetFramerateConversionAlgorithm(const Av1FramerateConversionAlgorithm &value)
Av1Settings & WithBitDepth(const Av1BitDepth &value)
Definition Av1Settings.h:69
void SetFramerateControl(Av1FramerateControl &&value)
void SetFramerateConversionAlgorithm(Av1FramerateConversionAlgorithm &&value)
bool NumberBFramesBetweenReferenceFramesHasBeenSet() const
Av1Settings & WithAdaptiveQuantization(Av1AdaptiveQuantization &&value)
Definition Av1Settings.h:58
Av1Settings & WithGopSize(double value)
Av1Settings & WithFramerateControl(const Av1FramerateControl &value)
void SetRateControlMode(Av1RateControlMode &&value)
Av1Settings & WithBitDepth(Av1BitDepth &&value)
Definition Av1Settings.h:70
void SetFramerateControl(const Av1FramerateControl &value)
void SetQvbrSettings(const Av1QvbrSettings &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNumberBFramesBetweenReferenceFrames(int value)
void SetSpatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization &&value)
Av1Settings & WithFilmGrainSynthesis(Av1FilmGrainSynthesis &&value)
Definition Av1Settings.h:87
const Av1FramerateControl & GetFramerateControl() const
Definition Av1Settings.h:99
const Av1SpatialAdaptiveQuantization & GetSpatialAdaptiveQuantization() const
Av1Settings & WithSpatialAdaptiveQuantization(const Av1SpatialAdaptiveQuantization &value)
const Av1QvbrSettings & GetQvbrSettings() const
void SetRateControlMode(const Av1RateControlMode &value)
const Av1FramerateConversionAlgorithm & GetFramerateConversionAlgorithm() const
Av1Settings & WithFilmGrainSynthesis(const Av1FilmGrainSynthesis &value)
Definition Av1Settings.h:86
const Av1FilmGrainSynthesis & GetFilmGrainSynthesis() const
Definition Av1Settings.h:82
Av1Settings & WithNumberBFramesBetweenReferenceFrames(int value)
Av1Settings & WithFramerateConversionAlgorithm(Av1FramerateConversionAlgorithm &&value)
Av1Settings & WithSlices(int value)
void SetBitDepth(const Av1BitDepth &value)
Definition Av1Settings.h:67
Av1Settings & WithAdaptiveQuantization(const Av1AdaptiveQuantization &value)
Definition Av1Settings.h:57
Av1Settings & WithRateControlMode(const Av1RateControlMode &value)
Av1Settings & WithFramerateNumerator(int value)
void SetBitDepth(Av1BitDepth &&value)
Definition Av1Settings.h:68
void SetSpatialAdaptiveQuantization(const Av1SpatialAdaptiveQuantization &value)
void SetQvbrSettings(Av1QvbrSettings &&value)
void SetFilmGrainSynthesis(const Av1FilmGrainSynthesis &value)
Definition Av1Settings.h:84
void SetAdaptiveQuantization(Av1AdaptiveQuantization &&value)
Definition Av1Settings.h:56
void SetFilmGrainSynthesis(Av1FilmGrainSynthesis &&value)
Definition Av1Settings.h:85
void SetAdaptiveQuantization(const Av1AdaptiveQuantization &value)
Definition Av1Settings.h:55
const Av1AdaptiveQuantization & GetAdaptiveQuantization() const
Definition Av1Settings.h:53
Av1Settings & WithQvbrSettings(const Av1QvbrSettings &value)
AWS_MEDIACONVERT_API Av1Settings()
Av1Settings & WithSpatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization &&value)
const Av1BitDepth & GetBitDepth() const
Definition Av1Settings.h:65
Av1Settings & WithFramerateConversionAlgorithm(const Av1FramerateConversionAlgorithm &value)
Av1Settings & WithFramerateControl(Av1FramerateControl &&value)
Aws::Utils::Json::JsonValue JsonValue