AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
H264Settings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/H264AdaptiveQuantization.h>
9#include <aws/medialive/model/AfdSignaling.h>
10#include <aws/medialive/model/H264ColorMetadata.h>
11#include <aws/medialive/model/H264ColorSpaceSettings.h>
12#include <aws/medialive/model/H264EntropyEncoding.h>
13#include <aws/medialive/model/H264FilterSettings.h>
14#include <aws/medialive/model/FixedAfd.h>
15#include <aws/medialive/model/H264FlickerAq.h>
16#include <aws/medialive/model/H264ForceFieldPictures.h>
17#include <aws/medialive/model/H264FramerateControl.h>
18#include <aws/medialive/model/H264GopBReference.h>
19#include <aws/medialive/model/H264GopSizeUnits.h>
20#include <aws/medialive/model/H264Level.h>
21#include <aws/medialive/model/H264LookAheadRateControl.h>
22#include <aws/medialive/model/H264ParControl.h>
23#include <aws/medialive/model/H264Profile.h>
24#include <aws/medialive/model/H264QualityLevel.h>
25#include <aws/medialive/model/H264RateControlMode.h>
26#include <aws/medialive/model/H264ScanType.h>
27#include <aws/medialive/model/H264SceneChangeDetect.h>
28#include <aws/medialive/model/H264SpatialAq.h>
29#include <aws/medialive/model/H264SubGopLength.h>
30#include <aws/medialive/model/H264Syntax.h>
31#include <aws/medialive/model/H264TemporalAq.h>
32#include <aws/medialive/model/H264TimecodeInsertionBehavior.h>
33#include <aws/medialive/model/TimecodeBurninSettings.h>
34#include <utility>
35
36namespace Aws
37{
38namespace Utils
39{
40namespace Json
41{
42 class JsonValue;
43 class JsonView;
44} // namespace Json
45} // namespace Utils
46namespace MediaLive
47{
48namespace Model
49{
50
57 {
58 public:
59 AWS_MEDIALIVE_API H264Settings();
60 AWS_MEDIALIVE_API H264Settings(Aws::Utils::Json::JsonView jsonValue);
61 AWS_MEDIALIVE_API H264Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
62 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
63
64
66
76 inline const H264AdaptiveQuantization& GetAdaptiveQuantization() const{ return m_adaptiveQuantization; }
77 inline bool AdaptiveQuantizationHasBeenSet() const { return m_adaptiveQuantizationHasBeenSet; }
78 inline void SetAdaptiveQuantization(const H264AdaptiveQuantization& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = value; }
79 inline void SetAdaptiveQuantization(H264AdaptiveQuantization&& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = std::move(value); }
83
85
91 inline const AfdSignaling& GetAfdSignaling() const{ return m_afdSignaling; }
92 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
93 inline void SetAfdSignaling(const AfdSignaling& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = value; }
94 inline void SetAfdSignaling(AfdSignaling&& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = std::move(value); }
95 inline H264Settings& WithAfdSignaling(const AfdSignaling& value) { SetAfdSignaling(value); return *this;}
96 inline H264Settings& WithAfdSignaling(AfdSignaling&& value) { SetAfdSignaling(std::move(value)); return *this;}
98
100
105 inline int GetBitrate() const{ return m_bitrate; }
106 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
107 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
108 inline H264Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
110
112
115 inline int GetBufFillPct() const{ return m_bufFillPct; }
116 inline bool BufFillPctHasBeenSet() const { return m_bufFillPctHasBeenSet; }
117 inline void SetBufFillPct(int value) { m_bufFillPctHasBeenSet = true; m_bufFillPct = value; }
118 inline H264Settings& WithBufFillPct(int value) { SetBufFillPct(value); return *this;}
120
122
125 inline int GetBufSize() const{ return m_bufSize; }
126 inline bool BufSizeHasBeenSet() const { return m_bufSizeHasBeenSet; }
127 inline void SetBufSize(int value) { m_bufSizeHasBeenSet = true; m_bufSize = value; }
128 inline H264Settings& WithBufSize(int value) { SetBufSize(value); return *this;}
130
132
135 inline const H264ColorMetadata& GetColorMetadata() const{ return m_colorMetadata; }
136 inline bool ColorMetadataHasBeenSet() const { return m_colorMetadataHasBeenSet; }
137 inline void SetColorMetadata(const H264ColorMetadata& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = value; }
138 inline void SetColorMetadata(H264ColorMetadata&& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = std::move(value); }
139 inline H264Settings& WithColorMetadata(const H264ColorMetadata& value) { SetColorMetadata(value); return *this;}
140 inline H264Settings& WithColorMetadata(H264ColorMetadata&& value) { SetColorMetadata(std::move(value)); return *this;}
142
144
147 inline const H264ColorSpaceSettings& GetColorSpaceSettings() const{ return m_colorSpaceSettings; }
148 inline bool ColorSpaceSettingsHasBeenSet() const { return m_colorSpaceSettingsHasBeenSet; }
149 inline void SetColorSpaceSettings(const H264ColorSpaceSettings& value) { m_colorSpaceSettingsHasBeenSet = true; m_colorSpaceSettings = value; }
150 inline void SetColorSpaceSettings(H264ColorSpaceSettings&& value) { m_colorSpaceSettingsHasBeenSet = true; m_colorSpaceSettings = std::move(value); }
152 inline H264Settings& WithColorSpaceSettings(H264ColorSpaceSettings&& value) { SetColorSpaceSettings(std::move(value)); return *this;}
154
156
159 inline const H264EntropyEncoding& GetEntropyEncoding() const{ return m_entropyEncoding; }
160 inline bool EntropyEncodingHasBeenSet() const { return m_entropyEncodingHasBeenSet; }
161 inline void SetEntropyEncoding(const H264EntropyEncoding& value) { m_entropyEncodingHasBeenSet = true; m_entropyEncoding = value; }
162 inline void SetEntropyEncoding(H264EntropyEncoding&& value) { m_entropyEncodingHasBeenSet = true; m_entropyEncoding = std::move(value); }
163 inline H264Settings& WithEntropyEncoding(const H264EntropyEncoding& value) { SetEntropyEncoding(value); return *this;}
164 inline H264Settings& WithEntropyEncoding(H264EntropyEncoding&& value) { SetEntropyEncoding(std::move(value)); return *this;}
166
168
186 inline const H264FilterSettings& GetFilterSettings() const{ return m_filterSettings; }
187 inline bool FilterSettingsHasBeenSet() const { return m_filterSettingsHasBeenSet; }
188 inline void SetFilterSettings(const H264FilterSettings& value) { m_filterSettingsHasBeenSet = true; m_filterSettings = value; }
189 inline void SetFilterSettings(H264FilterSettings&& value) { m_filterSettingsHasBeenSet = true; m_filterSettings = std::move(value); }
190 inline H264Settings& WithFilterSettings(const H264FilterSettings& value) { SetFilterSettings(value); return *this;}
191 inline H264Settings& WithFilterSettings(H264FilterSettings&& value) { SetFilterSettings(std::move(value)); return *this;}
193
195
199 inline const FixedAfd& GetFixedAfd() const{ return m_fixedAfd; }
200 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
201 inline void SetFixedAfd(const FixedAfd& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = value; }
202 inline void SetFixedAfd(FixedAfd&& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = std::move(value); }
203 inline H264Settings& WithFixedAfd(const FixedAfd& value) { SetFixedAfd(value); return *this;}
204 inline H264Settings& WithFixedAfd(FixedAfd&& value) { SetFixedAfd(std::move(value)); return *this;}
206
208
220 inline const H264FlickerAq& GetFlickerAq() const{ return m_flickerAq; }
221 inline bool FlickerAqHasBeenSet() const { return m_flickerAqHasBeenSet; }
222 inline void SetFlickerAq(const H264FlickerAq& value) { m_flickerAqHasBeenSet = true; m_flickerAq = value; }
223 inline void SetFlickerAq(H264FlickerAq&& value) { m_flickerAqHasBeenSet = true; m_flickerAq = std::move(value); }
224 inline H264Settings& WithFlickerAq(const H264FlickerAq& value) { SetFlickerAq(value); return *this;}
225 inline H264Settings& WithFlickerAq(H264FlickerAq&& value) { SetFlickerAq(std::move(value)); return *this;}
227
229
240 inline const H264ForceFieldPictures& GetForceFieldPictures() const{ return m_forceFieldPictures; }
241 inline bool ForceFieldPicturesHasBeenSet() const { return m_forceFieldPicturesHasBeenSet; }
242 inline void SetForceFieldPictures(const H264ForceFieldPictures& value) { m_forceFieldPicturesHasBeenSet = true; m_forceFieldPictures = value; }
243 inline void SetForceFieldPictures(H264ForceFieldPictures&& value) { m_forceFieldPicturesHasBeenSet = true; m_forceFieldPictures = std::move(value); }
245 inline H264Settings& WithForceFieldPictures(H264ForceFieldPictures&& value) { SetForceFieldPictures(std::move(value)); return *this;}
247
249
256 inline const H264FramerateControl& GetFramerateControl() const{ return m_framerateControl; }
257 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
258 inline void SetFramerateControl(const H264FramerateControl& value) { m_framerateControlHasBeenSet = true; m_framerateControl = value; }
259 inline void SetFramerateControl(H264FramerateControl&& value) { m_framerateControlHasBeenSet = true; m_framerateControl = std::move(value); }
260 inline H264Settings& WithFramerateControl(const H264FramerateControl& value) { SetFramerateControl(value); return *this;}
261 inline H264Settings& WithFramerateControl(H264FramerateControl&& value) { SetFramerateControl(std::move(value)); return *this;}
263
265
268 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
269 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
270 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
271 inline H264Settings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
273
275
278 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
279 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
280 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
281 inline H264Settings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
283
285
288 inline const H264GopBReference& GetGopBReference() const{ return m_gopBReference; }
289 inline bool GopBReferenceHasBeenSet() const { return m_gopBReferenceHasBeenSet; }
290 inline void SetGopBReference(const H264GopBReference& value) { m_gopBReferenceHasBeenSet = true; m_gopBReference = value; }
291 inline void SetGopBReference(H264GopBReference&& value) { m_gopBReferenceHasBeenSet = true; m_gopBReference = std::move(value); }
292 inline H264Settings& WithGopBReference(const H264GopBReference& value) { SetGopBReference(value); return *this;}
293 inline H264Settings& WithGopBReference(H264GopBReference&& value) { SetGopBReference(std::move(value)); return *this;}
295
297
302 inline int GetGopClosedCadence() const{ return m_gopClosedCadence; }
303 inline bool GopClosedCadenceHasBeenSet() const { return m_gopClosedCadenceHasBeenSet; }
304 inline void SetGopClosedCadence(int value) { m_gopClosedCadenceHasBeenSet = true; m_gopClosedCadence = value; }
305 inline H264Settings& WithGopClosedCadence(int value) { SetGopClosedCadence(value); return *this;}
307
309
312 inline int GetGopNumBFrames() const{ return m_gopNumBFrames; }
313 inline bool GopNumBFramesHasBeenSet() const { return m_gopNumBFramesHasBeenSet; }
314 inline void SetGopNumBFrames(int value) { m_gopNumBFramesHasBeenSet = true; m_gopNumBFrames = value; }
315 inline H264Settings& WithGopNumBFrames(int value) { SetGopNumBFrames(value); return *this;}
317
319
327 inline double GetGopSize() const{ return m_gopSize; }
328 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
329 inline void SetGopSize(double value) { m_gopSizeHasBeenSet = true; m_gopSize = value; }
330 inline H264Settings& WithGopSize(double value) { SetGopSize(value); return *this;}
332
334
338 inline const H264GopSizeUnits& GetGopSizeUnits() const{ return m_gopSizeUnits; }
339 inline bool GopSizeUnitsHasBeenSet() const { return m_gopSizeUnitsHasBeenSet; }
340 inline void SetGopSizeUnits(const H264GopSizeUnits& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = value; }
341 inline void SetGopSizeUnits(H264GopSizeUnits&& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = std::move(value); }
342 inline H264Settings& WithGopSizeUnits(const H264GopSizeUnits& value) { SetGopSizeUnits(value); return *this;}
343 inline H264Settings& WithGopSizeUnits(H264GopSizeUnits&& value) { SetGopSizeUnits(std::move(value)); return *this;}
345
347
350 inline const H264Level& GetLevel() const{ return m_level; }
351 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
352 inline void SetLevel(const H264Level& value) { m_levelHasBeenSet = true; m_level = value; }
353 inline void SetLevel(H264Level&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
354 inline H264Settings& WithLevel(const H264Level& value) { SetLevel(value); return *this;}
355 inline H264Settings& WithLevel(H264Level&& value) { SetLevel(std::move(value)); return *this;}
357
359
363 inline const H264LookAheadRateControl& GetLookAheadRateControl() const{ return m_lookAheadRateControl; }
364 inline bool LookAheadRateControlHasBeenSet() const { return m_lookAheadRateControlHasBeenSet; }
365 inline void SetLookAheadRateControl(const H264LookAheadRateControl& value) { m_lookAheadRateControlHasBeenSet = true; m_lookAheadRateControl = value; }
366 inline void SetLookAheadRateControl(H264LookAheadRateControl&& value) { m_lookAheadRateControlHasBeenSet = true; m_lookAheadRateControl = std::move(value); }
370
372
378 inline int GetMaxBitrate() const{ return m_maxBitrate; }
379 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
380 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
381 inline H264Settings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
383
385
394 inline int GetMinIInterval() const{ return m_minIInterval; }
395 inline bool MinIIntervalHasBeenSet() const { return m_minIIntervalHasBeenSet; }
396 inline void SetMinIInterval(int value) { m_minIIntervalHasBeenSet = true; m_minIInterval = value; }
397 inline H264Settings& WithMinIInterval(int value) { SetMinIInterval(value); return *this;}
399
401
405 inline int GetNumRefFrames() const{ return m_numRefFrames; }
406 inline bool NumRefFramesHasBeenSet() const { return m_numRefFramesHasBeenSet; }
407 inline void SetNumRefFrames(int value) { m_numRefFramesHasBeenSet = true; m_numRefFrames = value; }
408 inline H264Settings& WithNumRefFrames(int value) { SetNumRefFrames(value); return *this;}
410
412
419 inline const H264ParControl& GetParControl() const{ return m_parControl; }
420 inline bool ParControlHasBeenSet() const { return m_parControlHasBeenSet; }
421 inline void SetParControl(const H264ParControl& value) { m_parControlHasBeenSet = true; m_parControl = value; }
422 inline void SetParControl(H264ParControl&& value) { m_parControlHasBeenSet = true; m_parControl = std::move(value); }
423 inline H264Settings& WithParControl(const H264ParControl& value) { SetParControl(value); return *this;}
424 inline H264Settings& WithParControl(H264ParControl&& value) { SetParControl(std::move(value)); return *this;}
426
428
431 inline int GetParDenominator() const{ return m_parDenominator; }
432 inline bool ParDenominatorHasBeenSet() const { return m_parDenominatorHasBeenSet; }
433 inline void SetParDenominator(int value) { m_parDenominatorHasBeenSet = true; m_parDenominator = value; }
434 inline H264Settings& WithParDenominator(int value) { SetParDenominator(value); return *this;}
436
438
441 inline int GetParNumerator() const{ return m_parNumerator; }
442 inline bool ParNumeratorHasBeenSet() const { return m_parNumeratorHasBeenSet; }
443 inline void SetParNumerator(int value) { m_parNumeratorHasBeenSet = true; m_parNumerator = value; }
444 inline H264Settings& WithParNumerator(int value) { SetParNumerator(value); return *this;}
446
448
451 inline const H264Profile& GetProfile() const{ return m_profile; }
452 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
453 inline void SetProfile(const H264Profile& value) { m_profileHasBeenSet = true; m_profile = value; }
454 inline void SetProfile(H264Profile&& value) { m_profileHasBeenSet = true; m_profile = std::move(value); }
455 inline H264Settings& WithProfile(const H264Profile& value) { SetProfile(value); return *this;}
456 inline H264Settings& WithProfile(H264Profile&& value) { SetProfile(std::move(value)); return *this;}
458
460
470 inline const H264QualityLevel& GetQualityLevel() const{ return m_qualityLevel; }
471 inline bool QualityLevelHasBeenSet() const { return m_qualityLevelHasBeenSet; }
472 inline void SetQualityLevel(const H264QualityLevel& value) { m_qualityLevelHasBeenSet = true; m_qualityLevel = value; }
473 inline void SetQualityLevel(H264QualityLevel&& value) { m_qualityLevelHasBeenSet = true; m_qualityLevel = std::move(value); }
474 inline H264Settings& WithQualityLevel(const H264QualityLevel& value) { SetQualityLevel(value); return *this;}
475 inline H264Settings& WithQualityLevel(H264QualityLevel&& value) { SetQualityLevel(std::move(value)); return *this;}
477
479
495 inline int GetQvbrQualityLevel() const{ return m_qvbrQualityLevel; }
496 inline bool QvbrQualityLevelHasBeenSet() const { return m_qvbrQualityLevelHasBeenSet; }
497 inline void SetQvbrQualityLevel(int value) { m_qvbrQualityLevelHasBeenSet = true; m_qvbrQualityLevel = value; }
498 inline H264Settings& WithQvbrQualityLevel(int value) { SetQvbrQualityLevel(value); return *this;}
500
502
527 inline const H264RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
528 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
529 inline void SetRateControlMode(const H264RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
530 inline void SetRateControlMode(H264RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
531 inline H264Settings& WithRateControlMode(const H264RateControlMode& value) { SetRateControlMode(value); return *this;}
532 inline H264Settings& WithRateControlMode(H264RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
534
536
539 inline const H264ScanType& GetScanType() const{ return m_scanType; }
540 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
541 inline void SetScanType(const H264ScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
542 inline void SetScanType(H264ScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
543 inline H264Settings& WithScanType(const H264ScanType& value) { SetScanType(value); return *this;}
544 inline H264Settings& WithScanType(H264ScanType&& value) { SetScanType(std::move(value)); return *this;}
546
548
555 inline const H264SceneChangeDetect& GetSceneChangeDetect() const{ return m_sceneChangeDetect; }
556 inline bool SceneChangeDetectHasBeenSet() const { return m_sceneChangeDetectHasBeenSet; }
557 inline void SetSceneChangeDetect(const H264SceneChangeDetect& value) { m_sceneChangeDetectHasBeenSet = true; m_sceneChangeDetect = value; }
558 inline void SetSceneChangeDetect(H264SceneChangeDetect&& value) { m_sceneChangeDetectHasBeenSet = true; m_sceneChangeDetect = std::move(value); }
560 inline H264Settings& WithSceneChangeDetect(H264SceneChangeDetect&& value) { SetSceneChangeDetect(std::move(value)); return *this;}
562
564
572 inline int GetSlices() const{ return m_slices; }
573 inline bool SlicesHasBeenSet() const { return m_slicesHasBeenSet; }
574 inline void SetSlices(int value) { m_slicesHasBeenSet = true; m_slices = value; }
575 inline H264Settings& WithSlices(int value) { SetSlices(value); return *this;}
577
579
583 inline int GetSoftness() const{ return m_softness; }
584 inline bool SoftnessHasBeenSet() const { return m_softnessHasBeenSet; }
585 inline void SetSoftness(int value) { m_softnessHasBeenSet = true; m_softness = value; }
586 inline H264Settings& WithSoftness(int value) { SetSoftness(value); return *this;}
588
590
602 inline const H264SpatialAq& GetSpatialAq() const{ return m_spatialAq; }
603 inline bool SpatialAqHasBeenSet() const { return m_spatialAqHasBeenSet; }
604 inline void SetSpatialAq(const H264SpatialAq& value) { m_spatialAqHasBeenSet = true; m_spatialAq = value; }
605 inline void SetSpatialAq(H264SpatialAq&& value) { m_spatialAqHasBeenSet = true; m_spatialAq = std::move(value); }
606 inline H264Settings& WithSpatialAq(const H264SpatialAq& value) { SetSpatialAq(value); return *this;}
607 inline H264Settings& WithSpatialAq(H264SpatialAq&& value) { SetSpatialAq(std::move(value)); return *this;}
609
611
615 inline const H264SubGopLength& GetSubgopLength() const{ return m_subgopLength; }
616 inline bool SubgopLengthHasBeenSet() const { return m_subgopLengthHasBeenSet; }
617 inline void SetSubgopLength(const H264SubGopLength& value) { m_subgopLengthHasBeenSet = true; m_subgopLength = value; }
618 inline void SetSubgopLength(H264SubGopLength&& value) { m_subgopLengthHasBeenSet = true; m_subgopLength = std::move(value); }
619 inline H264Settings& WithSubgopLength(const H264SubGopLength& value) { SetSubgopLength(value); return *this;}
620 inline H264Settings& WithSubgopLength(H264SubGopLength&& value) { SetSubgopLength(std::move(value)); return *this;}
622
624
627 inline const H264Syntax& GetSyntax() const{ return m_syntax; }
628 inline bool SyntaxHasBeenSet() const { return m_syntaxHasBeenSet; }
629 inline void SetSyntax(const H264Syntax& value) { m_syntaxHasBeenSet = true; m_syntax = value; }
630 inline void SetSyntax(H264Syntax&& value) { m_syntaxHasBeenSet = true; m_syntax = std::move(value); }
631 inline H264Settings& WithSyntax(const H264Syntax& value) { SetSyntax(value); return *this;}
632 inline H264Settings& WithSyntax(H264Syntax&& value) { SetSyntax(std::move(value)); return *this;}
634
636
648 inline const H264TemporalAq& GetTemporalAq() const{ return m_temporalAq; }
649 inline bool TemporalAqHasBeenSet() const { return m_temporalAqHasBeenSet; }
650 inline void SetTemporalAq(const H264TemporalAq& value) { m_temporalAqHasBeenSet = true; m_temporalAq = value; }
651 inline void SetTemporalAq(H264TemporalAq&& value) { m_temporalAqHasBeenSet = true; m_temporalAq = std::move(value); }
652 inline H264Settings& WithTemporalAq(const H264TemporalAq& value) { SetTemporalAq(value); return *this;}
653 inline H264Settings& WithTemporalAq(H264TemporalAq&& value) { SetTemporalAq(std::move(value)); return *this;}
655
657
664 inline const H264TimecodeInsertionBehavior& GetTimecodeInsertion() const{ return m_timecodeInsertion; }
665 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
666 inline void SetTimecodeInsertion(const H264TimecodeInsertionBehavior& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = value; }
667 inline void SetTimecodeInsertion(H264TimecodeInsertionBehavior&& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = std::move(value); }
671
673
676 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const{ return m_timecodeBurninSettings; }
677 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
678 inline void SetTimecodeBurninSettings(const TimecodeBurninSettings& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = value; }
679 inline void SetTimecodeBurninSettings(TimecodeBurninSettings&& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = std::move(value); }
683
685
690 inline int GetMinQp() const{ return m_minQp; }
691 inline bool MinQpHasBeenSet() const { return m_minQpHasBeenSet; }
692 inline void SetMinQp(int value) { m_minQpHasBeenSet = true; m_minQp = value; }
693 inline H264Settings& WithMinQp(int value) { SetMinQp(value); return *this;}
695 private:
696
697 H264AdaptiveQuantization m_adaptiveQuantization;
698 bool m_adaptiveQuantizationHasBeenSet = false;
699
700 AfdSignaling m_afdSignaling;
701 bool m_afdSignalingHasBeenSet = false;
702
703 int m_bitrate;
704 bool m_bitrateHasBeenSet = false;
705
706 int m_bufFillPct;
707 bool m_bufFillPctHasBeenSet = false;
708
709 int m_bufSize;
710 bool m_bufSizeHasBeenSet = false;
711
712 H264ColorMetadata m_colorMetadata;
713 bool m_colorMetadataHasBeenSet = false;
714
715 H264ColorSpaceSettings m_colorSpaceSettings;
716 bool m_colorSpaceSettingsHasBeenSet = false;
717
718 H264EntropyEncoding m_entropyEncoding;
719 bool m_entropyEncodingHasBeenSet = false;
720
721 H264FilterSettings m_filterSettings;
722 bool m_filterSettingsHasBeenSet = false;
723
724 FixedAfd m_fixedAfd;
725 bool m_fixedAfdHasBeenSet = false;
726
727 H264FlickerAq m_flickerAq;
728 bool m_flickerAqHasBeenSet = false;
729
730 H264ForceFieldPictures m_forceFieldPictures;
731 bool m_forceFieldPicturesHasBeenSet = false;
732
733 H264FramerateControl m_framerateControl;
734 bool m_framerateControlHasBeenSet = false;
735
736 int m_framerateDenominator;
737 bool m_framerateDenominatorHasBeenSet = false;
738
739 int m_framerateNumerator;
740 bool m_framerateNumeratorHasBeenSet = false;
741
742 H264GopBReference m_gopBReference;
743 bool m_gopBReferenceHasBeenSet = false;
744
745 int m_gopClosedCadence;
746 bool m_gopClosedCadenceHasBeenSet = false;
747
748 int m_gopNumBFrames;
749 bool m_gopNumBFramesHasBeenSet = false;
750
751 double m_gopSize;
752 bool m_gopSizeHasBeenSet = false;
753
754 H264GopSizeUnits m_gopSizeUnits;
755 bool m_gopSizeUnitsHasBeenSet = false;
756
757 H264Level m_level;
758 bool m_levelHasBeenSet = false;
759
760 H264LookAheadRateControl m_lookAheadRateControl;
761 bool m_lookAheadRateControlHasBeenSet = false;
762
763 int m_maxBitrate;
764 bool m_maxBitrateHasBeenSet = false;
765
766 int m_minIInterval;
767 bool m_minIIntervalHasBeenSet = false;
768
769 int m_numRefFrames;
770 bool m_numRefFramesHasBeenSet = false;
771
772 H264ParControl m_parControl;
773 bool m_parControlHasBeenSet = false;
774
775 int m_parDenominator;
776 bool m_parDenominatorHasBeenSet = false;
777
778 int m_parNumerator;
779 bool m_parNumeratorHasBeenSet = false;
780
781 H264Profile m_profile;
782 bool m_profileHasBeenSet = false;
783
784 H264QualityLevel m_qualityLevel;
785 bool m_qualityLevelHasBeenSet = false;
786
787 int m_qvbrQualityLevel;
788 bool m_qvbrQualityLevelHasBeenSet = false;
789
790 H264RateControlMode m_rateControlMode;
791 bool m_rateControlModeHasBeenSet = false;
792
793 H264ScanType m_scanType;
794 bool m_scanTypeHasBeenSet = false;
795
796 H264SceneChangeDetect m_sceneChangeDetect;
797 bool m_sceneChangeDetectHasBeenSet = false;
798
799 int m_slices;
800 bool m_slicesHasBeenSet = false;
801
802 int m_softness;
803 bool m_softnessHasBeenSet = false;
804
805 H264SpatialAq m_spatialAq;
806 bool m_spatialAqHasBeenSet = false;
807
808 H264SubGopLength m_subgopLength;
809 bool m_subgopLengthHasBeenSet = false;
810
811 H264Syntax m_syntax;
812 bool m_syntaxHasBeenSet = false;
813
814 H264TemporalAq m_temporalAq;
815 bool m_temporalAqHasBeenSet = false;
816
817 H264TimecodeInsertionBehavior m_timecodeInsertion;
818 bool m_timecodeInsertionHasBeenSet = false;
819
820 TimecodeBurninSettings m_timecodeBurninSettings;
821 bool m_timecodeBurninSettingsHasBeenSet = false;
822
823 int m_minQp;
824 bool m_minQpHasBeenSet = false;
825 };
826
827} // namespace Model
828} // namespace MediaLive
829} // namespace Aws
void SetAdaptiveQuantization(H264AdaptiveQuantization &&value)
H264Settings & WithGopClosedCadence(int value)
void SetEntropyEncoding(const H264EntropyEncoding &value)
H264Settings & WithGopNumBFrames(int value)
H264Settings & WithScanType(const H264ScanType &value)
H264Settings & WithSpatialAq(H264SpatialAq &&value)
H264Settings & WithFilterSettings(H264FilterSettings &&value)
const H264Syntax & GetSyntax() const
H264Settings & WithSpatialAq(const H264SpatialAq &value)
const H264EntropyEncoding & GetEntropyEncoding() const
H264Settings & WithColorSpaceSettings(H264ColorSpaceSettings &&value)
H264Settings & WithSoftness(int value)
void SetSceneChangeDetect(const H264SceneChangeDetect &value)
void SetGopBReference(H264GopBReference &&value)
void SetFlickerAq(H264FlickerAq &&value)
void SetSyntax(const H264Syntax &value)
H264Settings & WithMinIInterval(int value)
H264Settings & WithQualityLevel(const H264QualityLevel &value)
H264Settings & WithColorSpaceSettings(const H264ColorSpaceSettings &value)
H264Settings & WithQualityLevel(H264QualityLevel &&value)
const H264GopBReference & GetGopBReference() const
const H264ForceFieldPictures & GetForceFieldPictures() const
void SetLevel(H264Level &&value)
void SetFramerateControl(const H264FramerateControl &value)
void SetRateControlMode(H264RateControlMode &&value)
const H264GopSizeUnits & GetGopSizeUnits() const
void SetScanType(H264ScanType &&value)
void SetFixedAfd(const FixedAfd &value)
const H264FramerateControl & GetFramerateControl() const
H264Settings & WithAdaptiveQuantization(H264AdaptiveQuantization &&value)
void SetQualityLevel(H264QualityLevel &&value)
const H264Level & GetLevel() const
H264Settings & WithSubgopLength(const H264SubGopLength &value)
H264Settings & WithBufSize(int value)
void SetRateControlMode(const H264RateControlMode &value)
H264Settings & WithParDenominator(int value)
const H264LookAheadRateControl & GetLookAheadRateControl() const
H264Settings & WithBufFillPct(int value)
void SetTemporalAq(const H264TemporalAq &value)
void SetColorSpaceSettings(H264ColorSpaceSettings &&value)
void SetSubgopLength(H264SubGopLength &&value)
H264Settings & WithAfdSignaling(AfdSignaling &&value)
void SetColorMetadata(H264ColorMetadata &&value)
void SetTimecodeBurninSettings(const TimecodeBurninSettings &value)
void SetProfile(H264Profile &&value)
void SetAfdSignaling(AfdSignaling &&value)
H264Settings & WithSlices(int value)
H264Settings & WithFramerateControl(H264FramerateControl &&value)
void SetForceFieldPictures(H264ForceFieldPictures &&value)
void SetProfile(const H264Profile &value)
H264Settings & WithBitrate(int value)
const H264TemporalAq & GetTemporalAq() const
H264Settings & WithMinQp(int value)
void SetSpatialAq(const H264SpatialAq &value)
const H264ParControl & GetParControl() const
H264Settings & WithTimecodeBurninSettings(const TimecodeBurninSettings &value)
void SetAdaptiveQuantization(const H264AdaptiveQuantization &value)
const H264ColorSpaceSettings & GetColorSpaceSettings() const
const H264AdaptiveQuantization & GetAdaptiveQuantization() const
void SetFilterSettings(const H264FilterSettings &value)
H264Settings & WithFramerateDenominator(int value)
H264Settings & WithAdaptiveQuantization(const H264AdaptiveQuantization &value)
const H264TimecodeInsertionBehavior & GetTimecodeInsertion() const
H264Settings & WithSceneChangeDetect(H264SceneChangeDetect &&value)
H264Settings & WithSubgopLength(H264SubGopLength &&value)
H264Settings & WithFlickerAq(const H264FlickerAq &value)
void SetEntropyEncoding(H264EntropyEncoding &&value)
void SetTimecodeBurninSettings(TimecodeBurninSettings &&value)
AWS_MEDIALIVE_API H264Settings(Aws::Utils::Json::JsonView jsonValue)
H264Settings & WithColorMetadata(H264ColorMetadata &&value)
H264Settings & WithLookAheadRateControl(H264LookAheadRateControl &&value)
AWS_MEDIALIVE_API H264Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubgopLength(const H264SubGopLength &value)
H264Settings & WithParNumerator(int value)
void SetParControl(const H264ParControl &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
H264Settings & WithTimecodeBurninSettings(TimecodeBurninSettings &&value)
void SetFlickerAq(const H264FlickerAq &value)
void SetQualityLevel(const H264QualityLevel &value)
H264Settings & WithScanType(H264ScanType &&value)
void SetAfdSignaling(const AfdSignaling &value)
H264Settings & WithEntropyEncoding(H264EntropyEncoding &&value)
void SetLookAheadRateControl(H264LookAheadRateControl &&value)
H264Settings & WithTimecodeInsertion(const H264TimecodeInsertionBehavior &value)
void SetSceneChangeDetect(H264SceneChangeDetect &&value)
void SetTemporalAq(H264TemporalAq &&value)
H264Settings & WithTimecodeInsertion(H264TimecodeInsertionBehavior &&value)
const H264SceneChangeDetect & GetSceneChangeDetect() const
H264Settings & WithFixedAfd(const FixedAfd &value)
H264Settings & WithGopSize(double value)
const AfdSignaling & GetAfdSignaling() const
void SetGopBReference(const H264GopBReference &value)
void SetForceFieldPictures(const H264ForceFieldPictures &value)
const H264SpatialAq & GetSpatialAq() const
H264Settings & WithGopBReference(H264GopBReference &&value)
H264Settings & WithFramerateNumerator(int value)
void SetColorMetadata(const H264ColorMetadata &value)
void SetFramerateControl(H264FramerateControl &&value)
H264Settings & WithQvbrQualityLevel(int value)
H264Settings & WithLookAheadRateControl(const H264LookAheadRateControl &value)
void SetGopSizeUnits(const H264GopSizeUnits &value)
H264Settings & WithTemporalAq(H264TemporalAq &&value)
const H264ColorMetadata & GetColorMetadata() const
H264Settings & WithParControl(H264ParControl &&value)
H264Settings & WithProfile(H264Profile &&value)
H264Settings & WithAfdSignaling(const AfdSignaling &value)
const TimecodeBurninSettings & GetTimecodeBurninSettings() const
H264Settings & WithRateControlMode(H264RateControlMode &&value)
void SetSyntax(H264Syntax &&value)
H264Settings & WithFixedAfd(FixedAfd &&value)
void SetColorSpaceSettings(const H264ColorSpaceSettings &value)
void SetTimecodeInsertion(H264TimecodeInsertionBehavior &&value)
const H264QualityLevel & GetQualityLevel() const
void SetFixedAfd(FixedAfd &&value)
void SetGopSizeUnits(H264GopSizeUnits &&value)
H264Settings & WithLevel(H264Level &&value)
H264Settings & WithMaxBitrate(int value)
H264Settings & WithTemporalAq(const H264TemporalAq &value)
const H264FlickerAq & GetFlickerAq() const
H264Settings & WithGopBReference(const H264GopBReference &value)
H264Settings & WithParControl(const H264ParControl &value)
H264Settings & WithNumRefFrames(int value)
H264Settings & WithEntropyEncoding(const H264EntropyEncoding &value)
const H264Profile & GetProfile() const
void SetLookAheadRateControl(const H264LookAheadRateControl &value)
void SetTimecodeInsertion(const H264TimecodeInsertionBehavior &value)
H264Settings & WithSceneChangeDetect(const H264SceneChangeDetect &value)
void SetLevel(const H264Level &value)
H264Settings & WithSyntax(H264Syntax &&value)
H264Settings & WithProfile(const H264Profile &value)
H264Settings & WithLevel(const H264Level &value)
void SetSpatialAq(H264SpatialAq &&value)
H264Settings & WithForceFieldPictures(const H264ForceFieldPictures &value)
const H264RateControlMode & GetRateControlMode() const
const H264FilterSettings & GetFilterSettings() const
H264Settings & WithGopSizeUnits(H264GopSizeUnits &&value)
const H264SubGopLength & GetSubgopLength() const
H264Settings & WithSyntax(const H264Syntax &value)
H264Settings & WithFramerateControl(const H264FramerateControl &value)
H264Settings & WithForceFieldPictures(H264ForceFieldPictures &&value)
void SetFilterSettings(H264FilterSettings &&value)
H264Settings & WithColorMetadata(const H264ColorMetadata &value)
void SetScanType(const H264ScanType &value)
H264Settings & WithRateControlMode(const H264RateControlMode &value)
void SetParControl(H264ParControl &&value)
const FixedAfd & GetFixedAfd() const
const H264ScanType & GetScanType() const
H264Settings & WithFlickerAq(H264FlickerAq &&value)
H264Settings & WithFilterSettings(const H264FilterSettings &value)
H264Settings & WithGopSizeUnits(const H264GopSizeUnits &value)
Aws::Utils::Json::JsonValue JsonValue