AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Ac3Settings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Ac3AttenuationControl.h>
9#include <aws/medialive/model/Ac3BitstreamMode.h>
10#include <aws/medialive/model/Ac3CodingMode.h>
11#include <aws/medialive/model/Ac3DrcProfile.h>
12#include <aws/medialive/model/Ac3LfeFilter.h>
13#include <aws/medialive/model/Ac3MetadataControl.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive {
25namespace Model {
26
33 public:
34 AWS_MEDIALIVE_API Ac3Settings() = default;
35 AWS_MEDIALIVE_API Ac3Settings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API Ac3Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline double GetBitrate() const { return m_bitrate; }
44 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
45 inline void SetBitrate(double value) {
46 m_bitrateHasBeenSet = true;
47 m_bitrate = value;
48 }
49 inline Ac3Settings& WithBitrate(double value) {
50 SetBitrate(value);
51 return *this;
52 }
54
56
60 inline Ac3BitstreamMode GetBitstreamMode() const { return m_bitstreamMode; }
61 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
63 m_bitstreamModeHasBeenSet = true;
64 m_bitstreamMode = value;
65 }
67 SetBitstreamMode(value);
68 return *this;
69 }
71
73
76 inline Ac3CodingMode GetCodingMode() const { return m_codingMode; }
77 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
78 inline void SetCodingMode(Ac3CodingMode value) {
79 m_codingModeHasBeenSet = true;
80 m_codingMode = value;
81 }
83 SetCodingMode(value);
84 return *this;
85 }
87
89
93 inline int GetDialnorm() const { return m_dialnorm; }
94 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
95 inline void SetDialnorm(int value) {
96 m_dialnormHasBeenSet = true;
97 m_dialnorm = value;
98 }
99 inline Ac3Settings& WithDialnorm(int value) {
100 SetDialnorm(value);
101 return *this;
102 }
104
106
110 inline Ac3DrcProfile GetDrcProfile() const { return m_drcProfile; }
111 inline bool DrcProfileHasBeenSet() const { return m_drcProfileHasBeenSet; }
112 inline void SetDrcProfile(Ac3DrcProfile value) {
113 m_drcProfileHasBeenSet = true;
114 m_drcProfile = value;
115 }
117 SetDrcProfile(value);
118 return *this;
119 }
121
123
127 inline Ac3LfeFilter GetLfeFilter() const { return m_lfeFilter; }
128 inline bool LfeFilterHasBeenSet() const { return m_lfeFilterHasBeenSet; }
129 inline void SetLfeFilter(Ac3LfeFilter value) {
130 m_lfeFilterHasBeenSet = true;
131 m_lfeFilter = value;
132 }
134 SetLfeFilter(value);
135 return *this;
136 }
138
140
145 inline Ac3MetadataControl GetMetadataControl() const { return m_metadataControl; }
146 inline bool MetadataControlHasBeenSet() const { return m_metadataControlHasBeenSet; }
148 m_metadataControlHasBeenSet = true;
149 m_metadataControl = value;
150 }
152 SetMetadataControl(value);
153 return *this;
154 }
156
158
162 inline Ac3AttenuationControl GetAttenuationControl() const { return m_attenuationControl; }
163 inline bool AttenuationControlHasBeenSet() const { return m_attenuationControlHasBeenSet; }
165 m_attenuationControlHasBeenSet = true;
166 m_attenuationControl = value;
167 }
170 return *this;
171 }
173 private:
174 double m_bitrate{0.0};
175
177
179
180 int m_dialnorm{0};
181
183
185
187
189 bool m_bitrateHasBeenSet = false;
190 bool m_bitstreamModeHasBeenSet = false;
191 bool m_codingModeHasBeenSet = false;
192 bool m_dialnormHasBeenSet = false;
193 bool m_drcProfileHasBeenSet = false;
194 bool m_lfeFilterHasBeenSet = false;
195 bool m_metadataControlHasBeenSet = false;
196 bool m_attenuationControlHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace MediaLive
201} // namespace Aws
void SetCodingMode(Ac3CodingMode value)
Definition Ac3Settings.h:78
Ac3CodingMode GetCodingMode() const
Definition Ac3Settings.h:76
Ac3AttenuationControl GetAttenuationControl() const
Ac3Settings & WithAttenuationControl(Ac3AttenuationControl value)
Ac3Settings & WithDrcProfile(Ac3DrcProfile value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API Ac3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Ac3Settings()=default
Ac3Settings & WithLfeFilter(Ac3LfeFilter value)
Ac3Settings & WithCodingMode(Ac3CodingMode value)
Definition Ac3Settings.h:82
Ac3Settings & WithMetadataControl(Ac3MetadataControl value)
Ac3Settings & WithDialnorm(int value)
Definition Ac3Settings.h:99
Ac3BitstreamMode GetBitstreamMode() const
Definition Ac3Settings.h:60
void SetLfeFilter(Ac3LfeFilter value)
Ac3Settings & WithBitstreamMode(Ac3BitstreamMode value)
Definition Ac3Settings.h:66
Ac3DrcProfile GetDrcProfile() const
Ac3Settings & WithBitrate(double value)
Definition Ac3Settings.h:49
AWS_MEDIALIVE_API Ac3Settings(Aws::Utils::Json::JsonView jsonValue)
void SetAttenuationControl(Ac3AttenuationControl value)
void SetBitstreamMode(Ac3BitstreamMode value)
Definition Ac3Settings.h:62
Ac3LfeFilter GetLfeFilter() const
void SetMetadataControl(Ac3MetadataControl value)
void SetDrcProfile(Ac3DrcProfile value)
Ac3MetadataControl GetMetadataControl() const
Aws::Utils::Json::JsonValue JsonValue