55use AsyncAws \Core \Response ;
66use AsyncAws \Core \Result ;
77use AsyncAws \MediaConvert \Enum \AudioChannelTag ;
8+ use AsyncAws \MediaConvert \Enum \FrameMetricType ;
89use AsyncAws \MediaConvert \Enum \HlsAdMarkers ;
910use AsyncAws \MediaConvert \Enum \TeletextPageType ;
1011use AsyncAws \MediaConvert \ValueObject \AacSettings ;
@@ -413,6 +414,7 @@ private function populateResultAv1Settings(array $json): Av1Settings
413414 'GopSize ' => isset ($ json ['gopSize ' ]) ? (float ) $ json ['gopSize ' ] : null ,
414415 'MaxBitrate ' => isset ($ json ['maxBitrate ' ]) ? (int ) $ json ['maxBitrate ' ] : null ,
415416 'NumberBFramesBetweenReferenceFrames ' => isset ($ json ['numberBFramesBetweenReferenceFrames ' ]) ? (int ) $ json ['numberBFramesBetweenReferenceFrames ' ] : null ,
417+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
416418 'QvbrSettings ' => empty ($ json ['qvbrSettings ' ]) ? null : $ this ->populateResultAv1QvbrSettings ($ json ['qvbrSettings ' ]),
417419 'RateControlMode ' => isset ($ json ['rateControlMode ' ]) ? (string ) $ json ['rateControlMode ' ] : null ,
418420 'Slices ' => isset ($ json ['slices ' ]) ? (int ) $ json ['slices ' ] : null ,
@@ -437,6 +439,7 @@ private function populateResultAvcIntraSettings(array $json): AvcIntraSettings
437439 'FramerateDenominator ' => isset ($ json ['framerateDenominator ' ]) ? (int ) $ json ['framerateDenominator ' ] : null ,
438440 'FramerateNumerator ' => isset ($ json ['framerateNumerator ' ]) ? (int ) $ json ['framerateNumerator ' ] : null ,
439441 'InterlaceMode ' => isset ($ json ['interlaceMode ' ]) ? (string ) $ json ['interlaceMode ' ] : null ,
442+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
440443 'ScanTypeConversionMode ' => isset ($ json ['scanTypeConversionMode ' ]) ? (string ) $ json ['scanTypeConversionMode ' ] : null ,
441444 'SlowPal ' => isset ($ json ['slowPal ' ]) ? (string ) $ json ['slowPal ' ] : null ,
442445 'Telecine ' => isset ($ json ['telecine ' ]) ? (string ) $ json ['telecine ' ] : null ,
@@ -1078,6 +1081,7 @@ private function populateResultH264Settings(array $json): H264Settings
10781081 'ParControl ' => isset ($ json ['parControl ' ]) ? (string ) $ json ['parControl ' ] : null ,
10791082 'ParDenominator ' => isset ($ json ['parDenominator ' ]) ? (int ) $ json ['parDenominator ' ] : null ,
10801083 'ParNumerator ' => isset ($ json ['parNumerator ' ]) ? (int ) $ json ['parNumerator ' ] : null ,
1084+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
10811085 'QualityTuningLevel ' => isset ($ json ['qualityTuningLevel ' ]) ? (string ) $ json ['qualityTuningLevel ' ] : null ,
10821086 'QvbrSettings ' => empty ($ json ['qvbrSettings ' ]) ? null : $ this ->populateResultH264QvbrSettings ($ json ['qvbrSettings ' ]),
10831087 'RateControlMode ' => isset ($ json ['rateControlMode ' ]) ? (string ) $ json ['rateControlMode ' ] : null ,
@@ -1138,6 +1142,7 @@ private function populateResultH265Settings(array $json): H265Settings
11381142 'ParControl ' => isset ($ json ['parControl ' ]) ? (string ) $ json ['parControl ' ] : null ,
11391143 'ParDenominator ' => isset ($ json ['parDenominator ' ]) ? (int ) $ json ['parDenominator ' ] : null ,
11401144 'ParNumerator ' => isset ($ json ['parNumerator ' ]) ? (int ) $ json ['parNumerator ' ] : null ,
1145+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
11411146 'QualityTuningLevel ' => isset ($ json ['qualityTuningLevel ' ]) ? (string ) $ json ['qualityTuningLevel ' ] : null ,
11421147 'QvbrSettings ' => empty ($ json ['qvbrSettings ' ]) ? null : $ this ->populateResultH265QvbrSettings ($ json ['qvbrSettings ' ]),
11431148 'RateControlMode ' => isset ($ json ['rateControlMode ' ]) ? (string ) $ json ['rateControlMode ' ] : null ,
@@ -1692,6 +1697,7 @@ private function populateResultMpeg2Settings(array $json): Mpeg2Settings
16921697 'ParControl ' => isset ($ json ['parControl ' ]) ? (string ) $ json ['parControl ' ] : null ,
16931698 'ParDenominator ' => isset ($ json ['parDenominator ' ]) ? (int ) $ json ['parDenominator ' ] : null ,
16941699 'ParNumerator ' => isset ($ json ['parNumerator ' ]) ? (int ) $ json ['parNumerator ' ] : null ,
1700+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
16951701 'QualityTuningLevel ' => isset ($ json ['qualityTuningLevel ' ]) ? (string ) $ json ['qualityTuningLevel ' ] : null ,
16961702 'RateControlMode ' => isset ($ json ['rateControlMode ' ]) ? (string ) $ json ['rateControlMode ' ] : null ,
16971703 'ScanTypeConversionMode ' => isset ($ json ['scanTypeConversionMode ' ]) ? (string ) $ json ['scanTypeConversionMode ' ] : null ,
@@ -1888,6 +1894,7 @@ private function populateResultOutputGroupSettings(array $json): OutputGroupSett
18881894 'FileGroupSettings ' => empty ($ json ['fileGroupSettings ' ]) ? null : $ this ->populateResultFileGroupSettings ($ json ['fileGroupSettings ' ]),
18891895 'HlsGroupSettings ' => empty ($ json ['hlsGroupSettings ' ]) ? null : $ this ->populateResultHlsGroupSettings ($ json ['hlsGroupSettings ' ]),
18901896 'MsSmoothGroupSettings ' => empty ($ json ['msSmoothGroupSettings ' ]) ? null : $ this ->populateResultMsSmoothGroupSettings ($ json ['msSmoothGroupSettings ' ]),
1897+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
18911898 'Type ' => isset ($ json ['type ' ]) ? (string ) $ json ['type ' ] : null ,
18921899 ]);
18931900 }
@@ -1919,6 +1926,7 @@ private function populateResultProresSettings(array $json): ProresSettings
19191926 'ParControl ' => isset ($ json ['parControl ' ]) ? (string ) $ json ['parControl ' ] : null ,
19201927 'ParDenominator ' => isset ($ json ['parDenominator ' ]) ? (int ) $ json ['parDenominator ' ] : null ,
19211928 'ParNumerator ' => isset ($ json ['parNumerator ' ]) ? (int ) $ json ['parNumerator ' ] : null ,
1929+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
19221930 'ScanTypeConversionMode ' => isset ($ json ['scanTypeConversionMode ' ]) ? (string ) $ json ['scanTypeConversionMode ' ] : null ,
19231931 'SlowPal ' => isset ($ json ['slowPal ' ]) ? (string ) $ json ['slowPal ' ] : null ,
19241932 'Telecine ' => isset ($ json ['telecine ' ]) ? (string ) $ json ['telecine ' ] : null ,
@@ -2394,6 +2402,7 @@ private function populateResultXavcSettings(array $json): XavcSettings
23942402 'FramerateConversionAlgorithm ' => isset ($ json ['framerateConversionAlgorithm ' ]) ? (string ) $ json ['framerateConversionAlgorithm ' ] : null ,
23952403 'FramerateDenominator ' => isset ($ json ['framerateDenominator ' ]) ? (int ) $ json ['framerateDenominator ' ] : null ,
23962404 'FramerateNumerator ' => isset ($ json ['framerateNumerator ' ]) ? (int ) $ json ['framerateNumerator ' ] : null ,
2405+ 'PerFrameMetrics ' => !isset ($ json ['perFrameMetrics ' ]) ? null : $ this ->populateResult__listOfFrameMetricType ($ json ['perFrameMetrics ' ]),
23972406 'Profile ' => isset ($ json ['profile ' ]) ? (string ) $ json ['profile ' ] : null ,
23982407 'SlowPal ' => isset ($ json ['slowPal ' ]) ? (string ) $ json ['slowPal ' ] : null ,
23992408 'Softness ' => isset ($ json ['softness ' ]) ? (int ) $ json ['softness ' ] : null ,
@@ -2527,6 +2536,22 @@ private function populateResult__listOfForceIncludeRenditionSize(array $json): a
25272536 return $ items ;
25282537 }
25292538
2539+ /**
2540+ * @return list<FrameMetricType::*>
2541+ */
2542+ private function populateResult__listOfFrameMetricType (array $ json ): array
2543+ {
2544+ $ items = [];
2545+ foreach ($ json as $ item ) {
2546+ $ a = isset ($ item ) ? (string ) $ item : null ;
2547+ if (null !== $ a ) {
2548+ $ items [] = $ a ;
2549+ }
2550+ }
2551+
2552+ return $ items ;
2553+ }
2554+
25302555 /**
25312556 * @return list<HlsAdMarkers::*>
25322557 */
0 commit comments