AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 Vp8Settings();
39 AWS_MEDIACONVERT_API Vp8Settings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Vp8Settings& 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 Vp8Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
54
56
64 inline const Vp8FramerateControl& GetFramerateControl() const{ return m_framerateControl; }
65 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
66 inline void SetFramerateControl(const Vp8FramerateControl& value) { m_framerateControlHasBeenSet = true; m_framerateControl = value; }
67 inline void SetFramerateControl(Vp8FramerateControl&& value) { m_framerateControlHasBeenSet = true; m_framerateControl = std::move(value); }
68 inline Vp8Settings& WithFramerateControl(const Vp8FramerateControl& value) { SetFramerateControl(value); return *this;}
69 inline Vp8Settings& WithFramerateControl(Vp8FramerateControl&& value) { SetFramerateControl(std::move(value)); return *this;}
71
73
86 inline const Vp8FramerateConversionAlgorithm& GetFramerateConversionAlgorithm() const{ return m_framerateConversionAlgorithm; }
87 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
88 inline void SetFramerateConversionAlgorithm(const Vp8FramerateConversionAlgorithm& value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = value; }
89 inline void SetFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm&& 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 Vp8Settings& 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 Vp8Settings& 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 Vp8Settings& 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 Vp8Settings& 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 Vp8Settings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
157
159
166 inline const Vp8ParControl& GetParControl() const{ return m_parControl; }
167 inline bool ParControlHasBeenSet() const { return m_parControlHasBeenSet; }
168 inline void SetParControl(const Vp8ParControl& value) { m_parControlHasBeenSet = true; m_parControl = value; }
169 inline void SetParControl(Vp8ParControl&& value) { m_parControlHasBeenSet = true; m_parControl = std::move(value); }
170 inline Vp8Settings& WithParControl(const Vp8ParControl& value) { SetParControl(value); return *this;}
171 inline Vp8Settings& WithParControl(Vp8ParControl&& value) { SetParControl(std::move(value)); return *this;}
173
175
182 inline int GetParDenominator() const{ return m_parDenominator; }
183 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
184 inline void SetParDenominator(int value) { m_parDenominatorHasBeenSet = true; m_parDenominator = value; }
185 inline Vp8Settings& WithParDenominator(int value) { SetParDenominator(value); return *this;}
187
189
196 inline int GetParNumerator() const{ return m_parNumerator; }
197 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
198 inline void SetParNumerator(int value) { m_parNumeratorHasBeenSet = true; m_parNumerator = value; }
199 inline Vp8Settings& WithParNumerator(int value) { SetParNumerator(value); return *this;}
201
203
208 inline const Vp8QualityTuningLevel& GetQualityTuningLevel() const{ return m_qualityTuningLevel; }
209 inline bool QualityTuningLevelHasBeenSet() const { return m_qualityTuningLevelHasBeenSet; }
210 inline void SetQualityTuningLevel(const Vp8QualityTuningLevel& value) { m_qualityTuningLevelHasBeenSet = true; m_qualityTuningLevel = value; }
211 inline void SetQualityTuningLevel(Vp8QualityTuningLevel&& value) { m_qualityTuningLevelHasBeenSet = true; m_qualityTuningLevel = std::move(value); }
213 inline Vp8Settings& WithQualityTuningLevel(Vp8QualityTuningLevel&& value) { SetQualityTuningLevel(std::move(value)); return *this;}
215
217
221 inline const Vp8RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
222 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
223 inline void SetRateControlMode(const Vp8RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
224 inline void SetRateControlMode(Vp8RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
225 inline Vp8Settings& WithRateControlMode(const Vp8RateControlMode& value) { SetRateControlMode(value); return *this;}
226 inline Vp8Settings& WithRateControlMode(Vp8RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
228 private:
229
230 int m_bitrate;
231 bool m_bitrateHasBeenSet = false;
232
233 Vp8FramerateControl m_framerateControl;
234 bool m_framerateControlHasBeenSet = false;
235
236 Vp8FramerateConversionAlgorithm m_framerateConversionAlgorithm;
237 bool m_framerateConversionAlgorithmHasBeenSet = false;
238
239 int m_framerateDenominator;
240 bool m_framerateDenominatorHasBeenSet = false;
241
242 int m_framerateNumerator;
243 bool m_framerateNumeratorHasBeenSet = false;
244
245 double m_gopSize;
246 bool m_gopSizeHasBeenSet = false;
247
248 int m_hrdBufferSize;
249 bool m_hrdBufferSizeHasBeenSet = false;
250
251 int m_maxBitrate;
252 bool m_maxBitrateHasBeenSet = false;
253
254 Vp8ParControl m_parControl;
255 bool m_parControlHasBeenSet = false;
256
257 int m_parDenominator;
258 bool m_parDenominatorHasBeenSet = false;
259
260 int m_parNumerator;
261 bool m_parNumeratorHasBeenSet = false;
262
263 Vp8QualityTuningLevel m_qualityTuningLevel;
264 bool m_qualityTuningLevelHasBeenSet = false;
265
266 Vp8RateControlMode m_rateControlMode;
267 bool m_rateControlModeHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace MediaConvert
272} // namespace Aws
Vp8Settings & WithFramerateConversionAlgorithm(const Vp8FramerateConversionAlgorithm &value)
Definition Vp8Settings.h:90
const Vp8FramerateControl & GetFramerateControl() const
Definition Vp8Settings.h:64
void SetFramerateControl(Vp8FramerateControl &&value)
Definition Vp8Settings.h:67
void SetFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm &&value)
Definition Vp8Settings.h:89
Vp8Settings & WithParControl(Vp8ParControl &&value)
Vp8Settings & WithQualityTuningLevel(const Vp8QualityTuningLevel &value)
Vp8Settings & WithParControl(const Vp8ParControl &value)
Vp8Settings & WithMaxBitrate(int value)
void SetFramerateConversionAlgorithm(const Vp8FramerateConversionAlgorithm &value)
Definition Vp8Settings.h:88
void SetParControl(Vp8ParControl &&value)
const Vp8FramerateConversionAlgorithm & GetFramerateConversionAlgorithm() const
Definition Vp8Settings.h:86
Vp8Settings & WithQualityTuningLevel(Vp8QualityTuningLevel &&value)
Vp8Settings & WithParDenominator(int value)
void SetRateControlMode(const Vp8RateControlMode &value)
Vp8Settings & WithFramerateNumerator(int value)
Vp8Settings & WithBitrate(int value)
Definition Vp8Settings.h:52
void SetQualityTuningLevel(Vp8QualityTuningLevel &&value)
Vp8Settings & WithParNumerator(int value)
AWS_MEDIACONVERT_API Vp8Settings(Aws::Utils::Json::JsonView jsonValue)
const Vp8QualityTuningLevel & GetQualityTuningLevel() const
AWS_MEDIACONVERT_API Vp8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Vp8Settings & WithFramerateControl(const Vp8FramerateControl &value)
Definition Vp8Settings.h:68
Vp8Settings & WithFramerateControl(Vp8FramerateControl &&value)
Definition Vp8Settings.h:69
const Vp8RateControlMode & GetRateControlMode() const
AWS_MEDIACONVERT_API Vp8Settings()
bool FramerateConversionAlgorithmHasBeenSet() const
Definition Vp8Settings.h:87
void SetParControl(const Vp8ParControl &value)
Vp8Settings & WithRateControlMode(const Vp8RateControlMode &value)
Vp8Settings & WithGopSize(double value)
void SetQualityTuningLevel(const Vp8QualityTuningLevel &value)
Vp8Settings & WithFramerateDenominator(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Vp8ParControl & GetParControl() const
Vp8Settings & WithRateControlMode(Vp8RateControlMode &&value)
void SetFramerateControl(const Vp8FramerateControl &value)
Definition Vp8Settings.h:66
Vp8Settings & WithFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm &&value)
Definition Vp8Settings.h:91
Vp8Settings & WithHrdBufferSize(int value)
void SetRateControlMode(Vp8RateControlMode &&value)
Aws::Utils::Json::JsonValue JsonValue