AWS SDK for C++

AWS SDK for C++ Version 1.11.774

Loading...
Searching...
No Matches
Ac4Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Ac4BitstreamMode.h>
9#include <aws/mediaconvert/model/Ac4CodingMode.h>
10#include <aws/mediaconvert/model/Ac4DynamicRangeCompressionDrcProfile.h>
11#include <aws/mediaconvert/model/Ac4StereoDownmix.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert {
23namespace Model {
24
31 public:
32 AWS_MEDIACONVERT_API Ac4Settings() = default;
33 AWS_MEDIACONVERT_API Ac4Settings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Ac4Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
48 inline int GetBitrate() const { return m_bitrate; }
49 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
50 inline void SetBitrate(int value) {
51 m_bitrateHasBeenSet = true;
52 m_bitrate = value;
53 }
54 inline Ac4Settings& WithBitrate(int value) {
55 SetBitrate(value);
56 return *this;
57 }
59
61
67 inline Ac4BitstreamMode GetBitstreamMode() const { return m_bitstreamMode; }
68 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
70 m_bitstreamModeHasBeenSet = true;
71 m_bitstreamMode = value;
72 }
74 SetBitstreamMode(value);
75 return *this;
76 }
78
80
87 inline Ac4CodingMode GetCodingMode() const { return m_codingMode; }
88 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
89 inline void SetCodingMode(Ac4CodingMode value) {
90 m_codingModeHasBeenSet = true;
91 m_codingMode = value;
92 }
94 SetCodingMode(value);
95 return *this;
96 }
98
100
106 inline Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionFlatPanelTv() const { return m_dynamicRangeCompressionFlatPanelTv; }
107 inline bool DynamicRangeCompressionFlatPanelTvHasBeenSet() const { return m_dynamicRangeCompressionFlatPanelTvHasBeenSet; }
109 m_dynamicRangeCompressionFlatPanelTvHasBeenSet = true;
110 m_dynamicRangeCompressionFlatPanelTv = value;
111 }
114 return *this;
115 }
117
119
125 inline Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionHomeTheater() const { return m_dynamicRangeCompressionHomeTheater; }
126 inline bool DynamicRangeCompressionHomeTheaterHasBeenSet() const { return m_dynamicRangeCompressionHomeTheaterHasBeenSet; }
128 m_dynamicRangeCompressionHomeTheaterHasBeenSet = true;
129 m_dynamicRangeCompressionHomeTheater = value;
130 }
133 return *this;
134 }
136
138
145 return m_dynamicRangeCompressionPortableHeadphones;
146 }
147 inline bool DynamicRangeCompressionPortableHeadphonesHasBeenSet() const { return m_dynamicRangeCompressionPortableHeadphonesHasBeenSet; }
149 m_dynamicRangeCompressionPortableHeadphonesHasBeenSet = true;
150 m_dynamicRangeCompressionPortableHeadphones = value;
151 }
154 return *this;
155 }
157
159
166 return m_dynamicRangeCompressionPortableSpeakers;
167 }
168 inline bool DynamicRangeCompressionPortableSpeakersHasBeenSet() const { return m_dynamicRangeCompressionPortableSpeakersHasBeenSet; }
170 m_dynamicRangeCompressionPortableSpeakersHasBeenSet = true;
171 m_dynamicRangeCompressionPortableSpeakers = value;
172 }
175 return *this;
176 }
178
180
190 inline double GetLoRoCenterMixLevel() const { return m_loRoCenterMixLevel; }
191 inline bool LoRoCenterMixLevelHasBeenSet() const { return m_loRoCenterMixLevelHasBeenSet; }
192 inline void SetLoRoCenterMixLevel(double value) {
193 m_loRoCenterMixLevelHasBeenSet = true;
194 m_loRoCenterMixLevel = value;
195 }
196 inline Ac4Settings& WithLoRoCenterMixLevel(double value) {
198 return *this;
199 }
201
203
212 inline double GetLoRoSurroundMixLevel() const { return m_loRoSurroundMixLevel; }
213 inline bool LoRoSurroundMixLevelHasBeenSet() const { return m_loRoSurroundMixLevelHasBeenSet; }
214 inline void SetLoRoSurroundMixLevel(double value) {
215 m_loRoSurroundMixLevelHasBeenSet = true;
216 m_loRoSurroundMixLevel = value;
217 }
218 inline Ac4Settings& WithLoRoSurroundMixLevel(double value) {
220 return *this;
221 }
223
225
235 inline double GetLtRtCenterMixLevel() const { return m_ltRtCenterMixLevel; }
236 inline bool LtRtCenterMixLevelHasBeenSet() const { return m_ltRtCenterMixLevelHasBeenSet; }
237 inline void SetLtRtCenterMixLevel(double value) {
238 m_ltRtCenterMixLevelHasBeenSet = true;
239 m_ltRtCenterMixLevel = value;
240 }
241 inline Ac4Settings& WithLtRtCenterMixLevel(double value) {
243 return *this;
244 }
246
248
257 inline double GetLtRtSurroundMixLevel() const { return m_ltRtSurroundMixLevel; }
258 inline bool LtRtSurroundMixLevelHasBeenSet() const { return m_ltRtSurroundMixLevelHasBeenSet; }
259 inline void SetLtRtSurroundMixLevel(double value) {
260 m_ltRtSurroundMixLevelHasBeenSet = true;
261 m_ltRtSurroundMixLevel = value;
262 }
263 inline Ac4Settings& WithLtRtSurroundMixLevel(double value) {
265 return *this;
266 }
268
270
273 inline int GetSampleRate() const { return m_sampleRate; }
274 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
275 inline void SetSampleRate(int value) {
276 m_sampleRateHasBeenSet = true;
277 m_sampleRate = value;
278 }
279 inline Ac4Settings& WithSampleRate(int value) {
280 SetSampleRate(value);
281 return *this;
282 }
284
286
290 inline Ac4StereoDownmix GetStereoDownmix() const { return m_stereoDownmix; }
291 inline bool StereoDownmixHasBeenSet() const { return m_stereoDownmixHasBeenSet; }
293 m_stereoDownmixHasBeenSet = true;
294 m_stereoDownmix = value;
295 }
297 SetStereoDownmix(value);
298 return *this;
299 }
301 private:
302 int m_bitrate{0};
303
305
307
309
311
313
315
316 double m_loRoCenterMixLevel{0.0};
317
318 double m_loRoSurroundMixLevel{0.0};
319
320 double m_ltRtCenterMixLevel{0.0};
321
322 double m_ltRtSurroundMixLevel{0.0};
323
324 int m_sampleRate{0};
325
327 bool m_bitrateHasBeenSet = false;
328 bool m_bitstreamModeHasBeenSet = false;
329 bool m_codingModeHasBeenSet = false;
330 bool m_dynamicRangeCompressionFlatPanelTvHasBeenSet = false;
331 bool m_dynamicRangeCompressionHomeTheaterHasBeenSet = false;
332 bool m_dynamicRangeCompressionPortableHeadphonesHasBeenSet = false;
333 bool m_dynamicRangeCompressionPortableSpeakersHasBeenSet = false;
334 bool m_loRoCenterMixLevelHasBeenSet = false;
335 bool m_loRoSurroundMixLevelHasBeenSet = false;
336 bool m_ltRtCenterMixLevelHasBeenSet = false;
337 bool m_ltRtSurroundMixLevelHasBeenSet = false;
338 bool m_sampleRateHasBeenSet = false;
339 bool m_stereoDownmixHasBeenSet = false;
340};
341
342} // namespace Model
343} // namespace MediaConvert
344} // namespace Aws
void SetDynamicRangeCompressionHomeTheater(Ac4DynamicRangeCompressionDrcProfile value)
Ac4Settings & WithLtRtSurroundMixLevel(double value)
Ac4Settings & WithCodingMode(Ac4CodingMode value)
Definition Ac4Settings.h:93
AWS_MEDIACONVERT_API Ac4Settings(Aws::Utils::Json::JsonView jsonValue)
Ac4Settings & WithDynamicRangeCompressionPortableHeadphones(Ac4DynamicRangeCompressionDrcProfile value)
Ac4CodingMode GetCodingMode() const
Definition Ac4Settings.h:87
void SetDynamicRangeCompressionPortableSpeakers(Ac4DynamicRangeCompressionDrcProfile value)
bool DynamicRangeCompressionFlatPanelTvHasBeenSet() const
bool DynamicRangeCompressionHomeTheaterHasBeenSet() const
void SetDynamicRangeCompressionPortableHeadphones(Ac4DynamicRangeCompressionDrcProfile value)
Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionHomeTheater() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Ac4Settings & WithLtRtCenterMixLevel(double value)
AWS_MEDIACONVERT_API Ac4Settings()=default
Ac4Settings & WithLoRoCenterMixLevel(double value)
Ac4Settings & WithSampleRate(int value)
bool DynamicRangeCompressionPortableHeadphonesHasBeenSet() const
void SetLtRtSurroundMixLevel(double value)
Ac4Settings & WithLoRoSurroundMixLevel(double value)
Ac4Settings & WithBitstreamMode(Ac4BitstreamMode value)
Definition Ac4Settings.h:73
Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionPortableSpeakers() const
Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionPortableHeadphones() const
AWS_MEDIACONVERT_API Ac4Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Ac4Settings & WithStereoDownmix(Ac4StereoDownmix value)
Ac4Settings & WithDynamicRangeCompressionFlatPanelTv(Ac4DynamicRangeCompressionDrcProfile value)
Ac4StereoDownmix GetStereoDownmix() const
void SetStereoDownmix(Ac4StereoDownmix value)
Ac4DynamicRangeCompressionDrcProfile GetDynamicRangeCompressionFlatPanelTv() const
Ac4Settings & WithDynamicRangeCompressionHomeTheater(Ac4DynamicRangeCompressionDrcProfile value)
bool DynamicRangeCompressionPortableSpeakersHasBeenSet() const
Ac4Settings & WithBitrate(int value)
Definition Ac4Settings.h:54
void SetBitstreamMode(Ac4BitstreamMode value)
Definition Ac4Settings.h:69
Ac4BitstreamMode GetBitstreamMode() const
Definition Ac4Settings.h:67
void SetCodingMode(Ac4CodingMode value)
Definition Ac4Settings.h:89
void SetDynamicRangeCompressionFlatPanelTv(Ac4DynamicRangeCompressionDrcProfile value)
Ac4Settings & WithDynamicRangeCompressionPortableSpeakers(Ac4DynamicRangeCompressionDrcProfile value)
void SetLoRoSurroundMixLevel(double value)
Aws::Utils::Json::JsonValue JsonValue