AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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/Av1BitDepth.h>
10#include <aws/medialive/model/Av1ColorSpaceSettings.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/Av1RateControlMode.h>
15#include <aws/medialive/model/Av1SceneChangeDetect.h>
16#include <aws/medialive/model/Av1SpatialAq.h>
17#include <aws/medialive/model/Av1TemporalAq.h>
18#include <aws/medialive/model/Av1TimecodeInsertionBehavior.h>
19#include <aws/medialive/model/FixedAfd.h>
20#include <aws/medialive/model/TimecodeBurninSettings.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive {
32namespace Model {
33
40 public:
41 AWS_MEDIALIVE_API Av1Settings() = default;
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
47
56 inline AfdSignaling GetAfdSignaling() const { return m_afdSignaling; }
57 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
58 inline void SetAfdSignaling(AfdSignaling value) {
59 m_afdSignalingHasBeenSet = true;
60 m_afdSignaling = value;
61 }
63 SetAfdSignaling(value);
64 return *this;
65 }
67
69
72 inline int GetBufSize() const { return m_bufSize; }
73 inline bool BufSizeHasBeenSet() const { return m_bufSizeHasBeenSet; }
74 inline void SetBufSize(int value) {
75 m_bufSizeHasBeenSet = true;
76 m_bufSize = value;
77 }
78 inline Av1Settings& WithBufSize(int value) {
79 SetBufSize(value);
80 return *this;
81 }
83
85
89 inline const Av1ColorSpaceSettings& GetColorSpaceSettings() const { return m_colorSpaceSettings; }
90 inline bool ColorSpaceSettingsHasBeenSet() const { return m_colorSpaceSettingsHasBeenSet; }
91 template <typename ColorSpaceSettingsT = Av1ColorSpaceSettings>
92 void SetColorSpaceSettings(ColorSpaceSettingsT&& value) {
93 m_colorSpaceSettingsHasBeenSet = true;
94 m_colorSpaceSettings = std::forward<ColorSpaceSettingsT>(value);
95 }
96 template <typename ColorSpaceSettingsT = Av1ColorSpaceSettings>
97 Av1Settings& WithColorSpaceSettings(ColorSpaceSettingsT&& value) {
98 SetColorSpaceSettings(std::forward<ColorSpaceSettingsT>(value));
99 return *this;
100 }
102
104
108 inline FixedAfd GetFixedAfd() const { return m_fixedAfd; }
109 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
110 inline void SetFixedAfd(FixedAfd value) {
111 m_fixedAfdHasBeenSet = true;
112 m_fixedAfd = value;
113 }
115 SetFixedAfd(value);
116 return *this;
117 }
119
121
125 inline int GetFramerateDenominator() const { return m_framerateDenominator; }
126 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
127 inline void SetFramerateDenominator(int value) {
128 m_framerateDenominatorHasBeenSet = true;
129 m_framerateDenominator = value;
130 }
133 return *this;
134 }
136
138
142 inline int GetFramerateNumerator() const { return m_framerateNumerator; }
143 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
144 inline void SetFramerateNumerator(int value) {
145 m_framerateNumeratorHasBeenSet = true;
146 m_framerateNumerator = value;
147 }
150 return *this;
151 }
153
155
162 inline double GetGopSize() const { return m_gopSize; }
163 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
164 inline void SetGopSize(double value) {
165 m_gopSizeHasBeenSet = true;
166 m_gopSize = value;
167 }
168 inline Av1Settings& WithGopSize(double value) {
169 SetGopSize(value);
170 return *this;
171 }
173
175
179 inline Av1GopSizeUnits GetGopSizeUnits() const { return m_gopSizeUnits; }
180 inline bool GopSizeUnitsHasBeenSet() const { return m_gopSizeUnitsHasBeenSet; }
181 inline void SetGopSizeUnits(Av1GopSizeUnits value) {
182 m_gopSizeUnitsHasBeenSet = true;
183 m_gopSizeUnits = value;
184 }
186 SetGopSizeUnits(value);
187 return *this;
188 }
190
192
196 inline Av1Level GetLevel() const { return m_level; }
197 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
198 inline void SetLevel(Av1Level value) {
199 m_levelHasBeenSet = true;
200 m_level = value;
201 }
203 SetLevel(value);
204 return *this;
205 }
207
209
213 inline Av1LookAheadRateControl GetLookAheadRateControl() const { return m_lookAheadRateControl; }
214 inline bool LookAheadRateControlHasBeenSet() const { return m_lookAheadRateControlHasBeenSet; }
216 m_lookAheadRateControlHasBeenSet = true;
217 m_lookAheadRateControl = value;
218 }
221 return *this;
222 }
224
226
231 inline int GetMaxBitrate() const { return m_maxBitrate; }
232 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
233 inline void SetMaxBitrate(int value) {
234 m_maxBitrateHasBeenSet = true;
235 m_maxBitrate = value;
236 }
237 inline Av1Settings& WithMaxBitrate(int value) {
238 SetMaxBitrate(value);
239 return *this;
240 }
242
244
257 inline int GetMinIInterval() const { return m_minIInterval; }
258 inline bool MinIIntervalHasBeenSet() const { return m_minIIntervalHasBeenSet; }
259 inline void SetMinIInterval(int value) {
260 m_minIIntervalHasBeenSet = true;
261 m_minIInterval = value;
262 }
263 inline Av1Settings& WithMinIInterval(int value) {
264 SetMinIInterval(value);
265 return *this;
266 }
268
270
273 inline int GetParDenominator() const { return m_parDenominator; }
274 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
275 inline void SetParDenominator(int value) {
276 m_parDenominatorHasBeenSet = true;
277 m_parDenominator = value;
278 }
279 inline Av1Settings& WithParDenominator(int value) {
280 SetParDenominator(value);
281 return *this;
282 }
284
286
289 inline int GetParNumerator() const { return m_parNumerator; }
290 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
291 inline void SetParNumerator(int value) {
292 m_parNumeratorHasBeenSet = true;
293 m_parNumerator = value;
294 }
295 inline Av1Settings& WithParNumerator(int value) {
296 SetParNumerator(value);
297 return *this;
298 }
300
302
325 inline int GetQvbrQualityLevel() const { return m_qvbrQualityLevel; }
326 inline bool QvbrQualityLevelHasBeenSet() const { return m_qvbrQualityLevelHasBeenSet; }
327 inline void SetQvbrQualityLevel(int value) {
328 m_qvbrQualityLevelHasBeenSet = true;
329 m_qvbrQualityLevel = value;
330 }
332 SetQvbrQualityLevel(value);
333 return *this;
334 }
336
338
342 inline Av1SceneChangeDetect GetSceneChangeDetect() const { return m_sceneChangeDetect; }
343 inline bool SceneChangeDetectHasBeenSet() const { return m_sceneChangeDetectHasBeenSet; }
345 m_sceneChangeDetectHasBeenSet = true;
346 m_sceneChangeDetect = value;
347 }
350 return *this;
351 }
353
355
359 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const { return m_timecodeBurninSettings; }
360 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
361 template <typename TimecodeBurninSettingsT = TimecodeBurninSettings>
362 void SetTimecodeBurninSettings(TimecodeBurninSettingsT&& value) {
363 m_timecodeBurninSettingsHasBeenSet = true;
364 m_timecodeBurninSettings = std::forward<TimecodeBurninSettingsT>(value);
365 }
366 template <typename TimecodeBurninSettingsT = TimecodeBurninSettings>
367 Av1Settings& WithTimecodeBurninSettings(TimecodeBurninSettingsT&& value) {
368 SetTimecodeBurninSettings(std::forward<TimecodeBurninSettingsT>(value));
369 return *this;
370 }
372
374
378 inline int GetBitrate() const { return m_bitrate; }
379 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
380 inline void SetBitrate(int value) {
381 m_bitrateHasBeenSet = true;
382 m_bitrate = value;
383 }
384 inline Av1Settings& WithBitrate(int value) {
385 SetBitrate(value);
386 return *this;
387 }
389
391
404 inline Av1RateControlMode GetRateControlMode() const { return m_rateControlMode; }
405 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
407 m_rateControlModeHasBeenSet = true;
408 m_rateControlMode = value;
409 }
411 SetRateControlMode(value);
412 return *this;
413 }
415
417
424 inline int GetMinBitrate() const { return m_minBitrate; }
425 inline bool MinBitrateHasBeenSet() const { return m_minBitrateHasBeenSet; }
426 inline void SetMinBitrate(int value) {
427 m_minBitrateHasBeenSet = true;
428 m_minBitrate = value;
429 }
430 inline Av1Settings& WithMinBitrate(int value) {
431 SetMinBitrate(value);
432 return *this;
433 }
435
437
443 inline Av1SpatialAq GetSpatialAq() const { return m_spatialAq; }
444 inline bool SpatialAqHasBeenSet() const { return m_spatialAqHasBeenSet; }
445 inline void SetSpatialAq(Av1SpatialAq value) {
446 m_spatialAqHasBeenSet = true;
447 m_spatialAq = value;
448 }
450 SetSpatialAq(value);
451 return *this;
452 }
454
456
462 inline Av1TemporalAq GetTemporalAq() const { return m_temporalAq; }
463 inline bool TemporalAqHasBeenSet() const { return m_temporalAqHasBeenSet; }
464 inline void SetTemporalAq(Av1TemporalAq value) {
465 m_temporalAqHasBeenSet = true;
466 m_temporalAq = value;
467 }
469 SetTemporalAq(value);
470 return *this;
471 }
473
475
485 inline Av1TimecodeInsertionBehavior GetTimecodeInsertion() const { return m_timecodeInsertion; }
486 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
488 m_timecodeInsertionHasBeenSet = true;
489 m_timecodeInsertion = value;
490 }
493 return *this;
494 }
496
498
502 inline Av1BitDepth GetBitDepth() const { return m_bitDepth; }
503 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
504 inline void SetBitDepth(Av1BitDepth value) {
505 m_bitDepthHasBeenSet = true;
506 m_bitDepth = value;
507 }
509 SetBitDepth(value);
510 return *this;
511 }
513 private:
514 AfdSignaling m_afdSignaling{AfdSignaling::NOT_SET};
515
516 int m_bufSize{0};
517
518 Av1ColorSpaceSettings m_colorSpaceSettings;
519
520 FixedAfd m_fixedAfd{FixedAfd::NOT_SET};
521
522 int m_framerateDenominator{0};
523
524 int m_framerateNumerator{0};
525
526 double m_gopSize{0.0};
527
529
531
533
534 int m_maxBitrate{0};
535
536 int m_minIInterval{0};
537
538 int m_parDenominator{0};
539
540 int m_parNumerator{0};
541
542 int m_qvbrQualityLevel{0};
543
545
546 TimecodeBurninSettings m_timecodeBurninSettings;
547
548 int m_bitrate{0};
549
551
552 int m_minBitrate{0};
553
555
557
559
561 bool m_afdSignalingHasBeenSet = false;
562 bool m_bufSizeHasBeenSet = false;
563 bool m_colorSpaceSettingsHasBeenSet = false;
564 bool m_fixedAfdHasBeenSet = false;
565 bool m_framerateDenominatorHasBeenSet = false;
566 bool m_framerateNumeratorHasBeenSet = false;
567 bool m_gopSizeHasBeenSet = false;
568 bool m_gopSizeUnitsHasBeenSet = false;
569 bool m_levelHasBeenSet = false;
570 bool m_lookAheadRateControlHasBeenSet = false;
571 bool m_maxBitrateHasBeenSet = false;
572 bool m_minIIntervalHasBeenSet = false;
573 bool m_parDenominatorHasBeenSet = false;
574 bool m_parNumeratorHasBeenSet = false;
575 bool m_qvbrQualityLevelHasBeenSet = false;
576 bool m_sceneChangeDetectHasBeenSet = false;
577 bool m_timecodeBurninSettingsHasBeenSet = false;
578 bool m_bitrateHasBeenSet = false;
579 bool m_rateControlModeHasBeenSet = false;
580 bool m_minBitrateHasBeenSet = false;
581 bool m_spatialAqHasBeenSet = false;
582 bool m_temporalAqHasBeenSet = false;
583 bool m_timecodeInsertionHasBeenSet = false;
584 bool m_bitDepthHasBeenSet = false;
585};
586
587} // namespace Model
588} // namespace MediaLive
589} // namespace Aws
void SetRateControlMode(Av1RateControlMode value)
Av1TimecodeInsertionBehavior GetTimecodeInsertion() const
Av1Settings & WithAfdSignaling(AfdSignaling value)
Definition Av1Settings.h:62
Av1Settings & WithSpatialAq(Av1SpatialAq value)
Av1Settings & WithFixedAfd(FixedAfd value)
Av1Settings & WithSceneChangeDetect(Av1SceneChangeDetect value)
AWS_MEDIALIVE_API Av1Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Av1Settings & WithParDenominator(int value)
void SetAfdSignaling(AfdSignaling value)
Definition Av1Settings.h:58
Av1RateControlMode GetRateControlMode() const
const Av1ColorSpaceSettings & GetColorSpaceSettings() const
Definition Av1Settings.h:89
AWS_MEDIALIVE_API Av1Settings()=default
Av1Settings & WithFramerateNumerator(int value)
Av1Settings & WithGopSizeUnits(Av1GopSizeUnits value)
Av1Settings & WithBufSize(int value)
Definition Av1Settings.h:78
Av1GopSizeUnits GetGopSizeUnits() const
Av1Settings & WithRateControlMode(Av1RateControlMode value)
AfdSignaling GetAfdSignaling() const
Definition Av1Settings.h:56
Av1TemporalAq GetTemporalAq() const
void SetFixedAfd(FixedAfd value)
void SetTimecodeInsertion(Av1TimecodeInsertionBehavior value)
Av1Settings & WithTemporalAq(Av1TemporalAq value)
Av1Settings & WithParNumerator(int value)
Av1Settings & WithLookAheadRateControl(Av1LookAheadRateControl value)
Av1Settings & WithMaxBitrate(int value)
AWS_MEDIALIVE_API Av1Settings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemporalAq(Av1TemporalAq value)
const TimecodeBurninSettings & GetTimecodeBurninSettings() const
Av1Settings & WithQvbrQualityLevel(int value)
Av1Settings & WithTimecodeInsertion(Av1TimecodeInsertionBehavior value)
void SetColorSpaceSettings(ColorSpaceSettingsT &&value)
Definition Av1Settings.h:92
void SetLookAheadRateControl(Av1LookAheadRateControl value)
Av1Settings & WithColorSpaceSettings(ColorSpaceSettingsT &&value)
Definition Av1Settings.h:97
Av1Settings & WithTimecodeBurninSettings(TimecodeBurninSettingsT &&value)
Av1Settings & WithBitrate(int value)
Av1SceneChangeDetect GetSceneChangeDetect() const
Av1Settings & WithBitDepth(Av1BitDepth value)
void SetSceneChangeDetect(Av1SceneChangeDetect value)
Av1Settings & WithFramerateDenominator(int value)
void SetGopSizeUnits(Av1GopSizeUnits value)
Av1Settings & WithMinIInterval(int value)
Av1SpatialAq GetSpatialAq() const
void SetSpatialAq(Av1SpatialAq value)
Av1Settings & WithMinBitrate(int value)
Av1Settings & WithLevel(Av1Level value)
Av1LookAheadRateControl GetLookAheadRateControl() const
void SetTimecodeBurninSettings(TimecodeBurninSettingsT &&value)
void SetBitDepth(Av1BitDepth value)
Av1Settings & WithGopSize(double value)
Aws::Utils::Json::JsonValue JsonValue