AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert {
23namespace Model {
24
32 public:
33 AWS_MEDIACONVERT_API AudioNormalizationSettings() = default;
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
51 inline AudioNormalizationAlgorithm GetAlgorithm() const { return m_algorithm; }
52 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
54 m_algorithmHasBeenSet = true;
55 m_algorithm = value;
56 }
58 SetAlgorithm(value);
59 return *this;
60 }
62
64
68 inline AudioNormalizationAlgorithmControl GetAlgorithmControl() const { return m_algorithmControl; }
69 inline bool AlgorithmControlHasBeenSet() const { return m_algorithmControlHasBeenSet; }
71 m_algorithmControlHasBeenSet = true;
72 m_algorithmControl = value;
73 }
76 return *this;
77 }
79
81
85 inline int GetCorrectionGateLevel() const { return m_correctionGateLevel; }
86 inline bool CorrectionGateLevelHasBeenSet() const { return m_correctionGateLevelHasBeenSet; }
87 inline void SetCorrectionGateLevel(int value) {
88 m_correctionGateLevelHasBeenSet = true;
89 m_correctionGateLevel = value;
90 }
93 return *this;
94 }
96
98
101 inline AudioNormalizationLoudnessLogging GetLoudnessLogging() const { return m_loudnessLogging; }
102 inline bool LoudnessLoggingHasBeenSet() const { return m_loudnessLoggingHasBeenSet; }
104 m_loudnessLoggingHasBeenSet = true;
105 m_loudnessLogging = value;
106 }
108 SetLoudnessLogging(value);
109 return *this;
110 }
112
114
118 inline AudioNormalizationPeakCalculation GetPeakCalculation() const { return m_peakCalculation; }
119 inline bool PeakCalculationHasBeenSet() const { return m_peakCalculationHasBeenSet; }
121 m_peakCalculationHasBeenSet = true;
122 m_peakCalculation = value;
123 }
125 SetPeakCalculation(value);
126 return *this;
127 }
129
131
138 inline double GetTargetLkfs() const { return m_targetLkfs; }
139 inline bool TargetLkfsHasBeenSet() const { return m_targetLkfsHasBeenSet; }
140 inline void SetTargetLkfs(double value) {
141 m_targetLkfsHasBeenSet = true;
142 m_targetLkfs = value;
143 }
145 SetTargetLkfs(value);
146 return *this;
147 }
149
151
157 inline double GetTruePeakLimiterThreshold() const { return m_truePeakLimiterThreshold; }
158 inline bool TruePeakLimiterThresholdHasBeenSet() const { return m_truePeakLimiterThresholdHasBeenSet; }
159 inline void SetTruePeakLimiterThreshold(double value) {
160 m_truePeakLimiterThresholdHasBeenSet = true;
161 m_truePeakLimiterThreshold = value;
162 }
165 return *this;
166 }
168 private:
170
172
173 int m_correctionGateLevel{0};
174
176
178
179 double m_targetLkfs{0.0};
180
181 double m_truePeakLimiterThreshold{0.0};
182 bool m_algorithmHasBeenSet = false;
183 bool m_algorithmControlHasBeenSet = false;
184 bool m_correctionGateLevelHasBeenSet = false;
185 bool m_loudnessLoggingHasBeenSet = false;
186 bool m_peakCalculationHasBeenSet = false;
187 bool m_targetLkfsHasBeenSet = false;
188 bool m_truePeakLimiterThresholdHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace MediaConvert
193} // namespace Aws
AudioNormalizationSettings & WithPeakCalculation(AudioNormalizationPeakCalculation value)
AudioNormalizationAlgorithmControl GetAlgorithmControl() const
AWS_MEDIACONVERT_API AudioNormalizationSettings(Aws::Utils::Json::JsonView jsonValue)
AudioNormalizationSettings & WithLoudnessLogging(AudioNormalizationLoudnessLogging value)
AudioNormalizationSettings & WithAlgorithmControl(AudioNormalizationAlgorithmControl value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AudioNormalizationPeakCalculation GetPeakCalculation() const
AWS_MEDIACONVERT_API AudioNormalizationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioNormalizationSettings & WithTruePeakLimiterThreshold(double value)
AWS_MEDIACONVERT_API AudioNormalizationSettings()=default
void SetPeakCalculation(AudioNormalizationPeakCalculation value)
AudioNormalizationLoudnessLogging GetLoudnessLogging() const
AudioNormalizationSettings & WithAlgorithm(AudioNormalizationAlgorithm value)
void SetAlgorithmControl(AudioNormalizationAlgorithmControl value)
AudioNormalizationSettings & WithCorrectionGateLevel(int value)
AudioNormalizationSettings & WithTargetLkfs(double value)
void SetLoudnessLogging(AudioNormalizationLoudnessLogging value)
Aws::Utils::Json::JsonValue JsonValue