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/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioNormalizationAlgorithm.h>
9#include <aws/medialive/model/AudioNormalizationAlgorithmControl.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API AudioNormalizationSettings();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const AudioNormalizationAlgorithm& GetAlgorithm() const{ return m_algorithm; }
47 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
48 inline void SetAlgorithm(const AudioNormalizationAlgorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
49 inline void SetAlgorithm(AudioNormalizationAlgorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
51 inline AudioNormalizationSettings& WithAlgorithm(AudioNormalizationAlgorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
53
55
59 inline const AudioNormalizationAlgorithmControl& GetAlgorithmControl() const{ return m_algorithmControl; }
60 inline bool AlgorithmControlHasBeenSet() const { return m_algorithmControlHasBeenSet; }
61 inline void SetAlgorithmControl(const AudioNormalizationAlgorithmControl& value) { m_algorithmControlHasBeenSet = true; m_algorithmControl = value; }
62 inline void SetAlgorithmControl(AudioNormalizationAlgorithmControl&& value) { m_algorithmControlHasBeenSet = true; m_algorithmControl = std::move(value); }
66
68
74 inline double GetTargetLkfs() const{ return m_targetLkfs; }
75 inline bool TargetLkfsHasBeenSet() const { return m_targetLkfsHasBeenSet; }
76 inline void SetTargetLkfs(double value) { m_targetLkfsHasBeenSet = true; m_targetLkfs = value; }
77 inline AudioNormalizationSettings& WithTargetLkfs(double value) { SetTargetLkfs(value); return *this;}
79 private:
80
82 bool m_algorithmHasBeenSet = false;
83
84 AudioNormalizationAlgorithmControl m_algorithmControl;
85 bool m_algorithmControlHasBeenSet = false;
86
87 double m_targetLkfs;
88 bool m_targetLkfsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaLive
93} // namespace Aws
const AudioNormalizationAlgorithm & GetAlgorithm() const
AudioNormalizationSettings & WithAlgorithmControl(AudioNormalizationAlgorithmControl &&value)
AudioNormalizationSettings & WithAlgorithm(AudioNormalizationAlgorithm &&value)
AudioNormalizationSettings & WithTargetLkfs(double value)
AudioNormalizationSettings & WithAlgorithmControl(const AudioNormalizationAlgorithmControl &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAlgorithm(AudioNormalizationAlgorithm &&value)
AWS_MEDIALIVE_API AudioNormalizationSettings(Aws::Utils::Json::JsonView jsonValue)
void SetAlgorithmControl(AudioNormalizationAlgorithmControl &&value)
void SetAlgorithm(const AudioNormalizationAlgorithm &value)
void SetAlgorithmControl(const AudioNormalizationAlgorithmControl &value)
AudioNormalizationSettings & WithAlgorithm(const AudioNormalizationAlgorithm &value)
AWS_MEDIALIVE_API AudioNormalizationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const AudioNormalizationAlgorithmControl & GetAlgorithmControl() const
Aws::Utils::Json::JsonValue JsonValue