AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Hdr10Metadata.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
29 public:
30 AWS_MEDIACONVERT_API Hdr10Metadata() = default;
31 AWS_MEDIACONVERT_API Hdr10Metadata(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONVERT_API Hdr10Metadata& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline int GetBluePrimaryX() const { return m_bluePrimaryX; }
42 inline bool BluePrimaryXHasBeenSet() const { return m_bluePrimaryXHasBeenSet; }
43 inline void SetBluePrimaryX(int value) {
44 m_bluePrimaryXHasBeenSet = true;
45 m_bluePrimaryX = value;
46 }
47 inline Hdr10Metadata& WithBluePrimaryX(int value) {
48 SetBluePrimaryX(value);
49 return *this;
50 }
52
54
59 inline int GetBluePrimaryY() const { return m_bluePrimaryY; }
60 inline bool BluePrimaryYHasBeenSet() const { return m_bluePrimaryYHasBeenSet; }
61 inline void SetBluePrimaryY(int value) {
62 m_bluePrimaryYHasBeenSet = true;
63 m_bluePrimaryY = value;
64 }
65 inline Hdr10Metadata& WithBluePrimaryY(int value) {
66 SetBluePrimaryY(value);
67 return *this;
68 }
70
72
77 inline int GetGreenPrimaryX() const { return m_greenPrimaryX; }
78 inline bool GreenPrimaryXHasBeenSet() const { return m_greenPrimaryXHasBeenSet; }
79 inline void SetGreenPrimaryX(int value) {
80 m_greenPrimaryXHasBeenSet = true;
81 m_greenPrimaryX = value;
82 }
83 inline Hdr10Metadata& WithGreenPrimaryX(int value) {
84 SetGreenPrimaryX(value);
85 return *this;
86 }
88
90
95 inline int GetGreenPrimaryY() const { return m_greenPrimaryY; }
96 inline bool GreenPrimaryYHasBeenSet() const { return m_greenPrimaryYHasBeenSet; }
97 inline void SetGreenPrimaryY(int value) {
98 m_greenPrimaryYHasBeenSet = true;
99 m_greenPrimaryY = value;
100 }
101 inline Hdr10Metadata& WithGreenPrimaryY(int value) {
102 SetGreenPrimaryY(value);
103 return *this;
104 }
106
108
113 inline int GetMaxContentLightLevel() const { return m_maxContentLightLevel; }
114 inline bool MaxContentLightLevelHasBeenSet() const { return m_maxContentLightLevelHasBeenSet; }
115 inline void SetMaxContentLightLevel(int value) {
116 m_maxContentLightLevelHasBeenSet = true;
117 m_maxContentLightLevel = value;
118 }
121 return *this;
122 }
124
126
131 inline int GetMaxFrameAverageLightLevel() const { return m_maxFrameAverageLightLevel; }
132 inline bool MaxFrameAverageLightLevelHasBeenSet() const { return m_maxFrameAverageLightLevelHasBeenSet; }
133 inline void SetMaxFrameAverageLightLevel(int value) {
134 m_maxFrameAverageLightLevelHasBeenSet = true;
135 m_maxFrameAverageLightLevel = value;
136 }
139 return *this;
140 }
142
144
148 inline int GetMaxLuminance() const { return m_maxLuminance; }
149 inline bool MaxLuminanceHasBeenSet() const { return m_maxLuminanceHasBeenSet; }
150 inline void SetMaxLuminance(int value) {
151 m_maxLuminanceHasBeenSet = true;
152 m_maxLuminance = value;
153 }
154 inline Hdr10Metadata& WithMaxLuminance(int value) {
155 SetMaxLuminance(value);
156 return *this;
157 }
159
161
165 inline int GetMinLuminance() const { return m_minLuminance; }
166 inline bool MinLuminanceHasBeenSet() const { return m_minLuminanceHasBeenSet; }
167 inline void SetMinLuminance(int value) {
168 m_minLuminanceHasBeenSet = true;
169 m_minLuminance = value;
170 }
171 inline Hdr10Metadata& WithMinLuminance(int value) {
172 SetMinLuminance(value);
173 return *this;
174 }
176
178
183 inline int GetRedPrimaryX() const { return m_redPrimaryX; }
184 inline bool RedPrimaryXHasBeenSet() const { return m_redPrimaryXHasBeenSet; }
185 inline void SetRedPrimaryX(int value) {
186 m_redPrimaryXHasBeenSet = true;
187 m_redPrimaryX = value;
188 }
189 inline Hdr10Metadata& WithRedPrimaryX(int value) {
190 SetRedPrimaryX(value);
191 return *this;
192 }
194
196
201 inline int GetRedPrimaryY() const { return m_redPrimaryY; }
202 inline bool RedPrimaryYHasBeenSet() const { return m_redPrimaryYHasBeenSet; }
203 inline void SetRedPrimaryY(int value) {
204 m_redPrimaryYHasBeenSet = true;
205 m_redPrimaryY = value;
206 }
207 inline Hdr10Metadata& WithRedPrimaryY(int value) {
208 SetRedPrimaryY(value);
209 return *this;
210 }
212
214
219 inline int GetWhitePointX() const { return m_whitePointX; }
220 inline bool WhitePointXHasBeenSet() const { return m_whitePointXHasBeenSet; }
221 inline void SetWhitePointX(int value) {
222 m_whitePointXHasBeenSet = true;
223 m_whitePointX = value;
224 }
225 inline Hdr10Metadata& WithWhitePointX(int value) {
226 SetWhitePointX(value);
227 return *this;
228 }
230
232
237 inline int GetWhitePointY() const { return m_whitePointY; }
238 inline bool WhitePointYHasBeenSet() const { return m_whitePointYHasBeenSet; }
239 inline void SetWhitePointY(int value) {
240 m_whitePointYHasBeenSet = true;
241 m_whitePointY = value;
242 }
243 inline Hdr10Metadata& WithWhitePointY(int value) {
244 SetWhitePointY(value);
245 return *this;
246 }
248 private:
249 int m_bluePrimaryX{0};
250
251 int m_bluePrimaryY{0};
252
253 int m_greenPrimaryX{0};
254
255 int m_greenPrimaryY{0};
256
257 int m_maxContentLightLevel{0};
258
259 int m_maxFrameAverageLightLevel{0};
260
261 int m_maxLuminance{0};
262
263 int m_minLuminance{0};
264
265 int m_redPrimaryX{0};
266
267 int m_redPrimaryY{0};
268
269 int m_whitePointX{0};
270
271 int m_whitePointY{0};
272 bool m_bluePrimaryXHasBeenSet = false;
273 bool m_bluePrimaryYHasBeenSet = false;
274 bool m_greenPrimaryXHasBeenSet = false;
275 bool m_greenPrimaryYHasBeenSet = false;
276 bool m_maxContentLightLevelHasBeenSet = false;
277 bool m_maxFrameAverageLightLevelHasBeenSet = false;
278 bool m_maxLuminanceHasBeenSet = false;
279 bool m_minLuminanceHasBeenSet = false;
280 bool m_redPrimaryXHasBeenSet = false;
281 bool m_redPrimaryYHasBeenSet = false;
282 bool m_whitePointXHasBeenSet = false;
283 bool m_whitePointYHasBeenSet = false;
284};
285
286} // namespace Model
287} // namespace MediaConvert
288} // namespace Aws
Hdr10Metadata & WithMinLuminance(int value)
AWS_MEDIACONVERT_API Hdr10Metadata(Aws::Utils::Json::JsonView jsonValue)
Hdr10Metadata & WithMaxContentLightLevel(int value)
Hdr10Metadata & WithWhitePointY(int value)
Hdr10Metadata & WithBluePrimaryX(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Hdr10Metadata & WithGreenPrimaryX(int value)
AWS_MEDIACONVERT_API Hdr10Metadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Hdr10Metadata & WithWhitePointX(int value)
AWS_MEDIACONVERT_API Hdr10Metadata()=default
Hdr10Metadata & WithBluePrimaryY(int value)
Hdr10Metadata & WithRedPrimaryY(int value)
Hdr10Metadata & WithMaxLuminance(int value)
Hdr10Metadata & WithRedPrimaryX(int value)
Hdr10Metadata & WithMaxFrameAverageLightLevel(int value)
Hdr10Metadata & WithGreenPrimaryY(int value)
Aws::Utils::Json::JsonValue JsonValue