AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Eac3Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Eac3AttenuationControl.h>
9#include <aws/mediaconvert/model/Eac3BitstreamMode.h>
10#include <aws/mediaconvert/model/Eac3CodingMode.h>
11#include <aws/mediaconvert/model/Eac3DcFilter.h>
12#include <aws/mediaconvert/model/Eac3DynamicRangeCompressionLine.h>
13#include <aws/mediaconvert/model/Eac3DynamicRangeCompressionRf.h>
14#include <aws/mediaconvert/model/Eac3LfeControl.h>
15#include <aws/mediaconvert/model/Eac3LfeFilter.h>
16#include <aws/mediaconvert/model/Eac3MetadataControl.h>
17#include <aws/mediaconvert/model/Eac3PassthroughControl.h>
18#include <aws/mediaconvert/model/Eac3PhaseControl.h>
19#include <aws/mediaconvert/model/Eac3StereoDownmix.h>
20#include <aws/mediaconvert/model/Eac3SurroundExMode.h>
21#include <aws/mediaconvert/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 MediaConvert {
33namespace Model {
34
41 public:
42 AWS_MEDIACONVERT_API Eac3Settings() = default;
43 AWS_MEDIACONVERT_API Eac3Settings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Eac3Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_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
74 inline int GetBitrate() const { return m_bitrate; }
75 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
76 inline void SetBitrate(int value) {
77 m_bitrateHasBeenSet = true;
78 m_bitrate = value;
79 }
80 inline Eac3Settings& WithBitrate(int value) {
81 SetBitrate(value);
82 return *this;
83 }
85
87
91 inline Eac3BitstreamMode GetBitstreamMode() const { return m_bitstreamMode; }
92 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
94 m_bitstreamModeHasBeenSet = true;
95 m_bitstreamMode = value;
96 }
98 SetBitstreamMode(value);
99 return *this;
100 }
102
104
107 inline Eac3CodingMode GetCodingMode() const { return m_codingMode; }
108 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
109 inline void SetCodingMode(Eac3CodingMode value) {
110 m_codingModeHasBeenSet = true;
111 m_codingMode = value;
112 }
114 SetCodingMode(value);
115 return *this;
116 }
118
120
123 inline Eac3DcFilter GetDcFilter() const { return m_dcFilter; }
124 inline bool DcFilterHasBeenSet() const { return m_dcFilterHasBeenSet; }
125 inline void SetDcFilter(Eac3DcFilter value) {
126 m_dcFilterHasBeenSet = true;
127 m_dcFilter = value;
128 }
130 SetDcFilter(value);
131 return *this;
132 }
134
136
140 inline int GetDialnorm() const { return m_dialnorm; }
141 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
142 inline void SetDialnorm(int value) {
143 m_dialnormHasBeenSet = true;
144 m_dialnorm = value;
145 }
146 inline Eac3Settings& WithDialnorm(int value) {
147 SetDialnorm(value);
148 return *this;
149 }
151
153
162 inline Eac3DynamicRangeCompressionLine GetDynamicRangeCompressionLine() const { return m_dynamicRangeCompressionLine; }
163 inline bool DynamicRangeCompressionLineHasBeenSet() const { return m_dynamicRangeCompressionLineHasBeenSet; }
165 m_dynamicRangeCompressionLineHasBeenSet = true;
166 m_dynamicRangeCompressionLine = value;
167 }
170 return *this;
171 }
173
175
184 inline Eac3DynamicRangeCompressionRf GetDynamicRangeCompressionRf() const { return m_dynamicRangeCompressionRf; }
185 inline bool DynamicRangeCompressionRfHasBeenSet() const { return m_dynamicRangeCompressionRfHasBeenSet; }
187 m_dynamicRangeCompressionRfHasBeenSet = true;
188 m_dynamicRangeCompressionRf = value;
189 }
192 return *this;
193 }
195
197
200 inline Eac3LfeControl GetLfeControl() const { return m_lfeControl; }
201 inline bool LfeControlHasBeenSet() const { return m_lfeControlHasBeenSet; }
202 inline void SetLfeControl(Eac3LfeControl value) {
203 m_lfeControlHasBeenSet = true;
204 m_lfeControl = value;
205 }
207 SetLfeControl(value);
208 return *this;
209 }
211
213
217 inline Eac3LfeFilter GetLfeFilter() const { return m_lfeFilter; }
218 inline bool LfeFilterHasBeenSet() const { return m_lfeFilterHasBeenSet; }
219 inline void SetLfeFilter(Eac3LfeFilter value) {
220 m_lfeFilterHasBeenSet = true;
221 m_lfeFilter = value;
222 }
224 SetLfeFilter(value);
225 return *this;
226 }
228
230
239 inline double GetLoRoCenterMixLevel() const { return m_loRoCenterMixLevel; }
240 inline bool LoRoCenterMixLevelHasBeenSet() const { return m_loRoCenterMixLevelHasBeenSet; }
241 inline void SetLoRoCenterMixLevel(double value) {
242 m_loRoCenterMixLevelHasBeenSet = true;
243 m_loRoCenterMixLevel = value;
244 }
245 inline Eac3Settings& WithLoRoCenterMixLevel(double value) {
247 return *this;
248 }
250
252
261 inline double GetLoRoSurroundMixLevel() const { return m_loRoSurroundMixLevel; }
262 inline bool LoRoSurroundMixLevelHasBeenSet() const { return m_loRoSurroundMixLevelHasBeenSet; }
263 inline void SetLoRoSurroundMixLevel(double value) {
264 m_loRoSurroundMixLevelHasBeenSet = true;
265 m_loRoSurroundMixLevel = value;
266 }
269 return *this;
270 }
272
274
283 inline double GetLtRtCenterMixLevel() const { return m_ltRtCenterMixLevel; }
284 inline bool LtRtCenterMixLevelHasBeenSet() const { return m_ltRtCenterMixLevelHasBeenSet; }
285 inline void SetLtRtCenterMixLevel(double value) {
286 m_ltRtCenterMixLevelHasBeenSet = true;
287 m_ltRtCenterMixLevel = value;
288 }
289 inline Eac3Settings& WithLtRtCenterMixLevel(double value) {
291 return *this;
292 }
294
296
305 inline double GetLtRtSurroundMixLevel() const { return m_ltRtSurroundMixLevel; }
306 inline bool LtRtSurroundMixLevelHasBeenSet() const { return m_ltRtSurroundMixLevelHasBeenSet; }
307 inline void SetLtRtSurroundMixLevel(double value) {
308 m_ltRtSurroundMixLevelHasBeenSet = true;
309 m_ltRtSurroundMixLevel = value;
310 }
313 return *this;
314 }
316
318
323 inline Eac3MetadataControl GetMetadataControl() const { return m_metadataControl; }
324 inline bool MetadataControlHasBeenSet() const { return m_metadataControlHasBeenSet; }
326 m_metadataControlHasBeenSet = true;
327 m_metadataControl = value;
328 }
330 SetMetadataControl(value);
331 return *this;
332 }
334
336
342 inline Eac3PassthroughControl GetPassthroughControl() const { return m_passthroughControl; }
343 inline bool PassthroughControlHasBeenSet() const { return m_passthroughControlHasBeenSet; }
345 m_passthroughControlHasBeenSet = true;
346 m_passthroughControl = value;
347 }
350 return *this;
351 }
353
355
359 inline Eac3PhaseControl GetPhaseControl() const { return m_phaseControl; }
360 inline bool PhaseControlHasBeenSet() const { return m_phaseControlHasBeenSet; }
362 m_phaseControlHasBeenSet = true;
363 m_phaseControl = value;
364 }
366 SetPhaseControl(value);
367 return *this;
368 }
370
372
375 inline int GetSampleRate() const { return m_sampleRate; }
376 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
377 inline void SetSampleRate(int value) {
378 m_sampleRateHasBeenSet = true;
379 m_sampleRate = value;
380 }
381 inline Eac3Settings& WithSampleRate(int value) {
382 SetSampleRate(value);
383 return *this;
384 }
386
388
394 inline Eac3StereoDownmix GetStereoDownmix() const { return m_stereoDownmix; }
395 inline bool StereoDownmixHasBeenSet() const { return m_stereoDownmixHasBeenSet; }
397 m_stereoDownmixHasBeenSet = true;
398 m_stereoDownmix = value;
399 }
401 SetStereoDownmix(value);
402 return *this;
403 }
405
407
411 inline Eac3SurroundExMode GetSurroundExMode() const { return m_surroundExMode; }
412 inline bool SurroundExModeHasBeenSet() const { return m_surroundExModeHasBeenSet; }
414 m_surroundExModeHasBeenSet = true;
415 m_surroundExMode = value;
416 }
418 SetSurroundExMode(value);
419 return *this;
420 }
422
424
428 inline Eac3SurroundMode GetSurroundMode() const { return m_surroundMode; }
429 inline bool SurroundModeHasBeenSet() const { return m_surroundModeHasBeenSet; }
431 m_surroundModeHasBeenSet = true;
432 m_surroundMode = value;
433 }
435 SetSurroundMode(value);
436 return *this;
437 }
439 private:
441
442 int m_bitrate{0};
443
445
447
449
450 int m_dialnorm{0};
451
453
455
457
459
460 double m_loRoCenterMixLevel{0.0};
461
462 double m_loRoSurroundMixLevel{0.0};
463
464 double m_ltRtCenterMixLevel{0.0};
465
466 double m_ltRtSurroundMixLevel{0.0};
467
469
471
473
474 int m_sampleRate{0};
475
477
479
481 bool m_attenuationControlHasBeenSet = false;
482 bool m_bitrateHasBeenSet = false;
483 bool m_bitstreamModeHasBeenSet = false;
484 bool m_codingModeHasBeenSet = false;
485 bool m_dcFilterHasBeenSet = false;
486 bool m_dialnormHasBeenSet = false;
487 bool m_dynamicRangeCompressionLineHasBeenSet = false;
488 bool m_dynamicRangeCompressionRfHasBeenSet = false;
489 bool m_lfeControlHasBeenSet = false;
490 bool m_lfeFilterHasBeenSet = false;
491 bool m_loRoCenterMixLevelHasBeenSet = false;
492 bool m_loRoSurroundMixLevelHasBeenSet = false;
493 bool m_ltRtCenterMixLevelHasBeenSet = false;
494 bool m_ltRtSurroundMixLevelHasBeenSet = false;
495 bool m_metadataControlHasBeenSet = false;
496 bool m_passthroughControlHasBeenSet = false;
497 bool m_phaseControlHasBeenSet = false;
498 bool m_sampleRateHasBeenSet = false;
499 bool m_stereoDownmixHasBeenSet = false;
500 bool m_surroundExModeHasBeenSet = false;
501 bool m_surroundModeHasBeenSet = false;
502};
503
504} // namespace Model
505} // namespace MediaConvert
506} // namespace Aws
void SetDynamicRangeCompressionRf(Eac3DynamicRangeCompressionRf value)
void SetDynamicRangeCompressionLine(Eac3DynamicRangeCompressionLine value)
void SetPhaseControl(Eac3PhaseControl value)
Eac3Settings & WithLoRoCenterMixLevel(double value)
Eac3Settings & WithDialnorm(int value)
Eac3Settings & WithLfeFilter(Eac3LfeFilter value)
Eac3Settings & WithMetadataControl(Eac3MetadataControl value)
AWS_MEDIACONVERT_API Eac3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Eac3DynamicRangeCompressionRf GetDynamicRangeCompressionRf() const
void SetMetadataControl(Eac3MetadataControl value)
void SetDcFilter(Eac3DcFilter value)
void SetCodingMode(Eac3CodingMode value)
Eac3Settings & WithBitrate(int value)
void SetAttenuationControl(Eac3AttenuationControl value)
Eac3Settings & WithBitstreamMode(Eac3BitstreamMode value)
AWS_MEDIACONVERT_API Eac3Settings()=default
Eac3DynamicRangeCompressionLine GetDynamicRangeCompressionLine() const
Eac3SurroundExMode GetSurroundExMode() const
Eac3Settings & WithPhaseControl(Eac3PhaseControl value)
AWS_MEDIACONVERT_API Eac3Settings(Aws::Utils::Json::JsonView jsonValue)
Eac3Settings & WithLfeControl(Eac3LfeControl value)
void SetSurroundExMode(Eac3SurroundExMode value)
Eac3Settings & WithStereoDownmix(Eac3StereoDownmix value)
Eac3Settings & WithPassthroughControl(Eac3PassthroughControl value)
Eac3PassthroughControl GetPassthroughControl() const
Eac3Settings & WithSurroundExMode(Eac3SurroundExMode value)
Eac3AttenuationControl GetAttenuationControl() const
void SetSurroundMode(Eac3SurroundMode value)
Eac3Settings & WithAttenuationControl(Eac3AttenuationControl value)
void SetLfeControl(Eac3LfeControl value)
Eac3Settings & WithLtRtSurroundMixLevel(double value)
Eac3Settings & WithLoRoSurroundMixLevel(double value)
Eac3MetadataControl GetMetadataControl() const
Eac3Settings & WithDynamicRangeCompressionRf(Eac3DynamicRangeCompressionRf value)
Eac3SurroundMode GetSurroundMode() const
Eac3Settings & WithSampleRate(int value)
Eac3StereoDownmix GetStereoDownmix() const
Eac3PhaseControl GetPhaseControl() const
Eac3Settings & WithCodingMode(Eac3CodingMode value)
void SetLfeFilter(Eac3LfeFilter value)
void SetStereoDownmix(Eac3StereoDownmix value)
Eac3BitstreamMode GetBitstreamMode() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Eac3Settings & WithDcFilter(Eac3DcFilter value)
Eac3Settings & WithLtRtCenterMixLevel(double value)
void SetBitstreamMode(Eac3BitstreamMode value)
void SetPassthroughControl(Eac3PassthroughControl value)
Eac3Settings & WithDynamicRangeCompressionLine(Eac3DynamicRangeCompressionLine value)
Eac3Settings & WithSurroundMode(Eac3SurroundMode value)
Aws::Utils::Json::JsonValue JsonValue