AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioNormalizationSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AudioNormalizationAlgorithm.h>
9#include <aws/mediaconvert/model/AudioNormalizationAlgorithmControl.h>
10#include <aws/mediaconvert/model/AudioNormalizationLoudnessLogging.h>
11#include <aws/mediaconvert/model/AudioNormalizationPeakCalculation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIACONVERT_API AudioNormalizationSettings();
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
57 inline const AudioNormalizationAlgorithm& GetAlgorithm() const{ return m_algorithm; }
58 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
59 inline void SetAlgorithm(const AudioNormalizationAlgorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
60 inline void SetAlgorithm(AudioNormalizationAlgorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
62 inline AudioNormalizationSettings& WithAlgorithm(AudioNormalizationAlgorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
64
66
70 inline const AudioNormalizationAlgorithmControl& GetAlgorithmControl() const{ return m_algorithmControl; }
71 inline bool AlgorithmControlHasBeenSet() const { return m_algorithmControlHasBeenSet; }
72 inline void SetAlgorithmControl(const AudioNormalizationAlgorithmControl& value) { m_algorithmControlHasBeenSet = true; m_algorithmControl = value; }
73 inline void SetAlgorithmControl(AudioNormalizationAlgorithmControl&& value) { m_algorithmControlHasBeenSet = true; m_algorithmControl = std::move(value); }
77
79
83 inline int GetCorrectionGateLevel() const{ return m_correctionGateLevel; }
84 inline bool CorrectionGateLevelHasBeenSet() const { return m_correctionGateLevelHasBeenSet; }
85 inline void SetCorrectionGateLevel(int value) { m_correctionGateLevelHasBeenSet = true; m_correctionGateLevel = value; }
88
90
93 inline const AudioNormalizationLoudnessLogging& GetLoudnessLogging() const{ return m_loudnessLogging; }
94 inline bool LoudnessLoggingHasBeenSet() const { return m_loudnessLoggingHasBeenSet; }
95 inline void SetLoudnessLogging(const AudioNormalizationLoudnessLogging& value) { m_loudnessLoggingHasBeenSet = true; m_loudnessLogging = value; }
96 inline void SetLoudnessLogging(AudioNormalizationLoudnessLogging&& value) { m_loudnessLoggingHasBeenSet = true; m_loudnessLogging = std::move(value); }
100
102
106 inline const AudioNormalizationPeakCalculation& GetPeakCalculation() const{ return m_peakCalculation; }
107 inline bool PeakCalculationHasBeenSet() const { return m_peakCalculationHasBeenSet; }
108 inline void SetPeakCalculation(const AudioNormalizationPeakCalculation& value) { m_peakCalculationHasBeenSet = true; m_peakCalculation = value; }
109 inline void SetPeakCalculation(AudioNormalizationPeakCalculation&& value) { m_peakCalculationHasBeenSet = true; m_peakCalculation = std::move(value); }
113
115
122 inline double GetTargetLkfs() const{ return m_targetLkfs; }
123 inline bool TargetLkfsHasBeenSet() const { return m_targetLkfsHasBeenSet; }
124 inline void SetTargetLkfs(double value) { m_targetLkfsHasBeenSet = true; m_targetLkfs = value; }
125 inline AudioNormalizationSettings& WithTargetLkfs(double value) { SetTargetLkfs(value); return *this;}
127
129
135 inline double GetTruePeakLimiterThreshold() const{ return m_truePeakLimiterThreshold; }
136 inline bool TruePeakLimiterThresholdHasBeenSet() const { return m_truePeakLimiterThresholdHasBeenSet; }
137 inline void SetTruePeakLimiterThreshold(double value) { m_truePeakLimiterThresholdHasBeenSet = true; m_truePeakLimiterThreshold = value; }
140 private:
141
142 AudioNormalizationAlgorithm m_algorithm;
143 bool m_algorithmHasBeenSet = false;
144
145 AudioNormalizationAlgorithmControl m_algorithmControl;
146 bool m_algorithmControlHasBeenSet = false;
147
148 int m_correctionGateLevel;
149 bool m_correctionGateLevelHasBeenSet = false;
150
151 AudioNormalizationLoudnessLogging m_loudnessLogging;
152 bool m_loudnessLoggingHasBeenSet = false;
153
154 AudioNormalizationPeakCalculation m_peakCalculation;
155 bool m_peakCalculationHasBeenSet = false;
156
157 double m_targetLkfs;
158 bool m_targetLkfsHasBeenSet = false;
159
160 double m_truePeakLimiterThreshold;
161 bool m_truePeakLimiterThresholdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace MediaConvert
166} // namespace Aws
const AudioNormalizationLoudnessLogging & GetLoudnessLogging() const
AudioNormalizationSettings & WithAlgorithm(const AudioNormalizationAlgorithm &value)
void SetLoudnessLogging(AudioNormalizationLoudnessLogging &&value)
AWS_MEDIACONVERT_API AudioNormalizationSettings(Aws::Utils::Json::JsonView jsonValue)
AudioNormalizationSettings & WithLoudnessLogging(AudioNormalizationLoudnessLogging &&value)
AudioNormalizationSettings & WithPeakCalculation(const AudioNormalizationPeakCalculation &value)
const AudioNormalizationPeakCalculation & GetPeakCalculation() const
AudioNormalizationSettings & WithLoudnessLogging(const AudioNormalizationLoudnessLogging &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPeakCalculation(AudioNormalizationPeakCalculation &&value)
const AudioNormalizationAlgorithmControl & GetAlgorithmControl() const
AWS_MEDIACONVERT_API AudioNormalizationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioNormalizationSettings & WithPeakCalculation(AudioNormalizationPeakCalculation &&value)
void SetLoudnessLogging(const AudioNormalizationLoudnessLogging &value)
void SetAlgorithm(AudioNormalizationAlgorithm &&value)
AudioNormalizationSettings & WithTruePeakLimiterThreshold(double value)
const AudioNormalizationAlgorithm & GetAlgorithm() const
AudioNormalizationSettings & WithCorrectionGateLevel(int value)
void SetPeakCalculation(const AudioNormalizationPeakCalculation &value)
void SetAlgorithmControl(AudioNormalizationAlgorithmControl &&value)
void SetAlgorithmControl(const AudioNormalizationAlgorithmControl &value)
AudioNormalizationSettings & WithTargetLkfs(double value)
AudioNormalizationSettings & WithAlgorithm(AudioNormalizationAlgorithm &&value)
AudioNormalizationSettings & WithAlgorithmControl(AudioNormalizationAlgorithmControl &&value)
void SetAlgorithm(const AudioNormalizationAlgorithm &value)
AudioNormalizationSettings & WithAlgorithmControl(const AudioNormalizationAlgorithmControl &value)
Aws::Utils::Json::JsonValue JsonValue