AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
AudioNormalizationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioNormalizationAlgorithm.h>
9#include <aws/medialive/model/AudioNormalizationAlgorithmControl.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API AudioNormalizationSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline AudioNormalizationAlgorithm GetAlgorithm() const { return m_algorithm; }
41 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
43 m_algorithmHasBeenSet = true;
44 m_algorithm = value;
45 }
47 SetAlgorithm(value);
48 return *this;
49 }
51
53
57 inline AudioNormalizationAlgorithmControl GetAlgorithmControl() const { return m_algorithmControl; }
58 inline bool AlgorithmControlHasBeenSet() const { return m_algorithmControlHasBeenSet; }
60 m_algorithmControlHasBeenSet = true;
61 m_algorithmControl = value;
62 }
65 return *this;
66 }
68
70
75 inline double GetTargetLkfs() const { return m_targetLkfs; }
76 inline bool TargetLkfsHasBeenSet() const { return m_targetLkfsHasBeenSet; }
77 inline void SetTargetLkfs(double value) {
78 m_targetLkfsHasBeenSet = true;
79 m_targetLkfs = value;
80 }
82 SetTargetLkfs(value);
83 return *this;
84 }
86 private:
88
90
91 double m_targetLkfs{0.0};
92 bool m_algorithmHasBeenSet = false;
93 bool m_algorithmControlHasBeenSet = false;
94 bool m_targetLkfsHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace MediaLive
99} // namespace Aws
void SetAlgorithm(AudioNormalizationAlgorithm value)
AudioNormalizationAlgorithmControl GetAlgorithmControl() const
AudioNormalizationSettings & WithAlgorithmControl(AudioNormalizationAlgorithmControl value)
AudioNormalizationSettings & WithTargetLkfs(double value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API AudioNormalizationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioNormalizationSettings()=default
AWS_MEDIALIVE_API AudioNormalizationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlgorithmControl(AudioNormalizationAlgorithmControl value)
AudioNormalizationSettings & WithAlgorithm(AudioNormalizationAlgorithm value)
Aws::Utils::Json::JsonValue JsonValue