AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
57 inline AudioNormalizationAlgorithm GetAlgorithm() const { return m_algorithm; }
58 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
59 inline void SetAlgorithm(AudioNormalizationAlgorithm value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
62
64
68 inline AudioNormalizationAlgorithmControl GetAlgorithmControl() const { return m_algorithmControl; }
69 inline bool AlgorithmControlHasBeenSet() const { return m_algorithmControlHasBeenSet; }
70 inline void SetAlgorithmControl(AudioNormalizationAlgorithmControl value) { m_algorithmControlHasBeenSet = true; m_algorithmControl = value; }
73
75
79 inline int GetCorrectionGateLevel() const { return m_correctionGateLevel; }
80 inline bool CorrectionGateLevelHasBeenSet() const { return m_correctionGateLevelHasBeenSet; }
81 inline void SetCorrectionGateLevel(int value) { m_correctionGateLevelHasBeenSet = true; m_correctionGateLevel = value; }
84
86
89 inline AudioNormalizationLoudnessLogging GetLoudnessLogging() const { return m_loudnessLogging; }
90 inline bool LoudnessLoggingHasBeenSet() const { return m_loudnessLoggingHasBeenSet; }
91 inline void SetLoudnessLogging(AudioNormalizationLoudnessLogging value) { m_loudnessLoggingHasBeenSet = true; m_loudnessLogging = value; }
94
96
100 inline AudioNormalizationPeakCalculation GetPeakCalculation() const { return m_peakCalculation; }
101 inline bool PeakCalculationHasBeenSet() const { return m_peakCalculationHasBeenSet; }
102 inline void SetPeakCalculation(AudioNormalizationPeakCalculation value) { m_peakCalculationHasBeenSet = true; m_peakCalculation = value; }
105
107
114 inline double GetTargetLkfs() const { return m_targetLkfs; }
115 inline bool TargetLkfsHasBeenSet() const { return m_targetLkfsHasBeenSet; }
116 inline void SetTargetLkfs(double value) { m_targetLkfsHasBeenSet = true; m_targetLkfs = value; }
117 inline AudioNormalizationSettings& WithTargetLkfs(double value) { SetTargetLkfs(value); return *this;}
119
121
127 inline double GetTruePeakLimiterThreshold() const { return m_truePeakLimiterThreshold; }
128 inline bool TruePeakLimiterThresholdHasBeenSet() const { return m_truePeakLimiterThresholdHasBeenSet; }
129 inline void SetTruePeakLimiterThreshold(double value) { m_truePeakLimiterThresholdHasBeenSet = true; m_truePeakLimiterThreshold = value; }
132 private:
133
135 bool m_algorithmHasBeenSet = false;
136
138 bool m_algorithmControlHasBeenSet = false;
139
140 int m_correctionGateLevel{0};
141 bool m_correctionGateLevelHasBeenSet = false;
142
144 bool m_loudnessLoggingHasBeenSet = false;
145
147 bool m_peakCalculationHasBeenSet = false;
148
149 double m_targetLkfs{0.0};
150 bool m_targetLkfsHasBeenSet = false;
151
152 double m_truePeakLimiterThreshold{0.0};
153 bool m_truePeakLimiterThresholdHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace MediaConvert
158} // 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