AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConvert
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIACONVERT_API Vp9Settings();
39 AWS_MEDIACONVERT_API Vp9Settings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Vp9Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline int GetBitrate() const{ return m_bitrate; }
50 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
51 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
52 inline Vp9Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
54
56
64 inline const Vp9FramerateControl& GetFramerateControl() const{ return m_framerateControl; }
65 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
66 inline void SetFramerateControl(const Vp9FramerateControl& value) { m_framerateControlHasBeenSet = true; m_framerateControl = value; }
67 inline void SetFramerateControl(Vp9FramerateControl&& value) { m_framerateControlHasBeenSet = true; m_framerateControl = std::move(value); }
68 inline Vp9Settings& WithFramerateControl(const Vp9FramerateControl& value) { SetFramerateControl(value); return *this;}
69 inline Vp9Settings& WithFramerateControl(Vp9FramerateControl&& value) { SetFramerateControl(std::move(value)); return *this;}
71
73
86 inline const Vp9FramerateConversionAlgorithm& GetFramerateConversionAlgorithm() const{ return m_framerateConversionAlgorithm; }
87 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
88 inline void SetFramerateConversionAlgorithm(const Vp9FramerateConversionAlgorithm& value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = value; }
89 inline void SetFramerateConversionAlgorithm(Vp9FramerateConversionAlgorithm&& value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = std::move(value); }
93
95
103 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
104 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
105 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
106 inline Vp9Settings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
108
110
118 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
119 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
120 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
121 inline Vp9Settings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
123
125
128 inline double GetGopSize() const{ return m_gopSize; }
129 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
130 inline void SetGopSize(double value) { m_gopSizeHasBeenSet = true; m_gopSize = value; }
131 inline Vp9Settings& WithGopSize(double value) { SetGopSize(value); return *this;}
133
135
139 inline int GetHrdBufferSize() const{ return m_hrdBufferSize; }
140 inline bool HrdBufferSizeHasBeenSet() const { return m_hrdBufferSizeHasBeenSet; }
141 inline void SetHrdBufferSize(int value) { m_hrdBufferSizeHasBeenSet = true; m_hrdBufferSize = value; }
142 inline Vp9Settings& WithHrdBufferSize(int value) { SetHrdBufferSize(value); return *this;}
144
146
152 inline int GetMaxBitrate() const{ return m_maxBitrate; }
153 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
154 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
155 inline Vp9Settings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
157
159
164 inline const Vp9ParControl& GetParControl() const{ return m_parControl; }
165 inline bool ParControlHasBeenSet() const { return m_parControlHasBeenSet; }
166 inline void SetParControl(const Vp9ParControl& value) { m_parControlHasBeenSet = true; m_parControl = value; }
167 inline void SetParControl(Vp9ParControl&& value) { m_parControlHasBeenSet = true; m_parControl = std::move(value); }
168 inline Vp9Settings& WithParControl(const Vp9ParControl& value) { SetParControl(value); return *this;}
169 inline Vp9Settings& WithParControl(Vp9ParControl&& value) { SetParControl(std::move(value)); return *this;}
171
173
180 inline int GetParDenominator() const{ return m_parDenominator; }
181 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
182 inline void SetParDenominator(int value) { m_parDenominatorHasBeenSet = true; m_parDenominator = value; }
183 inline Vp9Settings& WithParDenominator(int value) { SetParDenominator(value); return *this;}
185
187
194 inline int GetParNumerator() const{ return m_parNumerator; }
195 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
196 inline void SetParNumerator(int value) { m_parNumeratorHasBeenSet = true; m_parNumerator = value; }
197 inline Vp9Settings& WithParNumerator(int value) { SetParNumerator(value); return *this;}
199
201
206 inline const Vp9QualityTuningLevel& GetQualityTuningLevel() const{ return m_qualityTuningLevel; }
207 inline bool QualityTuningLevelHasBeenSet() const { return m_qualityTuningLevelHasBeenSet; }
208 inline void SetQualityTuningLevel(const Vp9QualityTuningLevel& value) { m_qualityTuningLevelHasBeenSet = true; m_qualityTuningLevel = value; }
209 inline void SetQualityTuningLevel(Vp9QualityTuningLevel&& value) { m_qualityTuningLevelHasBeenSet = true; m_qualityTuningLevel = std::move(value); }
211 inline Vp9Settings& WithQualityTuningLevel(Vp9QualityTuningLevel&& value) { SetQualityTuningLevel(std::move(value)); return *this;}
213
215
219 inline const Vp9RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
220 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
221 inline void SetRateControlMode(const Vp9RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
222 inline void SetRateControlMode(Vp9RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
223 inline Vp9Settings& WithRateControlMode(const Vp9RateControlMode& value) { SetRateControlMode(value); return *this;}
224 inline Vp9Settings& WithRateControlMode(Vp9RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
226 private:
227
228 int m_bitrate;
229 bool m_bitrateHasBeenSet = false;
230
231 Vp9FramerateControl m_framerateControl;
232 bool m_framerateControlHasBeenSet = false;
233
234 Vp9FramerateConversionAlgorithm m_framerateConversionAlgorithm;
235 bool m_framerateConversionAlgorithmHasBeenSet = false;
236
237 int m_framerateDenominator;
238 bool m_framerateDenominatorHasBeenSet = false;
239
240 int m_framerateNumerator;
241 bool m_framerateNumeratorHasBeenSet = false;
242
243 double m_gopSize;
244 bool m_gopSizeHasBeenSet = false;
245
246 int m_hrdBufferSize;
247 bool m_hrdBufferSizeHasBeenSet = false;
248
249 int m_maxBitrate;
250 bool m_maxBitrateHasBeenSet = false;
251
252 Vp9ParControl m_parControl;
253 bool m_parControlHasBeenSet = false;
254
255 int m_parDenominator;
256 bool m_parDenominatorHasBeenSet = false;
257
258 int m_parNumerator;
259 bool m_parNumeratorHasBeenSet = false;
260
261 Vp9QualityTuningLevel m_qualityTuningLevel;
262 bool m_qualityTuningLevelHasBeenSet = false;
263
264 Vp9RateControlMode m_rateControlMode;
265 bool m_rateControlModeHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace MediaConvert
270} // namespace Aws
Vp9Settings & WithQualityTuningLevel(const Vp9QualityTuningLevel &value)
void SetParControl(const Vp9ParControl &value)
void SetParControl(Vp9ParControl &&value)
const Vp9ParControl & GetParControl() const
void SetRateControlMode(const Vp9RateControlMode &value)
AWS_MEDIACONVERT_API Vp9Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Vp9Settings & WithRateControlMode(Vp9RateControlMode &&value)
void SetFramerateConversionAlgorithm(Vp9FramerateConversionAlgorithm &&value)
Definition Vp9Settings.h:89
const Vp9FramerateControl & GetFramerateControl() const
Definition Vp9Settings.h:64
void SetQualityTuningLevel(Vp9QualityTuningLevel &&value)
Vp9Settings & WithFramerateConversionAlgorithm(const Vp9FramerateConversionAlgorithm &value)
Definition Vp9Settings.h:90
const Vp9QualityTuningLevel & GetQualityTuningLevel() const
Vp9Settings & WithBitrate(int value)
Definition Vp9Settings.h:52
Vp9Settings & WithParDenominator(int value)
void SetFramerateConversionAlgorithm(const Vp9FramerateConversionAlgorithm &value)
Definition Vp9Settings.h:88
Vp9Settings & WithQualityTuningLevel(Vp9QualityTuningLevel &&value)
bool FramerateConversionAlgorithmHasBeenSet() const
Definition Vp9Settings.h:87
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API Vp9Settings()
Vp9Settings & WithParNumerator(int value)
Vp9Settings & WithRateControlMode(const Vp9RateControlMode &value)
Vp9Settings & WithGopSize(double value)
void SetRateControlMode(Vp9RateControlMode &&value)
void SetFramerateControl(const Vp9FramerateControl &value)
Definition Vp9Settings.h:66
Vp9Settings & WithFramerateDenominator(int value)
Vp9Settings & WithParControl(const Vp9ParControl &value)
void SetFramerateControl(Vp9FramerateControl &&value)
Definition Vp9Settings.h:67
AWS_MEDIACONVERT_API Vp9Settings(Aws::Utils::Json::JsonView jsonValue)
Vp9Settings & WithParControl(Vp9ParControl &&value)
const Vp9FramerateConversionAlgorithm & GetFramerateConversionAlgorithm() const
Definition Vp9Settings.h:86
Vp9Settings & WithFramerateControl(Vp9FramerateControl &&value)
Definition Vp9Settings.h:69
Vp9Settings & WithFramerateConversionAlgorithm(Vp9FramerateConversionAlgorithm &&value)
Definition Vp9Settings.h:91
void SetQualityTuningLevel(const Vp9QualityTuningLevel &value)
Vp9Settings & WithMaxBitrate(int value)
Vp9Settings & WithHrdBufferSize(int value)
const Vp9RateControlMode & GetRateControlMode() const
Vp9Settings & WithFramerateControl(const Vp9FramerateControl &value)
Definition Vp9Settings.h:68
Vp9Settings & WithFramerateNumerator(int value)
Aws::Utils::Json::JsonValue JsonValue