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/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AfdSignaling.h>
9#include <aws/medialive/model/Av1ColorSpaceSettings.h>
10#include <aws/medialive/model/FixedAfd.h>
11#include <aws/medialive/model/Av1GopSizeUnits.h>
12#include <aws/medialive/model/Av1Level.h>
13#include <aws/medialive/model/Av1LookAheadRateControl.h>
14#include <aws/medialive/model/Av1SceneChangeDetect.h>
15#include <aws/medialive/model/TimecodeBurninSettings.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 MediaLive
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_MEDIALIVE_API Av1Settings();
42 AWS_MEDIALIVE_API Av1Settings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Av1Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
57 inline const AfdSignaling& GetAfdSignaling() const{ return m_afdSignaling; }
58 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
59 inline void SetAfdSignaling(const AfdSignaling& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = value; }
60 inline void SetAfdSignaling(AfdSignaling&& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = std::move(value); }
61 inline Av1Settings& WithAfdSignaling(const AfdSignaling& value) { SetAfdSignaling(value); return *this;}
62 inline Av1Settings& WithAfdSignaling(AfdSignaling&& value) { SetAfdSignaling(std::move(value)); return *this;}
64
66
69 inline int GetBufSize() const{ return m_bufSize; }
70 inline bool BufSizeHasBeenSet() const { return m_bufSizeHasBeenSet; }
71 inline void SetBufSize(int value) { m_bufSizeHasBeenSet = true; m_bufSize = value; }
72 inline Av1Settings& WithBufSize(int value) { SetBufSize(value); return *this;}
74
76
79 inline const Av1ColorSpaceSettings& GetColorSpaceSettings() const{ return m_colorSpaceSettings; }
80 inline bool ColorSpaceSettingsHasBeenSet() const { return m_colorSpaceSettingsHasBeenSet; }
81 inline void SetColorSpaceSettings(const Av1ColorSpaceSettings& value) { m_colorSpaceSettingsHasBeenSet = true; m_colorSpaceSettings = value; }
82 inline void SetColorSpaceSettings(Av1ColorSpaceSettings&& value) { m_colorSpaceSettingsHasBeenSet = true; m_colorSpaceSettings = std::move(value); }
84 inline Av1Settings& WithColorSpaceSettings(Av1ColorSpaceSettings&& value) { SetColorSpaceSettings(std::move(value)); return *this;}
86
88
92 inline const FixedAfd& GetFixedAfd() const{ return m_fixedAfd; }
93 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
94 inline void SetFixedAfd(const FixedAfd& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = value; }
95 inline void SetFixedAfd(FixedAfd&& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = std::move(value); }
96 inline Av1Settings& WithFixedAfd(const FixedAfd& value) { SetFixedAfd(value); return *this;}
97 inline Av1Settings& WithFixedAfd(FixedAfd&& value) { SetFixedAfd(std::move(value)); return *this;}
99
101
105 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
106 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
107 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
108 inline Av1Settings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
110
112
116 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
117 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
118 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
119 inline Av1Settings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
121
123
130 inline double GetGopSize() const{ return m_gopSize; }
131 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
132 inline void SetGopSize(double value) { m_gopSizeHasBeenSet = true; m_gopSize = value; }
133 inline Av1Settings& WithGopSize(double value) { SetGopSize(value); return *this;}
135
137
141 inline const Av1GopSizeUnits& GetGopSizeUnits() const{ return m_gopSizeUnits; }
142 inline bool GopSizeUnitsHasBeenSet() const { return m_gopSizeUnitsHasBeenSet; }
143 inline void SetGopSizeUnits(const Av1GopSizeUnits& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = value; }
144 inline void SetGopSizeUnits(Av1GopSizeUnits&& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = std::move(value); }
145 inline Av1Settings& WithGopSizeUnits(const Av1GopSizeUnits& value) { SetGopSizeUnits(value); return *this;}
146 inline Av1Settings& WithGopSizeUnits(Av1GopSizeUnits&& value) { SetGopSizeUnits(std::move(value)); return *this;}
148
150
154 inline const Av1Level& GetLevel() const{ return m_level; }
155 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
156 inline void SetLevel(const Av1Level& value) { m_levelHasBeenSet = true; m_level = value; }
157 inline void SetLevel(Av1Level&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
158 inline Av1Settings& WithLevel(const Av1Level& value) { SetLevel(value); return *this;}
159 inline Av1Settings& WithLevel(Av1Level&& value) { SetLevel(std::move(value)); return *this;}
161
163
167 inline const Av1LookAheadRateControl& GetLookAheadRateControl() const{ return m_lookAheadRateControl; }
168 inline bool LookAheadRateControlHasBeenSet() const { return m_lookAheadRateControlHasBeenSet; }
169 inline void SetLookAheadRateControl(const Av1LookAheadRateControl& value) { m_lookAheadRateControlHasBeenSet = true; m_lookAheadRateControl = value; }
170 inline void SetLookAheadRateControl(Av1LookAheadRateControl&& value) { m_lookAheadRateControlHasBeenSet = true; m_lookAheadRateControl = std::move(value); }
172 inline Av1Settings& WithLookAheadRateControl(Av1LookAheadRateControl&& value) { SetLookAheadRateControl(std::move(value)); return *this;}
174
176
181 inline int GetMaxBitrate() const{ return m_maxBitrate; }
182 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
183 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
184 inline Av1Settings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
186
188
201 inline int GetMinIInterval() const{ return m_minIInterval; }
202 inline bool MinIIntervalHasBeenSet() const { return m_minIIntervalHasBeenSet; }
203 inline void SetMinIInterval(int value) { m_minIIntervalHasBeenSet = true; m_minIInterval = value; }
204 inline Av1Settings& WithMinIInterval(int value) { SetMinIInterval(value); return *this;}
206
208
211 inline int GetParDenominator() const{ return m_parDenominator; }
212 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
213 inline void SetParDenominator(int value) { m_parDenominatorHasBeenSet = true; m_parDenominator = value; }
214 inline Av1Settings& WithParDenominator(int value) { SetParDenominator(value); return *this;}
216
218
221 inline int GetParNumerator() const{ return m_parNumerator; }
222 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
223 inline void SetParNumerator(int value) { m_parNumeratorHasBeenSet = true; m_parNumerator = value; }
224 inline Av1Settings& WithParNumerator(int value) { SetParNumerator(value); return *this;}
226
228
251 inline int GetQvbrQualityLevel() const{ return m_qvbrQualityLevel; }
252 inline bool QvbrQualityLevelHasBeenSet() const { return m_qvbrQualityLevelHasBeenSet; }
253 inline void SetQvbrQualityLevel(int value) { m_qvbrQualityLevelHasBeenSet = true; m_qvbrQualityLevel = value; }
254 inline Av1Settings& WithQvbrQualityLevel(int value) { SetQvbrQualityLevel(value); return *this;}
256
258
262 inline const Av1SceneChangeDetect& GetSceneChangeDetect() const{ return m_sceneChangeDetect; }
263 inline bool SceneChangeDetectHasBeenSet() const { return m_sceneChangeDetectHasBeenSet; }
264 inline void SetSceneChangeDetect(const Av1SceneChangeDetect& value) { m_sceneChangeDetectHasBeenSet = true; m_sceneChangeDetect = value; }
265 inline void SetSceneChangeDetect(Av1SceneChangeDetect&& value) { m_sceneChangeDetectHasBeenSet = true; m_sceneChangeDetect = std::move(value); }
266 inline Av1Settings& WithSceneChangeDetect(const Av1SceneChangeDetect& value) { SetSceneChangeDetect(value); return *this;}
267 inline Av1Settings& WithSceneChangeDetect(Av1SceneChangeDetect&& value) { SetSceneChangeDetect(std::move(value)); return *this;}
269
271
275 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const{ return m_timecodeBurninSettings; }
276 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
277 inline void SetTimecodeBurninSettings(const TimecodeBurninSettings& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = value; }
278 inline void SetTimecodeBurninSettings(TimecodeBurninSettings&& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = std::move(value); }
282 private:
283
284 AfdSignaling m_afdSignaling;
285 bool m_afdSignalingHasBeenSet = false;
286
287 int m_bufSize;
288 bool m_bufSizeHasBeenSet = false;
289
290 Av1ColorSpaceSettings m_colorSpaceSettings;
291 bool m_colorSpaceSettingsHasBeenSet = false;
292
293 FixedAfd m_fixedAfd;
294 bool m_fixedAfdHasBeenSet = false;
295
296 int m_framerateDenominator;
297 bool m_framerateDenominatorHasBeenSet = false;
298
299 int m_framerateNumerator;
300 bool m_framerateNumeratorHasBeenSet = false;
301
302 double m_gopSize;
303 bool m_gopSizeHasBeenSet = false;
304
305 Av1GopSizeUnits m_gopSizeUnits;
306 bool m_gopSizeUnitsHasBeenSet = false;
307
308 Av1Level m_level;
309 bool m_levelHasBeenSet = false;
310
311 Av1LookAheadRateControl m_lookAheadRateControl;
312 bool m_lookAheadRateControlHasBeenSet = false;
313
314 int m_maxBitrate;
315 bool m_maxBitrateHasBeenSet = false;
316
317 int m_minIInterval;
318 bool m_minIIntervalHasBeenSet = false;
319
320 int m_parDenominator;
321 bool m_parDenominatorHasBeenSet = false;
322
323 int m_parNumerator;
324 bool m_parNumeratorHasBeenSet = false;
325
326 int m_qvbrQualityLevel;
327 bool m_qvbrQualityLevelHasBeenSet = false;
328
329 Av1SceneChangeDetect m_sceneChangeDetect;
330 bool m_sceneChangeDetectHasBeenSet = false;
331
332 TimecodeBurninSettings m_timecodeBurninSettings;
333 bool m_timecodeBurninSettingsHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace MediaLive
338} // namespace Aws
Av1Settings & WithSceneChangeDetect(const Av1SceneChangeDetect &value)
Av1Settings & WithGopSizeUnits(Av1GopSizeUnits &&value)
Av1Settings & WithTimecodeBurninSettings(TimecodeBurninSettings &&value)
void SetGopSizeUnits(Av1GopSizeUnits &&value)
Av1Settings & WithTimecodeBurninSettings(const TimecodeBurninSettings &value)
const Av1SceneChangeDetect & GetSceneChangeDetect() const
Av1Settings & WithLevel(const Av1Level &value)
void SetFixedAfd(const FixedAfd &value)
Definition Av1Settings.h:94
Av1Settings & WithColorSpaceSettings(Av1ColorSpaceSettings &&value)
Definition Av1Settings.h:84
void SetColorSpaceSettings(Av1ColorSpaceSettings &&value)
Definition Av1Settings.h:82
const Av1LookAheadRateControl & GetLookAheadRateControl() const
AWS_MEDIALIVE_API Av1Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Av1Settings & WithParDenominator(int value)
Av1Settings & WithColorSpaceSettings(const Av1ColorSpaceSettings &value)
Definition Av1Settings.h:83
void SetAfdSignaling(const AfdSignaling &value)
Definition Av1Settings.h:59
Av1Settings & WithGopSizeUnits(const Av1GopSizeUnits &value)
const Av1ColorSpaceSettings & GetColorSpaceSettings() const
Definition Av1Settings.h:79
Av1Settings & WithAfdSignaling(const AfdSignaling &value)
Definition Av1Settings.h:61
Av1Settings & WithFramerateNumerator(int value)
Av1Settings & WithSceneChangeDetect(Av1SceneChangeDetect &&value)
void SetLookAheadRateControl(const Av1LookAheadRateControl &value)
Av1Settings & WithBufSize(int value)
Definition Av1Settings.h:72
const FixedAfd & GetFixedAfd() const
Definition Av1Settings.h:92
Av1Settings & WithParNumerator(int value)
Av1Settings & WithLevel(Av1Level &&value)
Av1Settings & WithAfdSignaling(AfdSignaling &&value)
Definition Av1Settings.h:62
Av1Settings & WithMaxBitrate(int value)
AWS_MEDIALIVE_API Av1Settings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAfdSignaling(AfdSignaling &&value)
Definition Av1Settings.h:60
void SetFixedAfd(FixedAfd &&value)
Definition Av1Settings.h:95
const TimecodeBurninSettings & GetTimecodeBurninSettings() const
void SetSceneChangeDetect(Av1SceneChangeDetect &&value)
Av1Settings & WithQvbrQualityLevel(int value)
void SetTimecodeBurninSettings(const TimecodeBurninSettings &value)
void SetSceneChangeDetect(const Av1SceneChangeDetect &value)
void SetLookAheadRateControl(Av1LookAheadRateControl &&value)
Av1Settings & WithLookAheadRateControl(Av1LookAheadRateControl &&value)
Av1Settings & WithFixedAfd(const FixedAfd &value)
Definition Av1Settings.h:96
const AfdSignaling & GetAfdSignaling() const
Definition Av1Settings.h:57
Av1Settings & WithFramerateDenominator(int value)
Av1Settings & WithFixedAfd(FixedAfd &&value)
Definition Av1Settings.h:97
void SetColorSpaceSettings(const Av1ColorSpaceSettings &value)
Definition Av1Settings.h:81
const Av1Level & GetLevel() const
Av1Settings & WithMinIInterval(int value)
void SetGopSizeUnits(const Av1GopSizeUnits &value)
void SetLevel(Av1Level &&value)
void SetLevel(const Av1Level &value)
const Av1GopSizeUnits & GetGopSizeUnits() const
void SetTimecodeBurninSettings(TimecodeBurninSettings &&value)
Av1Settings & WithLookAheadRateControl(const Av1LookAheadRateControl &value)
Av1Settings & WithGopSize(double value)
Aws::Utils::Json::JsonValue JsonValue