AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
Eac3Settings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Eac3AttenuationControl.h>
9#include <aws/medialive/model/Eac3BitstreamMode.h>
10#include <aws/medialive/model/Eac3CodingMode.h>
11#include <aws/medialive/model/Eac3DcFilter.h>
12#include <aws/medialive/model/Eac3DrcLine.h>
13#include <aws/medialive/model/Eac3DrcRf.h>
14#include <aws/medialive/model/Eac3LfeControl.h>
15#include <aws/medialive/model/Eac3LfeFilter.h>
16#include <aws/medialive/model/Eac3MetadataControl.h>
17#include <aws/medialive/model/Eac3PassthroughControl.h>
18#include <aws/medialive/model/Eac3PhaseControl.h>
19#include <aws/medialive/model/Eac3StereoDownmix.h>
20#include <aws/medialive/model/Eac3SurroundExMode.h>
21#include <aws/medialive/model/Eac3SurroundMode.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Json {
28class JsonValue;
29class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace MediaLive {
33namespace Model {
34
41 public:
42 AWS_MEDIALIVE_API Eac3Settings() = default;
43 AWS_MEDIALIVE_API Eac3Settings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIALIVE_API Eac3Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
52 inline Eac3AttenuationControl GetAttenuationControl() const { return m_attenuationControl; }
53 inline bool AttenuationControlHasBeenSet() const { return m_attenuationControlHasBeenSet; }
55 m_attenuationControlHasBeenSet = true;
56 m_attenuationControl = value;
57 }
60 return *this;
61 }
63
65
68 inline double GetBitrate() const { return m_bitrate; }
69 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
70 inline void SetBitrate(double value) {
71 m_bitrateHasBeenSet = true;
72 m_bitrate = value;
73 }
74 inline Eac3Settings& WithBitrate(double value) {
75 SetBitrate(value);
76 return *this;
77 }
79
81
85 inline Eac3BitstreamMode GetBitstreamMode() const { return m_bitstreamMode; }
86 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
88 m_bitstreamModeHasBeenSet = true;
89 m_bitstreamMode = value;
90 }
92 SetBitstreamMode(value);
93 return *this;
94 }
96
98
101 inline Eac3CodingMode GetCodingMode() const { return m_codingMode; }
102 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
103 inline void SetCodingMode(Eac3CodingMode value) {
104 m_codingModeHasBeenSet = true;
105 m_codingMode = value;
106 }
108 SetCodingMode(value);
109 return *this;
110 }
112
114
117 inline Eac3DcFilter GetDcFilter() const { return m_dcFilter; }
118 inline bool DcFilterHasBeenSet() const { return m_dcFilterHasBeenSet; }
119 inline void SetDcFilter(Eac3DcFilter value) {
120 m_dcFilterHasBeenSet = true;
121 m_dcFilter = value;
122 }
124 SetDcFilter(value);
125 return *this;
126 }
128
130
134 inline int GetDialnorm() const { return m_dialnorm; }
135 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
136 inline void SetDialnorm(int value) {
137 m_dialnormHasBeenSet = true;
138 m_dialnorm = value;
139 }
140 inline Eac3Settings& WithDialnorm(int value) {
141 SetDialnorm(value);
142 return *this;
143 }
145
147
150 inline Eac3DrcLine GetDrcLine() const { return m_drcLine; }
151 inline bool DrcLineHasBeenSet() const { return m_drcLineHasBeenSet; }
152 inline void SetDrcLine(Eac3DrcLine value) {
153 m_drcLineHasBeenSet = true;
154 m_drcLine = value;
155 }
157 SetDrcLine(value);
158 return *this;
159 }
161
163
167 inline Eac3DrcRf GetDrcRf() const { return m_drcRf; }
168 inline bool DrcRfHasBeenSet() const { return m_drcRfHasBeenSet; }
169 inline void SetDrcRf(Eac3DrcRf value) {
170 m_drcRfHasBeenSet = true;
171 m_drcRf = value;
172 }
174 SetDrcRf(value);
175 return *this;
176 }
178
180
183 inline Eac3LfeControl GetLfeControl() const { return m_lfeControl; }
184 inline bool LfeControlHasBeenSet() const { return m_lfeControlHasBeenSet; }
185 inline void SetLfeControl(Eac3LfeControl value) {
186 m_lfeControlHasBeenSet = true;
187 m_lfeControl = value;
188 }
190 SetLfeControl(value);
191 return *this;
192 }
194
196
200 inline Eac3LfeFilter GetLfeFilter() const { return m_lfeFilter; }
201 inline bool LfeFilterHasBeenSet() const { return m_lfeFilterHasBeenSet; }
202 inline void SetLfeFilter(Eac3LfeFilter value) {
203 m_lfeFilterHasBeenSet = true;
204 m_lfeFilter = value;
205 }
207 SetLfeFilter(value);
208 return *this;
209 }
211
213
216 inline double GetLoRoCenterMixLevel() const { return m_loRoCenterMixLevel; }
217 inline bool LoRoCenterMixLevelHasBeenSet() const { return m_loRoCenterMixLevelHasBeenSet; }
218 inline void SetLoRoCenterMixLevel(double value) {
219 m_loRoCenterMixLevelHasBeenSet = true;
220 m_loRoCenterMixLevel = value;
221 }
222 inline Eac3Settings& WithLoRoCenterMixLevel(double value) {
224 return *this;
225 }
227
229
232 inline double GetLoRoSurroundMixLevel() const { return m_loRoSurroundMixLevel; }
233 inline bool LoRoSurroundMixLevelHasBeenSet() const { return m_loRoSurroundMixLevelHasBeenSet; }
234 inline void SetLoRoSurroundMixLevel(double value) {
235 m_loRoSurroundMixLevelHasBeenSet = true;
236 m_loRoSurroundMixLevel = value;
237 }
240 return *this;
241 }
243
245
248 inline double GetLtRtCenterMixLevel() const { return m_ltRtCenterMixLevel; }
249 inline bool LtRtCenterMixLevelHasBeenSet() const { return m_ltRtCenterMixLevelHasBeenSet; }
250 inline void SetLtRtCenterMixLevel(double value) {
251 m_ltRtCenterMixLevelHasBeenSet = true;
252 m_ltRtCenterMixLevel = value;
253 }
254 inline Eac3Settings& WithLtRtCenterMixLevel(double value) {
256 return *this;
257 }
259
261
264 inline double GetLtRtSurroundMixLevel() const { return m_ltRtSurroundMixLevel; }
265 inline bool LtRtSurroundMixLevelHasBeenSet() const { return m_ltRtSurroundMixLevelHasBeenSet; }
266 inline void SetLtRtSurroundMixLevel(double value) {
267 m_ltRtSurroundMixLevelHasBeenSet = true;
268 m_ltRtSurroundMixLevel = value;
269 }
272 return *this;
273 }
275
277
282 inline Eac3MetadataControl GetMetadataControl() const { return m_metadataControl; }
283 inline bool MetadataControlHasBeenSet() const { return m_metadataControlHasBeenSet; }
285 m_metadataControlHasBeenSet = true;
286 m_metadataControl = value;
287 }
289 SetMetadataControl(value);
290 return *this;
291 }
293
295
301 inline Eac3PassthroughControl GetPassthroughControl() const { return m_passthroughControl; }
302 inline bool PassthroughControlHasBeenSet() const { return m_passthroughControlHasBeenSet; }
304 m_passthroughControlHasBeenSet = true;
305 m_passthroughControl = value;
306 }
309 return *this;
310 }
312
314
318 inline Eac3PhaseControl GetPhaseControl() const { return m_phaseControl; }
319 inline bool PhaseControlHasBeenSet() const { return m_phaseControlHasBeenSet; }
321 m_phaseControlHasBeenSet = true;
322 m_phaseControl = value;
323 }
325 SetPhaseControl(value);
326 return *this;
327 }
329
331
334 inline Eac3StereoDownmix GetStereoDownmix() const { return m_stereoDownmix; }
335 inline bool StereoDownmixHasBeenSet() const { return m_stereoDownmixHasBeenSet; }
337 m_stereoDownmixHasBeenSet = true;
338 m_stereoDownmix = value;
339 }
341 SetStereoDownmix(value);
342 return *this;
343 }
345
347
351 inline Eac3SurroundExMode GetSurroundExMode() const { return m_surroundExMode; }
352 inline bool SurroundExModeHasBeenSet() const { return m_surroundExModeHasBeenSet; }
354 m_surroundExModeHasBeenSet = true;
355 m_surroundExMode = value;
356 }
358 SetSurroundExMode(value);
359 return *this;
360 }
362
364
368 inline Eac3SurroundMode GetSurroundMode() const { return m_surroundMode; }
369 inline bool SurroundModeHasBeenSet() const { return m_surroundModeHasBeenSet; }
371 m_surroundModeHasBeenSet = true;
372 m_surroundMode = value;
373 }
375 SetSurroundMode(value);
376 return *this;
377 }
379 private:
381
382 double m_bitrate{0.0};
383
385
387
389
390 int m_dialnorm{0};
391
393
395
397
399
400 double m_loRoCenterMixLevel{0.0};
401
402 double m_loRoSurroundMixLevel{0.0};
403
404 double m_ltRtCenterMixLevel{0.0};
405
406 double m_ltRtSurroundMixLevel{0.0};
407
409
411
413
415
417
419 bool m_attenuationControlHasBeenSet = false;
420 bool m_bitrateHasBeenSet = false;
421 bool m_bitstreamModeHasBeenSet = false;
422 bool m_codingModeHasBeenSet = false;
423 bool m_dcFilterHasBeenSet = false;
424 bool m_dialnormHasBeenSet = false;
425 bool m_drcLineHasBeenSet = false;
426 bool m_drcRfHasBeenSet = false;
427 bool m_lfeControlHasBeenSet = false;
428 bool m_lfeFilterHasBeenSet = false;
429 bool m_loRoCenterMixLevelHasBeenSet = false;
430 bool m_loRoSurroundMixLevelHasBeenSet = false;
431 bool m_ltRtCenterMixLevelHasBeenSet = false;
432 bool m_ltRtSurroundMixLevelHasBeenSet = false;
433 bool m_metadataControlHasBeenSet = false;
434 bool m_passthroughControlHasBeenSet = false;
435 bool m_phaseControlHasBeenSet = false;
436 bool m_stereoDownmixHasBeenSet = false;
437 bool m_surroundExModeHasBeenSet = false;
438 bool m_surroundModeHasBeenSet = false;
439};
440
441} // namespace Model
442} // namespace MediaLive
443} // namespace Aws
Eac3MetadataControl GetMetadataControl() const
void SetSurroundExMode(Eac3SurroundExMode value)
Eac3Settings & WithDcFilter(Eac3DcFilter value)
AWS_MEDIALIVE_API Eac3Settings()=default
Eac3PassthroughControl GetPassthroughControl() const
void SetLoRoSurroundMixLevel(double value)
Eac3Settings & WithStereoDownmix(Eac3StereoDownmix value)
Eac3StereoDownmix GetStereoDownmix() const
void SetLfeFilter(Eac3LfeFilter value)
Eac3SurroundMode GetSurroundMode() const
Eac3Settings & WithLfeFilter(Eac3LfeFilter value)
Eac3SurroundExMode GetSurroundExMode() const
void SetSurroundMode(Eac3SurroundMode value)
Eac3LfeFilter GetLfeFilter() const
void SetBitstreamMode(Eac3BitstreamMode value)
Eac3Settings & WithPassthroughControl(Eac3PassthroughControl value)
Eac3LfeControl GetLfeControl() const
Eac3Settings & WithBitrate(double value)
Eac3Settings & WithSurroundExMode(Eac3SurroundExMode value)
Eac3PhaseControl GetPhaseControl() const
Eac3Settings & WithCodingMode(Eac3CodingMode value)
Eac3Settings & WithLoRoSurroundMixLevel(double value)
Eac3Settings & WithBitstreamMode(Eac3BitstreamMode value)
void SetLtRtSurroundMixLevel(double value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLtRtCenterMixLevel(double value)
Eac3Settings & WithDrcRf(Eac3DrcRf value)
Eac3Settings & WithDrcLine(Eac3DrcLine value)
void SetLoRoCenterMixLevel(double value)
Eac3Settings & WithAttenuationControl(Eac3AttenuationControl value)
void SetAttenuationControl(Eac3AttenuationControl value)
Eac3Settings & WithLfeControl(Eac3LfeControl value)
Eac3CodingMode GetCodingMode() const
Eac3Settings & WithLtRtCenterMixLevel(double value)
void SetPhaseControl(Eac3PhaseControl value)
void SetCodingMode(Eac3CodingMode value)
Eac3Settings & WithPhaseControl(Eac3PhaseControl value)
Eac3Settings & WithLtRtSurroundMixLevel(double value)
void SetDrcLine(Eac3DrcLine value)
void SetDcFilter(Eac3DcFilter value)
void SetMetadataControl(Eac3MetadataControl value)
Eac3Settings & WithLoRoCenterMixLevel(double value)
Eac3AttenuationControl GetAttenuationControl() const
Eac3BitstreamMode GetBitstreamMode() const
AWS_MEDIALIVE_API Eac3Settings(Aws::Utils::Json::JsonView jsonValue)
Eac3Settings & WithSurroundMode(Eac3SurroundMode value)
Eac3Settings & WithMetadataControl(Eac3MetadataControl value)
Eac3Settings & WithDialnorm(int value)
void SetLfeControl(Eac3LfeControl value)
AWS_MEDIALIVE_API Eac3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPassthroughControl(Eac3PassthroughControl value)
void SetStereoDownmix(Eac3StereoDownmix value)
Aws::Utils::Json::JsonValue JsonValue