AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
BurnInDestinationSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/BurnInAlignment.h>
10#include <aws/medialive/model/BurnInBackgroundColor.h>
11#include <aws/medialive/model/BurnInDestinationSubtitleRows.h>
12#include <aws/medialive/model/BurnInFontColor.h>
13#include <aws/medialive/model/BurnInOutlineColor.h>
14#include <aws/medialive/model/BurnInShadowColor.h>
15#include <aws/medialive/model/BurnInTeletextGridControl.h>
16#include <aws/medialive/model/InputLocation.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive {
28namespace Model {
29
36 public:
37 AWS_MEDIALIVE_API BurnInDestinationSettings() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
52 inline BurnInAlignment GetAlignment() const { return m_alignment; }
53 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
54 inline void SetAlignment(BurnInAlignment value) {
55 m_alignmentHasBeenSet = true;
56 m_alignment = value;
57 }
59 SetAlignment(value);
60 return *this;
61 }
63
65
69 inline BurnInBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
70 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
72 m_backgroundColorHasBeenSet = true;
73 m_backgroundColor = value;
74 }
76 SetBackgroundColor(value);
77 return *this;
78 }
80
82
87 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
88 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
89 inline void SetBackgroundOpacity(int value) {
90 m_backgroundOpacityHasBeenSet = true;
91 m_backgroundOpacity = value;
92 }
95 return *this;
96 }
98
100
107 inline const InputLocation& GetFont() const { return m_font; }
108 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
109 template <typename FontT = InputLocation>
110 void SetFont(FontT&& value) {
111 m_fontHasBeenSet = true;
112 m_font = std::forward<FontT>(value);
113 }
114 template <typename FontT = InputLocation>
116 SetFont(std::forward<FontT>(value));
117 return *this;
118 }
120
122
128 inline BurnInFontColor GetFontColor() const { return m_fontColor; }
129 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
130 inline void SetFontColor(BurnInFontColor value) {
131 m_fontColorHasBeenSet = true;
132 m_fontColor = value;
133 }
135 SetFontColor(value);
136 return *this;
137 }
139
141
145 inline int GetFontOpacity() const { return m_fontOpacity; }
146 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
147 inline void SetFontOpacity(int value) {
148 m_fontOpacityHasBeenSet = true;
149 m_fontOpacity = value;
150 }
152 SetFontOpacity(value);
153 return *this;
154 }
156
158
162 inline int GetFontResolution() const { return m_fontResolution; }
163 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
164 inline void SetFontResolution(int value) {
165 m_fontResolutionHasBeenSet = true;
166 m_fontResolution = value;
167 }
169 SetFontResolution(value);
170 return *this;
171 }
173
175
180 inline const Aws::String& GetFontSize() const { return m_fontSize; }
181 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
182 template <typename FontSizeT = Aws::String>
183 void SetFontSize(FontSizeT&& value) {
184 m_fontSizeHasBeenSet = true;
185 m_fontSize = std::forward<FontSizeT>(value);
186 }
187 template <typename FontSizeT = Aws::String>
189 SetFontSize(std::forward<FontSizeT>(value));
190 return *this;
191 }
193
195
201 inline BurnInOutlineColor GetOutlineColor() const { return m_outlineColor; }
202 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
204 m_outlineColorHasBeenSet = true;
205 m_outlineColor = value;
206 }
208 SetOutlineColor(value);
209 return *this;
210 }
212
214
220 inline int GetOutlineSize() const { return m_outlineSize; }
221 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
222 inline void SetOutlineSize(int value) {
223 m_outlineSizeHasBeenSet = true;
224 m_outlineSize = value;
225 }
227 SetOutlineSize(value);
228 return *this;
229 }
231
233
237 inline BurnInShadowColor GetShadowColor() const { return m_shadowColor; }
238 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
240 m_shadowColorHasBeenSet = true;
241 m_shadowColor = value;
242 }
244 SetShadowColor(value);
245 return *this;
246 }
248
250
255 inline int GetShadowOpacity() const { return m_shadowOpacity; }
256 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
257 inline void SetShadowOpacity(int value) {
258 m_shadowOpacityHasBeenSet = true;
259 m_shadowOpacity = value;
260 }
262 SetShadowOpacity(value);
263 return *this;
264 }
266
268
273 inline int GetShadowXOffset() const { return m_shadowXOffset; }
274 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
275 inline void SetShadowXOffset(int value) {
276 m_shadowXOffsetHasBeenSet = true;
277 m_shadowXOffset = value;
278 }
280 SetShadowXOffset(value);
281 return *this;
282 }
284
286
291 inline int GetShadowYOffset() const { return m_shadowYOffset; }
292 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
293 inline void SetShadowYOffset(int value) {
294 m_shadowYOffsetHasBeenSet = true;
295 m_shadowYOffset = value;
296 }
298 SetShadowYOffset(value);
299 return *this;
300 }
302
304
308 inline BurnInTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
309 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
311 m_teletextGridControlHasBeenSet = true;
312 m_teletextGridControl = value;
313 }
316 return *this;
317 }
319
321
328 inline int GetXPosition() const { return m_xPosition; }
329 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
330 inline void SetXPosition(int value) {
331 m_xPositionHasBeenSet = true;
332 m_xPosition = value;
333 }
335 SetXPosition(value);
336 return *this;
337 }
339
341
348 inline int GetYPosition() const { return m_yPosition; }
349 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
350 inline void SetYPosition(int value) {
351 m_yPositionHasBeenSet = true;
352 m_yPosition = value;
353 }
355 SetYPosition(value);
356 return *this;
357 }
359
361
370 inline BurnInDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
371 inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
373 m_subtitleRowsHasBeenSet = true;
374 m_subtitleRows = value;
375 }
377 SetSubtitleRows(value);
378 return *this;
379 }
381 private:
383
385
386 int m_backgroundOpacity{0};
387
388 InputLocation m_font;
389
391
392 int m_fontOpacity{0};
393
394 int m_fontResolution{0};
395
396 Aws::String m_fontSize;
397
399
400 int m_outlineSize{0};
401
403
404 int m_shadowOpacity{0};
405
406 int m_shadowXOffset{0};
407
408 int m_shadowYOffset{0};
409
411
412 int m_xPosition{0};
413
414 int m_yPosition{0};
415
417 bool m_alignmentHasBeenSet = false;
418 bool m_backgroundColorHasBeenSet = false;
419 bool m_backgroundOpacityHasBeenSet = false;
420 bool m_fontHasBeenSet = false;
421 bool m_fontColorHasBeenSet = false;
422 bool m_fontOpacityHasBeenSet = false;
423 bool m_fontResolutionHasBeenSet = false;
424 bool m_fontSizeHasBeenSet = false;
425 bool m_outlineColorHasBeenSet = false;
426 bool m_outlineSizeHasBeenSet = false;
427 bool m_shadowColorHasBeenSet = false;
428 bool m_shadowOpacityHasBeenSet = false;
429 bool m_shadowXOffsetHasBeenSet = false;
430 bool m_shadowYOffsetHasBeenSet = false;
431 bool m_teletextGridControlHasBeenSet = false;
432 bool m_xPositionHasBeenSet = false;
433 bool m_yPositionHasBeenSet = false;
434 bool m_subtitleRowsHasBeenSet = false;
435};
436
437} // namespace Model
438} // namespace MediaLive
439} // namespace Aws
BurnInDestinationSettings & WithAlignment(BurnInAlignment value)
BurnInDestinationSettings & WithShadowYOffset(int value)
BurnInDestinationSubtitleRows GetSubtitleRows() const
AWS_MEDIALIVE_API BurnInDestinationSettings()=default
BurnInDestinationSettings & WithYPosition(int value)
BurnInDestinationSettings & WithBackgroundOpacity(int value)
BurnInDestinationSettings & WithFontOpacity(int value)
BurnInDestinationSettings & WithSubtitleRows(BurnInDestinationSubtitleRows value)
void SetSubtitleRows(BurnInDestinationSubtitleRows value)
BurnInDestinationSettings & WithShadowOpacity(int value)
BurnInDestinationSettings & WithFont(FontT &&value)
BurnInDestinationSettings & WithFontSize(FontSizeT &&value)
BurnInDestinationSettings & WithTeletextGridControl(BurnInTeletextGridControl value)
BurnInDestinationSettings & WithBackgroundColor(BurnInBackgroundColor value)
BurnInDestinationSettings & WithXPosition(int value)
BurnInDestinationSettings & WithFontResolution(int value)
void SetTeletextGridControl(BurnInTeletextGridControl value)
BurnInDestinationSettings & WithShadowColor(BurnInShadowColor value)
AWS_MEDIALIVE_API BurnInDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
BurnInDestinationSettings & WithFontColor(BurnInFontColor value)
BurnInDestinationSettings & WithOutlineColor(BurnInOutlineColor value)
AWS_MEDIALIVE_API BurnInDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
BurnInDestinationSettings & WithShadowXOffset(int value)
BurnInDestinationSettings & WithOutlineSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue