AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Eac3AtmosSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Eac3AtmosCodingMode.h>
9#include <aws/medialive/model/Eac3AtmosDrcLine.h>
10#include <aws/medialive/model/Eac3AtmosDrcRf.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API Eac3AtmosSettings() = default;
32 AWS_MEDIALIVE_API Eac3AtmosSettings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline double GetBitrate() const { return m_bitrate; }
41 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
42 inline void SetBitrate(double value) {
43 m_bitrateHasBeenSet = true;
44 m_bitrate = value;
45 }
46 inline Eac3AtmosSettings& WithBitrate(double value) {
47 SetBitrate(value);
48 return *this;
49 }
51
53
56 inline Eac3AtmosCodingMode GetCodingMode() const { return m_codingMode; }
57 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
59 m_codingModeHasBeenSet = true;
60 m_codingMode = value;
61 }
63 SetCodingMode(value);
64 return *this;
65 }
67
69
72 inline int GetDialnorm() const { return m_dialnorm; }
73 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
74 inline void SetDialnorm(int value) {
75 m_dialnormHasBeenSet = true;
76 m_dialnorm = value;
77 }
78 inline Eac3AtmosSettings& WithDialnorm(int value) {
79 SetDialnorm(value);
80 return *this;
81 }
83
85
88 inline Eac3AtmosDrcLine GetDrcLine() const { return m_drcLine; }
89 inline bool DrcLineHasBeenSet() const { return m_drcLineHasBeenSet; }
90 inline void SetDrcLine(Eac3AtmosDrcLine value) {
91 m_drcLineHasBeenSet = true;
92 m_drcLine = value;
93 }
95 SetDrcLine(value);
96 return *this;
97 }
99
101
105 inline Eac3AtmosDrcRf GetDrcRf() const { return m_drcRf; }
106 inline bool DrcRfHasBeenSet() const { return m_drcRfHasBeenSet; }
107 inline void SetDrcRf(Eac3AtmosDrcRf value) {
108 m_drcRfHasBeenSet = true;
109 m_drcRf = value;
110 }
112 SetDrcRf(value);
113 return *this;
114 }
116
118
123 inline double GetHeightTrim() const { return m_heightTrim; }
124 inline bool HeightTrimHasBeenSet() const { return m_heightTrimHasBeenSet; }
125 inline void SetHeightTrim(double value) {
126 m_heightTrimHasBeenSet = true;
127 m_heightTrim = value;
128 }
129 inline Eac3AtmosSettings& WithHeightTrim(double value) {
130 SetHeightTrim(value);
131 return *this;
132 }
134
136
141 inline double GetSurroundTrim() const { return m_surroundTrim; }
142 inline bool SurroundTrimHasBeenSet() const { return m_surroundTrimHasBeenSet; }
143 inline void SetSurroundTrim(double value) {
144 m_surroundTrimHasBeenSet = true;
145 m_surroundTrim = value;
146 }
147 inline Eac3AtmosSettings& WithSurroundTrim(double value) {
148 SetSurroundTrim(value);
149 return *this;
150 }
152 private:
153 double m_bitrate{0.0};
154
156
157 int m_dialnorm{0};
158
160
162
163 double m_heightTrim{0.0};
164
165 double m_surroundTrim{0.0};
166 bool m_bitrateHasBeenSet = false;
167 bool m_codingModeHasBeenSet = false;
168 bool m_dialnormHasBeenSet = false;
169 bool m_drcLineHasBeenSet = false;
170 bool m_drcRfHasBeenSet = false;
171 bool m_heightTrimHasBeenSet = false;
172 bool m_surroundTrimHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace MediaLive
177} // namespace Aws
AWS_MEDIALIVE_API Eac3AtmosSettings()=default
Eac3AtmosCodingMode GetCodingMode() const
Eac3AtmosSettings & WithDrcLine(Eac3AtmosDrcLine value)
void SetCodingMode(Eac3AtmosCodingMode value)
Eac3AtmosSettings & WithHeightTrim(double value)
Eac3AtmosSettings & WithCodingMode(Eac3AtmosCodingMode value)
Eac3AtmosSettings & WithBitrate(double value)
Eac3AtmosSettings & WithSurroundTrim(double value)
Eac3AtmosSettings & WithDrcRf(Eac3AtmosDrcRf value)
Eac3AtmosSettings & WithDialnorm(int value)
void SetDrcLine(Eac3AtmosDrcLine value)
AWS_MEDIALIVE_API Eac3AtmosSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API Eac3AtmosSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue