AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
XavcSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/XavcAdaptiveQuantization.h>
9#include <aws/mediaconvert/model/XavcEntropyEncoding.h>
10#include <aws/mediaconvert/model/XavcFramerateControl.h>
11#include <aws/mediaconvert/model/XavcFramerateConversionAlgorithm.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mediaconvert/model/XavcProfile.h>
14#include <aws/mediaconvert/model/XavcSlowPal.h>
15#include <aws/mediaconvert/model/XavcSpatialAdaptiveQuantization.h>
16#include <aws/mediaconvert/model/XavcTemporalAdaptiveQuantization.h>
17#include <aws/mediaconvert/model/Xavc4kIntraCbgProfileSettings.h>
18#include <aws/mediaconvert/model/Xavc4kIntraVbrProfileSettings.h>
19#include <aws/mediaconvert/model/Xavc4kProfileSettings.h>
20#include <aws/mediaconvert/model/XavcHdIntraCbgProfileSettings.h>
21#include <aws/mediaconvert/model/XavcHdProfileSettings.h>
22#include <aws/mediaconvert/model/FrameMetricType.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace MediaConvert
36{
37namespace Model
38{
39
46 {
47 public:
48 AWS_MEDIACONVERT_API XavcSettings() = default;
49 AWS_MEDIACONVERT_API XavcSettings(Aws::Utils::Json::JsonView jsonValue);
50 AWS_MEDIACONVERT_API XavcSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
67 inline XavcAdaptiveQuantization GetAdaptiveQuantization() const { return m_adaptiveQuantization; }
68 inline bool AdaptiveQuantizationHasBeenSet() const { return m_adaptiveQuantizationHasBeenSet; }
69 inline void SetAdaptiveQuantization(XavcAdaptiveQuantization value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = value; }
72
74
79 inline XavcEntropyEncoding GetEntropyEncoding() const { return m_entropyEncoding; }
80 inline bool EntropyEncodingHasBeenSet() const { return m_entropyEncodingHasBeenSet; }
81 inline void SetEntropyEncoding(XavcEntropyEncoding value) { m_entropyEncodingHasBeenSet = true; m_entropyEncoding = value; }
84
86
93 inline XavcFramerateControl GetFramerateControl() const { return m_framerateControl; }
94 inline bool FramerateControlHasBeenSet() const { return m_framerateControlHasBeenSet; }
95 inline void SetFramerateControl(XavcFramerateControl value) { m_framerateControlHasBeenSet = true; m_framerateControl = value; }
98
100
118 inline XavcFramerateConversionAlgorithm GetFramerateConversionAlgorithm() const { return m_framerateConversionAlgorithm; }
119 inline bool FramerateConversionAlgorithmHasBeenSet() const { return m_framerateConversionAlgorithmHasBeenSet; }
120 inline void SetFramerateConversionAlgorithm(XavcFramerateConversionAlgorithm value) { m_framerateConversionAlgorithmHasBeenSet = true; m_framerateConversionAlgorithm = value; }
123
125
133 inline int GetFramerateDenominator() const { return m_framerateDenominator; }
134 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
135 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
136 inline XavcSettings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
138
140
148 inline int GetFramerateNumerator() const { return m_framerateNumerator; }
149 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
150 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
151 inline XavcSettings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
153
155
174 inline const Aws::Vector<FrameMetricType>& GetPerFrameMetrics() const { return m_perFrameMetrics; }
175 inline bool PerFrameMetricsHasBeenSet() const { return m_perFrameMetricsHasBeenSet; }
176 template<typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
177 void SetPerFrameMetrics(PerFrameMetricsT&& value) { m_perFrameMetricsHasBeenSet = true; m_perFrameMetrics = std::forward<PerFrameMetricsT>(value); }
178 template<typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
179 XavcSettings& WithPerFrameMetrics(PerFrameMetricsT&& value) { SetPerFrameMetrics(std::forward<PerFrameMetricsT>(value)); return *this;}
180 inline XavcSettings& AddPerFrameMetrics(FrameMetricType value) { m_perFrameMetricsHasBeenSet = true; m_perFrameMetrics.push_back(value); return *this; }
182
184
190 inline XavcProfile GetProfile() const { return m_profile; }
191 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
192 inline void SetProfile(XavcProfile value) { m_profileHasBeenSet = true; m_profile = value; }
193 inline XavcSettings& WithProfile(XavcProfile value) { SetProfile(value); return *this;}
195
197
204 inline XavcSlowPal GetSlowPal() const { return m_slowPal; }
205 inline bool SlowPalHasBeenSet() const { return m_slowPalHasBeenSet; }
206 inline void SetSlowPal(XavcSlowPal value) { m_slowPalHasBeenSet = true; m_slowPal = value; }
207 inline XavcSettings& WithSlowPal(XavcSlowPal value) { SetSlowPal(value); return *this;}
209
211
222 inline int GetSoftness() const { return m_softness; }
223 inline bool SoftnessHasBeenSet() const { return m_softnessHasBeenSet; }
224 inline void SetSoftness(int value) { m_softnessHasBeenSet = true; m_softness = value; }
225 inline XavcSettings& WithSoftness(int value) { SetSoftness(value); return *this;}
227
229
250 inline XavcSpatialAdaptiveQuantization GetSpatialAdaptiveQuantization() const { return m_spatialAdaptiveQuantization; }
251 inline bool SpatialAdaptiveQuantizationHasBeenSet() const { return m_spatialAdaptiveQuantizationHasBeenSet; }
252 inline void SetSpatialAdaptiveQuantization(XavcSpatialAdaptiveQuantization value) { m_spatialAdaptiveQuantizationHasBeenSet = true; m_spatialAdaptiveQuantization = value; }
255
257
276 inline XavcTemporalAdaptiveQuantization GetTemporalAdaptiveQuantization() const { return m_temporalAdaptiveQuantization; }
277 inline bool TemporalAdaptiveQuantizationHasBeenSet() const { return m_temporalAdaptiveQuantizationHasBeenSet; }
278 inline void SetTemporalAdaptiveQuantization(XavcTemporalAdaptiveQuantization value) { m_temporalAdaptiveQuantizationHasBeenSet = true; m_temporalAdaptiveQuantization = value; }
281
283
286 inline const Xavc4kIntraCbgProfileSettings& GetXavc4kIntraCbgProfileSettings() const { return m_xavc4kIntraCbgProfileSettings; }
287 inline bool Xavc4kIntraCbgProfileSettingsHasBeenSet() const { return m_xavc4kIntraCbgProfileSettingsHasBeenSet; }
288 template<typename Xavc4kIntraCbgProfileSettingsT = Xavc4kIntraCbgProfileSettings>
289 void SetXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT&& value) { m_xavc4kIntraCbgProfileSettingsHasBeenSet = true; m_xavc4kIntraCbgProfileSettings = std::forward<Xavc4kIntraCbgProfileSettingsT>(value); }
290 template<typename Xavc4kIntraCbgProfileSettingsT = Xavc4kIntraCbgProfileSettings>
291 XavcSettings& WithXavc4kIntraCbgProfileSettings(Xavc4kIntraCbgProfileSettingsT&& value) { SetXavc4kIntraCbgProfileSettings(std::forward<Xavc4kIntraCbgProfileSettingsT>(value)); return *this;}
293
295
298 inline const Xavc4kIntraVbrProfileSettings& GetXavc4kIntraVbrProfileSettings() const { return m_xavc4kIntraVbrProfileSettings; }
299 inline bool Xavc4kIntraVbrProfileSettingsHasBeenSet() const { return m_xavc4kIntraVbrProfileSettingsHasBeenSet; }
300 template<typename Xavc4kIntraVbrProfileSettingsT = Xavc4kIntraVbrProfileSettings>
301 void SetXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT&& value) { m_xavc4kIntraVbrProfileSettingsHasBeenSet = true; m_xavc4kIntraVbrProfileSettings = std::forward<Xavc4kIntraVbrProfileSettingsT>(value); }
302 template<typename Xavc4kIntraVbrProfileSettingsT = Xavc4kIntraVbrProfileSettings>
303 XavcSettings& WithXavc4kIntraVbrProfileSettings(Xavc4kIntraVbrProfileSettingsT&& value) { SetXavc4kIntraVbrProfileSettings(std::forward<Xavc4kIntraVbrProfileSettingsT>(value)); return *this;}
305
307
310 inline const Xavc4kProfileSettings& GetXavc4kProfileSettings() const { return m_xavc4kProfileSettings; }
311 inline bool Xavc4kProfileSettingsHasBeenSet() const { return m_xavc4kProfileSettingsHasBeenSet; }
312 template<typename Xavc4kProfileSettingsT = Xavc4kProfileSettings>
313 void SetXavc4kProfileSettings(Xavc4kProfileSettingsT&& value) { m_xavc4kProfileSettingsHasBeenSet = true; m_xavc4kProfileSettings = std::forward<Xavc4kProfileSettingsT>(value); }
314 template<typename Xavc4kProfileSettingsT = Xavc4kProfileSettings>
315 XavcSettings& WithXavc4kProfileSettings(Xavc4kProfileSettingsT&& value) { SetXavc4kProfileSettings(std::forward<Xavc4kProfileSettingsT>(value)); return *this;}
317
319
322 inline const XavcHdIntraCbgProfileSettings& GetXavcHdIntraCbgProfileSettings() const { return m_xavcHdIntraCbgProfileSettings; }
323 inline bool XavcHdIntraCbgProfileSettingsHasBeenSet() const { return m_xavcHdIntraCbgProfileSettingsHasBeenSet; }
324 template<typename XavcHdIntraCbgProfileSettingsT = XavcHdIntraCbgProfileSettings>
325 void SetXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT&& value) { m_xavcHdIntraCbgProfileSettingsHasBeenSet = true; m_xavcHdIntraCbgProfileSettings = std::forward<XavcHdIntraCbgProfileSettingsT>(value); }
326 template<typename XavcHdIntraCbgProfileSettingsT = XavcHdIntraCbgProfileSettings>
327 XavcSettings& WithXavcHdIntraCbgProfileSettings(XavcHdIntraCbgProfileSettingsT&& value) { SetXavcHdIntraCbgProfileSettings(std::forward<XavcHdIntraCbgProfileSettingsT>(value)); return *this;}
329
331
334 inline const XavcHdProfileSettings& GetXavcHdProfileSettings() const { return m_xavcHdProfileSettings; }
335 inline bool XavcHdProfileSettingsHasBeenSet() const { return m_xavcHdProfileSettingsHasBeenSet; }
336 template<typename XavcHdProfileSettingsT = XavcHdProfileSettings>
337 void SetXavcHdProfileSettings(XavcHdProfileSettingsT&& value) { m_xavcHdProfileSettingsHasBeenSet = true; m_xavcHdProfileSettings = std::forward<XavcHdProfileSettingsT>(value); }
338 template<typename XavcHdProfileSettingsT = XavcHdProfileSettings>
339 XavcSettings& WithXavcHdProfileSettings(XavcHdProfileSettingsT&& value) { SetXavcHdProfileSettings(std::forward<XavcHdProfileSettingsT>(value)); return *this;}
341 private:
342
344 bool m_adaptiveQuantizationHasBeenSet = false;
345
347 bool m_entropyEncodingHasBeenSet = false;
348
350 bool m_framerateControlHasBeenSet = false;
351
353 bool m_framerateConversionAlgorithmHasBeenSet = false;
354
355 int m_framerateDenominator{0};
356 bool m_framerateDenominatorHasBeenSet = false;
357
358 int m_framerateNumerator{0};
359 bool m_framerateNumeratorHasBeenSet = false;
360
361 Aws::Vector<FrameMetricType> m_perFrameMetrics;
362 bool m_perFrameMetricsHasBeenSet = false;
363
365 bool m_profileHasBeenSet = false;
366
368 bool m_slowPalHasBeenSet = false;
369
370 int m_softness{0};
371 bool m_softnessHasBeenSet = false;
372
374 bool m_spatialAdaptiveQuantizationHasBeenSet = false;
375
377 bool m_temporalAdaptiveQuantizationHasBeenSet = false;
378
379 Xavc4kIntraCbgProfileSettings m_xavc4kIntraCbgProfileSettings;
380 bool m_xavc4kIntraCbgProfileSettingsHasBeenSet = false;
381
382 Xavc4kIntraVbrProfileSettings m_xavc4kIntraVbrProfileSettings;
383 bool m_xavc4kIntraVbrProfileSettingsHasBeenSet = false;
384
385 Xavc4kProfileSettings m_xavc4kProfileSettings;
386 bool m_xavc4kProfileSettingsHasBeenSet = false;
387
388 XavcHdIntraCbgProfileSettings m_xavcHdIntraCbgProfileSettings;
389 bool m_xavcHdIntraCbgProfileSettingsHasBeenSet = false;
390
391 XavcHdProfileSettings m_xavcHdProfileSettings;
392 bool m_xavcHdProfileSettingsHasBeenSet = false;
393 };
394
395} // namespace Model
396} // namespace MediaConvert
397} // 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