AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
XavcSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/FrameMetricType.h>
10#include <aws/mediaconvert/model/Xavc4kIntraCbgProfileSettings.h>
11#include <aws/mediaconvert/model/Xavc4kIntraVbrProfileSettings.h>
12#include <aws/mediaconvert/model/Xavc4kProfileSettings.h>
13#include <aws/mediaconvert/model/XavcAdaptiveQuantization.h>
14#include <aws/mediaconvert/model/XavcEntropyEncoding.h>
15#include <aws/mediaconvert/model/XavcFramerateControl.h>
16#include <aws/mediaconvert/model/XavcFramerateConversionAlgorithm.h>
17#include <aws/mediaconvert/model/XavcHdIntraCbgProfileSettings.h>
18#include <aws/mediaconvert/model/XavcHdProfileSettings.h>
19#include <aws/mediaconvert/model/XavcProfile.h>
20#include <aws/mediaconvert/model/XavcSlowPal.h>
21#include <aws/mediaconvert/model/XavcSpatialAdaptiveQuantization.h>
22#include <aws/mediaconvert/model/XavcTemporalAdaptiveQuantization.h>
23
24#include <utility>
25
26namespace Aws {
27namespace Utils {
28namespace Json {
29class JsonValue;
30class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace MediaConvert {
34namespace Model {
35
42 public:
43 AWS_MEDIACONVERT_API XavcSettings() = default;
44 AWS_MEDIACONVERT_API XavcSettings(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API XavcSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
61 inline XavcAdaptiveQuantization GetAdaptiveQuantization() const { return m_adaptiveQuantization; }
62 inline bool AdaptiveQuantizationHasBeenSet() const { return m_adaptiveQuantizationHasBeenSet; }
64 m_adaptiveQuantizationHasBeenSet = true;
65 m_adaptiveQuantization = value;
66 }
69 return *this;
70 }
72
74
79 inline XavcEntropyEncoding GetEntropyEncoding() const { return m_entropyEncoding; }
80 inline bool EntropyEncodingHasBeenSet() const { return m_entropyEncodingHasBeenSet; }
82 m_entropyEncodingHasBeenSet = true;
83 m_entropyEncoding = value;
84 }
86 SetEntropyEncoding(value);
87 return *this;
88 }
90
92
99 inline XavcFramerateControl GetFramerateControl() const { return m_framerateControl; }
100 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
102 m_framerateControlHasBeenSet = true;
103 m_framerateControl = value;
104 }
106 SetFramerateControl(value);
107 return *this;
108 }
110
112
130 inline XavcFramerateConversionAlgorithm GetFramerateConversionAlgorithm() const { return m_framerateConversionAlgorithm; }
131 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
133 m_framerateConversionAlgorithmHasBeenSet = true;
134 m_framerateConversionAlgorithm = value;
135 }
138 return *this;
139 }
141
143
151 inline int GetFramerateDenominator() const { return m_framerateDenominator; }
152 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
153 inline void SetFramerateDenominator(int value) {
154 m_framerateDenominatorHasBeenSet = true;
155 m_framerateDenominator = value;
156 }
159 return *this;
160 }
162
164
172 inline int GetFramerateNumerator() const { return m_framerateNumerator; }
173 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
174 inline void SetFramerateNumerator(int value) {
175 m_framerateNumeratorHasBeenSet = true;
176 m_framerateNumerator = value;
177 }
180 return *this;
181 }
183
185
204 inline const Aws::Vector<FrameMetricType>& GetPerFrameMetrics() const { return m_perFrameMetrics; }
205 inline bool PerFrameMetricsHasBeenSet() const { return m_perFrameMetricsHasBeenSet; }
206 template <typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
207 void SetPerFrameMetrics(PerFrameMetricsT&& value) {
208 m_perFrameMetricsHasBeenSet = true;
209 m_perFrameMetrics = std::forward<PerFrameMetricsT>(value);
210 }
211 template <typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
212 XavcSettings& WithPerFrameMetrics(PerFrameMetricsT&& value) {
213 SetPerFrameMetrics(std::forward<PerFrameMetricsT>(value));
214 return *this;
215 }
217 m_perFrameMetricsHasBeenSet = true;
218 m_perFrameMetrics.push_back(value);
219 return *this;
220 }
222
224
230 inline XavcProfile GetProfile() const { return m_profile; }
231 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
232 inline void SetProfile(XavcProfile value) {
233 m_profileHasBeenSet = true;
234 m_profile = value;
235 }
237 SetProfile(value);
238 return *this;
239 }
241
243
250 inline XavcSlowPal GetSlowPal() const { return m_slowPal; }
251 inline bool SlowPalHasBeenSet() const { return m_slowPalHasBeenSet; }
252 inline void SetSlowPal(XavcSlowPal value) {
253 m_slowPalHasBeenSet = true;
254 m_slowPal = value;
255 }
257 SetSlowPal(value);
258 return *this;
259 }
261
263
274 inline int GetSoftness() const { return m_softness; }
275 inline bool SoftnessHasBeenSet() const { return m_softnessHasBeenSet; }
276 inline void SetSoftness(int value) {
277 m_softnessHasBeenSet = true;
278 m_softness = value;
279 }
280 inline XavcSettings& WithSoftness(int value) {
281 SetSoftness(value);
282 return *this;
283 }
285
287
308 inline XavcSpatialAdaptiveQuantization GetSpatialAdaptiveQuantization() const { return m_spatialAdaptiveQuantization; }
309 inline bool SpatialAdaptiveQuantizationHasBeenSet() const { return m_spatialAdaptiveQuantizationHasBeenSet; }
311 m_spatialAdaptiveQuantizationHasBeenSet = true;
312 m_spatialAdaptiveQuantization = value;
313 }
316 return *this;
317 }
319
321
340 inline XavcTemporalAdaptiveQuantization GetTemporalAdaptiveQuantization() const { return m_temporalAdaptiveQuantization; }
341 inline bool TemporalAdaptiveQuantizationHasBeenSet() const { return m_temporalAdaptiveQuantizationHasBeenSet; }
343 m_temporalAdaptiveQuantizationHasBeenSet = true;
344 m_temporalAdaptiveQuantization = value;
345 }
348 return *this;
349 }
351
353
356 inline const Xavc4kIntraCbgProfileSettings& GetXavc4kIntraCbgProfileSettings() const { return m_xavc4kIntraCbgProfileSettings; }
357 inline bool Xavc4kIntraCbgProfileSettingsHasBeenSet() const { return m_xavc4kIntraCbgProfileSettingsHasBeenSet; }
358 template <typename Xavc4kIntraCbgProfileSettingsT = Xavc4kIntraCbgProfileSettings>
359 void SetXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT&& value) {
360 m_xavc4kIntraCbgProfileSettingsHasBeenSet = true;
361 m_xavc4kIntraCbgProfileSettings = std::forward<Xavc4kIntraCbgProfileSettingsT>(value);
362 }
363 template <typename Xavc4kIntraCbgProfileSettingsT = Xavc4kIntraCbgProfileSettings>
364 XavcSettings& WithXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT&& value) {
365 SetXavc4kIntraCbgProfileSettings(std::forward<Xavc4kIntraCbgProfileSettingsT>(value));
366 return *this;
367 }
369
371
374 inline const Xavc4kIntraVbrProfileSettings& GetXavc4kIntraVbrProfileSettings() const { return m_xavc4kIntraVbrProfileSettings; }
375 inline bool Xavc4kIntraVbrProfileSettingsHasBeenSet() const { return m_xavc4kIntraVbrProfileSettingsHasBeenSet; }
376 template <typename Xavc4kIntraVbrProfileSettingsT = Xavc4kIntraVbrProfileSettings>
377 void SetXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT&& value) {
378 m_xavc4kIntraVbrProfileSettingsHasBeenSet = true;
379 m_xavc4kIntraVbrProfileSettings = std::forward<Xavc4kIntraVbrProfileSettingsT>(value);
380 }
381 template <typename Xavc4kIntraVbrProfileSettingsT = Xavc4kIntraVbrProfileSettings>
382 XavcSettings& WithXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT&& value) {
383 SetXavc4kIntraVbrProfileSettings(std::forward<Xavc4kIntraVbrProfileSettingsT>(value));
384 return *this;
385 }
387
389
392 inline const Xavc4kProfileSettings& GetXavc4kProfileSettings() const { return m_xavc4kProfileSettings; }
393 inline bool Xavc4kProfileSettingsHasBeenSet() const { return m_xavc4kProfileSettingsHasBeenSet; }
394 template <typename Xavc4kProfileSettingsT = Xavc4kProfileSettings>
395 void SetXavc4kProfileSettings(Xavc4kProfileSettingsT&& value) {
396 m_xavc4kProfileSettingsHasBeenSet = true;
397 m_xavc4kProfileSettings = std::forward<Xavc4kProfileSettingsT>(value);
398 }
399 template <typename Xavc4kProfileSettingsT = Xavc4kProfileSettings>
400 XavcSettings& WithXavc4kProfileSettings(Xavc4kProfileSettingsT&& value) {
401 SetXavc4kProfileSettings(std::forward<Xavc4kProfileSettingsT>(value));
402 return *this;
403 }
405
407
410 inline const XavcHdIntraCbgProfileSettings& GetXavcHdIntraCbgProfileSettings() const { return m_xavcHdIntraCbgProfileSettings; }
411 inline bool XavcHdIntraCbgProfileSettingsHasBeenSet() const { return m_xavcHdIntraCbgProfileSettingsHasBeenSet; }
412 template <typename XavcHdIntraCbgProfileSettingsT = XavcHdIntraCbgProfileSettings>
413 void SetXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT&& value) {
414 m_xavcHdIntraCbgProfileSettingsHasBeenSet = true;
415 m_xavcHdIntraCbgProfileSettings = std::forward<XavcHdIntraCbgProfileSettingsT>(value);
416 }
417 template <typename XavcHdIntraCbgProfileSettingsT = XavcHdIntraCbgProfileSettings>
418 XavcSettings& WithXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT&& value) {
419 SetXavcHdIntraCbgProfileSettings(std::forward<XavcHdIntraCbgProfileSettingsT>(value));
420 return *this;
421 }
423
425
428 inline const XavcHdProfileSettings& GetXavcHdProfileSettings() const { return m_xavcHdProfileSettings; }
429 inline bool XavcHdProfileSettingsHasBeenSet() const { return m_xavcHdProfileSettingsHasBeenSet; }
430 template <typename XavcHdProfileSettingsT = XavcHdProfileSettings>
431 void SetXavcHdProfileSettings(XavcHdProfileSettingsT&& value) {
432 m_xavcHdProfileSettingsHasBeenSet = true;
433 m_xavcHdProfileSettings = std::forward<XavcHdProfileSettingsT>(value);
434 }
435 template <typename XavcHdProfileSettingsT = XavcHdProfileSettings>
436 XavcSettings& WithXavcHdProfileSettings(XavcHdProfileSettingsT&& value) {
437 SetXavcHdProfileSettings(std::forward<XavcHdProfileSettingsT>(value));
438 return *this;
439 }
441 private:
443
445
447
449
450 int m_framerateDenominator{0};
451
452 int m_framerateNumerator{0};
453
454 Aws::Vector<FrameMetricType> m_perFrameMetrics;
455
457
459
460 int m_softness{0};
461
463
465
466 Xavc4kIntraCbgProfileSettings m_xavc4kIntraCbgProfileSettings;
467
468 Xavc4kIntraVbrProfileSettings m_xavc4kIntraVbrProfileSettings;
469
470 Xavc4kProfileSettings m_xavc4kProfileSettings;
471
472 XavcHdIntraCbgProfileSettings m_xavcHdIntraCbgProfileSettings;
473
474 XavcHdProfileSettings m_xavcHdProfileSettings;
475 bool m_adaptiveQuantizationHasBeenSet = false;
476 bool m_entropyEncodingHasBeenSet = false;
477 bool m_framerateControlHasBeenSet = false;
478 bool m_framerateConversionAlgorithmHasBeenSet = false;
479 bool m_framerateDenominatorHasBeenSet = false;
480 bool m_framerateNumeratorHasBeenSet = false;
481 bool m_perFrameMetricsHasBeenSet = false;
482 bool m_profileHasBeenSet = false;
483 bool m_slowPalHasBeenSet = false;
484 bool m_softnessHasBeenSet = false;
485 bool m_spatialAdaptiveQuantizationHasBeenSet = false;
486 bool m_temporalAdaptiveQuantizationHasBeenSet = false;
487 bool m_xavc4kIntraCbgProfileSettingsHasBeenSet = false;
488 bool m_xavc4kIntraVbrProfileSettingsHasBeenSet = false;
489 bool m_xavc4kProfileSettingsHasBeenSet = false;
490 bool m_xavcHdIntraCbgProfileSettingsHasBeenSet = false;
491 bool m_xavcHdProfileSettingsHasBeenSet = false;
492};
493
494} // namespace Model
495} // namespace MediaConvert
496} // namespace Aws
void SetXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT &&value)
XavcSettings & WithXavcHdProfileSettings(XavcHdProfileSettingsT &&value)
const Xavc4kProfileSettings & GetXavc4kProfileSettings() const
void SetAdaptiveQuantization(XavcAdaptiveQuantization value)
AWS_MEDIACONVERT_API XavcSettings(Aws::Utils::Json::JsonView jsonValue)
void SetFramerateConversionAlgorithm(XavcFramerateConversionAlgorithm value)
void SetXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT &&value)
XavcSettings & WithPerFrameMetrics(PerFrameMetricsT &&value)
XavcAdaptiveQuantization GetAdaptiveQuantization() const
const Xavc4kIntraCbgProfileSettings & GetXavc4kIntraCbgProfileSettings() const
XavcSettings & WithXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT &&value)
XavcSettings & WithProfile(XavcProfile value)
XavcFramerateConversionAlgorithm GetFramerateConversionAlgorithm() const
const Xavc4kIntraVbrProfileSettings & GetXavc4kIntraVbrProfileSettings() const
void SetEntropyEncoding(XavcEntropyEncoding value)
XavcSettings & WithXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT &&value)
void SetSpatialAdaptiveQuantization(XavcSpatialAdaptiveQuantization value)
AWS_MEDIACONVERT_API XavcSettings()=default
const Aws::Vector< FrameMetricType > & GetPerFrameMetrics() const
void SetPerFrameMetrics(PerFrameMetricsT &&value)
XavcSettings & WithTemporalAdaptiveQuantization(XavcTemporalAdaptiveQuantization value)
XavcSettings & WithAdaptiveQuantization(XavcAdaptiveQuantization value)
XavcSettings & WithXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT &&value)
void SetTemporalAdaptiveQuantization(XavcTemporalAdaptiveQuantization value)
XavcSettings & WithFramerateNumerator(int value)
void SetFramerateControl(XavcFramerateControl value)
XavcSettings & WithFramerateConversionAlgorithm(XavcFramerateConversionAlgorithm value)
XavcTemporalAdaptiveQuantization GetTemporalAdaptiveQuantization() const
XavcFramerateControl GetFramerateControl() const
const XavcHdIntraCbgProfileSettings & GetXavcHdIntraCbgProfileSettings() const
XavcSettings & WithEntropyEncoding(XavcEntropyEncoding value)
XavcSettings & WithFramerateDenominator(int value)
XavcSettings & WithSoftness(int value)
AWS_MEDIACONVERT_API XavcSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
XavcSettings & WithFramerateControl(XavcFramerateControl value)
XavcEntropyEncoding GetEntropyEncoding() const
XavcSettings & WithSpatialAdaptiveQuantization(XavcSpatialAdaptiveQuantization value)
XavcSpatialAdaptiveQuantization GetSpatialAdaptiveQuantization() const
void SetXavc4kProfileSettings(Xavc4kProfileSettingsT &&value)
XavcSettings & WithSlowPal(XavcSlowPal value)
XavcSettings & AddPerFrameMetrics(FrameMetricType value)
XavcSettings & WithXavc4kProfileSettings(Xavc4kProfileSettingsT &&value)
void SetXavcHdProfileSettings(XavcHdProfileSettingsT &&value)
const XavcHdProfileSettings & GetXavcHdProfileSettings() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue