AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BurninDestinationSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/BurnInSubtitleStylePassthrough.h>
10#include <aws/mediaconvert/model/BurninSubtitleAlignment.h>
11#include <aws/mediaconvert/model/BurninSubtitleApplyFontColor.h>
12#include <aws/mediaconvert/model/BurninSubtitleBackgroundColor.h>
13#include <aws/mediaconvert/model/BurninSubtitleFallbackFont.h>
14#include <aws/mediaconvert/model/BurninSubtitleFontColor.h>
15#include <aws/mediaconvert/model/BurninSubtitleOutlineColor.h>
16#include <aws/mediaconvert/model/BurninSubtitleShadowColor.h>
17#include <aws/mediaconvert/model/BurninSubtitleTeletextSpacing.h>
18#include <aws/mediaconvert/model/FontScript.h>
19#include <aws/mediaconvert/model/RemoveRubyReserveAttributes.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace MediaConvert {
31namespace Model {
32
44 public:
45 AWS_MEDIACONVERT_API BurninDestinationSettings() = default;
48 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
59 inline BurninSubtitleAlignment GetAlignment() const { return m_alignment; }
60 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
62 m_alignmentHasBeenSet = true;
63 m_alignment = value;
64 }
66 SetAlignment(value);
67 return *this;
68 }
70
72
82 inline BurninSubtitleApplyFontColor GetApplyFontColor() const { return m_applyFontColor; }
83 inline bool ApplyFontColorHasBeenSet() const { return m_applyFontColorHasBeenSet; }
85 m_applyFontColorHasBeenSet = true;
86 m_applyFontColor = value;
87 }
89 SetApplyFontColor(value);
90 return *this;
91 }
93
95
100 inline BurninSubtitleBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
101 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
103 m_backgroundColorHasBeenSet = true;
104 m_backgroundColor = value;
105 }
107 SetBackgroundColor(value);
108 return *this;
109 }
111
113
121 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
122 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
123 inline void SetBackgroundOpacity(int value) {
124 m_backgroundOpacityHasBeenSet = true;
125 m_backgroundOpacity = value;
126 }
129 return *this;
130 }
132
134
144 inline BurninSubtitleFallbackFont GetFallbackFont() const { return m_fallbackFont; }
145 inline bool FallbackFontHasBeenSet() const { return m_fallbackFontHasBeenSet; }
147 m_fallbackFontHasBeenSet = true;
148 m_fallbackFont = value;
149 }
151 SetFallbackFont(value);
152 return *this;
153 }
155
157
162 inline BurninSubtitleFontColor GetFontColor() const { return m_fontColor; }
163 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
165 m_fontColorHasBeenSet = true;
166 m_fontColor = value;
167 }
169 SetFontColor(value);
170 return *this;
171 }
173
175
180 inline const Aws::String& GetFontFileBold() const { return m_fontFileBold; }
181 inline bool FontFileBoldHasBeenSet() const { return m_fontFileBoldHasBeenSet; }
182 template <typename FontFileBoldT = Aws::String>
183 void SetFontFileBold(FontFileBoldT&& value) {
184 m_fontFileBoldHasBeenSet = true;
185 m_fontFileBold = std::forward<FontFileBoldT>(value);
186 }
187 template <typename FontFileBoldT = Aws::String>
189 SetFontFileBold(std::forward<FontFileBoldT>(value));
190 return *this;
191 }
193
195
202 inline const Aws::String& GetFontFileBoldItalic() const { return m_fontFileBoldItalic; }
203 inline bool FontFileBoldItalicHasBeenSet() const { return m_fontFileBoldItalicHasBeenSet; }
204 template <typename FontFileBoldItalicT = Aws::String>
205 void SetFontFileBoldItalic(FontFileBoldItalicT&& value) {
206 m_fontFileBoldItalicHasBeenSet = true;
207 m_fontFileBoldItalic = std::forward<FontFileBoldItalicT>(value);
208 }
209 template <typename FontFileBoldItalicT = Aws::String>
210 BurninDestinationSettings& WithFontFileBoldItalic(FontFileBoldItalicT&& value) {
211 SetFontFileBoldItalic(std::forward<FontFileBoldItalicT>(value));
212 return *this;
213 }
215
217
222 inline const Aws::String& GetFontFileItalic() const { return m_fontFileItalic; }
223 inline bool FontFileItalicHasBeenSet() const { return m_fontFileItalicHasBeenSet; }
224 template <typename FontFileItalicT = Aws::String>
225 void SetFontFileItalic(FontFileItalicT&& value) {
226 m_fontFileItalicHasBeenSet = true;
227 m_fontFileItalic = std::forward<FontFileItalicT>(value);
228 }
229 template <typename FontFileItalicT = Aws::String>
231 SetFontFileItalic(std::forward<FontFileItalicT>(value));
232 return *this;
233 }
235
237
242 inline const Aws::String& GetFontFileRegular() const { return m_fontFileRegular; }
243 inline bool FontFileRegularHasBeenSet() const { return m_fontFileRegularHasBeenSet; }
244 template <typename FontFileRegularT = Aws::String>
245 void SetFontFileRegular(FontFileRegularT&& value) {
246 m_fontFileRegularHasBeenSet = true;
247 m_fontFileRegular = std::forward<FontFileRegularT>(value);
248 }
249 template <typename FontFileRegularT = Aws::String>
251 SetFontFileRegular(std::forward<FontFileRegularT>(value));
252 return *this;
253 }
255
257
260 inline int GetFontOpacity() const { return m_fontOpacity; }
261 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
262 inline void SetFontOpacity(int value) {
263 m_fontOpacityHasBeenSet = true;
264 m_fontOpacity = value;
265 }
267 SetFontOpacity(value);
268 return *this;
269 }
271
273
276 inline int GetFontResolution() const { return m_fontResolution; }
277 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
278 inline void SetFontResolution(int value) {
279 m_fontResolutionHasBeenSet = true;
280 m_fontResolution = value;
281 }
283 SetFontResolution(value);
284 return *this;
285 }
287
289
295 inline FontScript GetFontScript() const { return m_fontScript; }
296 inline bool FontScriptHasBeenSet() const { return m_fontScriptHasBeenSet; }
297 inline void SetFontScript(FontScript value) {
298 m_fontScriptHasBeenSet = true;
299 m_fontScript = value;
300 }
302 SetFontScript(value);
303 return *this;
304 }
306
308
312 inline int GetFontSize() const { return m_fontSize; }
313 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
314 inline void SetFontSize(int value) {
315 m_fontSizeHasBeenSet = true;
316 m_fontSize = value;
317 }
319 SetFontSize(value);
320 return *this;
321 }
323
325
331 inline const Aws::String& GetHexFontColor() const { return m_hexFontColor; }
332 inline bool HexFontColorHasBeenSet() const { return m_hexFontColorHasBeenSet; }
333 template <typename HexFontColorT = Aws::String>
334 void SetHexFontColor(HexFontColorT&& value) {
335 m_hexFontColorHasBeenSet = true;
336 m_hexFontColor = std::forward<HexFontColorT>(value);
337 }
338 template <typename HexFontColorT = Aws::String>
340 SetHexFontColor(std::forward<HexFontColorT>(value));
341 return *this;
342 }
344
346
351 inline BurninSubtitleOutlineColor GetOutlineColor() const { return m_outlineColor; }
352 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
354 m_outlineColorHasBeenSet = true;
355 m_outlineColor = value;
356 }
358 SetOutlineColor(value);
359 return *this;
360 }
362
364
369 inline int GetOutlineSize() const { return m_outlineSize; }
370 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
371 inline void SetOutlineSize(int value) {
372 m_outlineSizeHasBeenSet = true;
373 m_outlineSize = value;
374 }
376 SetOutlineSize(value);
377 return *this;
378 }
380
382
389 inline RemoveRubyReserveAttributes GetRemoveRubyReserveAttributes() const { return m_removeRubyReserveAttributes; }
390 inline bool RemoveRubyReserveAttributesHasBeenSet() const { return m_removeRubyReserveAttributesHasBeenSet; }
392 m_removeRubyReserveAttributesHasBeenSet = true;
393 m_removeRubyReserveAttributes = value;
394 }
397 return *this;
398 }
400
402
407 inline BurninSubtitleShadowColor GetShadowColor() const { return m_shadowColor; }
408 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
410 m_shadowColorHasBeenSet = true;
411 m_shadowColor = value;
412 }
414 SetShadowColor(value);
415 return *this;
416 }
418
420
427 inline int GetShadowOpacity() const { return m_shadowOpacity; }
428 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
429 inline void SetShadowOpacity(int value) {
430 m_shadowOpacityHasBeenSet = true;
431 m_shadowOpacity = value;
432 }
434 SetShadowOpacity(value);
435 return *this;
436 }
438
440
444 inline int GetShadowXOffset() const { return m_shadowXOffset; }
445 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
446 inline void SetShadowXOffset(int value) {
447 m_shadowXOffsetHasBeenSet = true;
448 m_shadowXOffset = value;
449 }
451 SetShadowXOffset(value);
452 return *this;
453 }
455
457
463 inline int GetShadowYOffset() const { return m_shadowYOffset; }
464 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
465 inline void SetShadowYOffset(int value) {
466 m_shadowYOffsetHasBeenSet = true;
467 m_shadowYOffset = value;
468 }
470 SetShadowYOffset(value);
471 return *this;
472 }
474
476
488 inline BurnInSubtitleStylePassthrough GetStylePassthrough() const { return m_stylePassthrough; }
489 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
491 m_stylePassthroughHasBeenSet = true;
492 m_stylePassthrough = value;
493 }
495 SetStylePassthrough(value);
496 return *this;
497 }
499
501
507 inline BurninSubtitleTeletextSpacing GetTeletextSpacing() const { return m_teletextSpacing; }
508 inline bool TeletextSpacingHasBeenSet() const { return m_teletextSpacingHasBeenSet; }
510 m_teletextSpacingHasBeenSet = true;
511 m_teletextSpacing = value;
512 }
514 SetTeletextSpacing(value);
515 return *this;
516 }
518
520
526 inline int GetXPosition() const { return m_xPosition; }
527 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
528 inline void SetXPosition(int value) {
529 m_xPositionHasBeenSet = true;
530 m_xPosition = value;
531 }
533 SetXPosition(value);
534 return *this;
535 }
537
539
545 inline int GetYPosition() const { return m_yPosition; }
546 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
547 inline void SetYPosition(int value) {
548 m_yPositionHasBeenSet = true;
549 m_yPosition = value;
550 }
552 SetYPosition(value);
553 return *this;
554 }
556 private:
558
560
562
563 int m_backgroundOpacity{0};
564
566
568
569 Aws::String m_fontFileBold;
570
571 Aws::String m_fontFileBoldItalic;
572
573 Aws::String m_fontFileItalic;
574
575 Aws::String m_fontFileRegular;
576
577 int m_fontOpacity{0};
578
579 int m_fontResolution{0};
580
581 FontScript m_fontScript{FontScript::NOT_SET};
582
583 int m_fontSize{0};
584
585 Aws::String m_hexFontColor;
586
588
589 int m_outlineSize{0};
590
592
594
595 int m_shadowOpacity{0};
596
597 int m_shadowXOffset{0};
598
599 int m_shadowYOffset{0};
600
602
604
605 int m_xPosition{0};
606
607 int m_yPosition{0};
608 bool m_alignmentHasBeenSet = false;
609 bool m_applyFontColorHasBeenSet = false;
610 bool m_backgroundColorHasBeenSet = false;
611 bool m_backgroundOpacityHasBeenSet = false;
612 bool m_fallbackFontHasBeenSet = false;
613 bool m_fontColorHasBeenSet = false;
614 bool m_fontFileBoldHasBeenSet = false;
615 bool m_fontFileBoldItalicHasBeenSet = false;
616 bool m_fontFileItalicHasBeenSet = false;
617 bool m_fontFileRegularHasBeenSet = false;
618 bool m_fontOpacityHasBeenSet = false;
619 bool m_fontResolutionHasBeenSet = false;
620 bool m_fontScriptHasBeenSet = false;
621 bool m_fontSizeHasBeenSet = false;
622 bool m_hexFontColorHasBeenSet = false;
623 bool m_outlineColorHasBeenSet = false;
624 bool m_outlineSizeHasBeenSet = false;
625 bool m_removeRubyReserveAttributesHasBeenSet = false;
626 bool m_shadowColorHasBeenSet = false;
627 bool m_shadowOpacityHasBeenSet = false;
628 bool m_shadowXOffsetHasBeenSet = false;
629 bool m_shadowYOffsetHasBeenSet = false;
630 bool m_stylePassthroughHasBeenSet = false;
631 bool m_teletextSpacingHasBeenSet = false;
632 bool m_xPositionHasBeenSet = false;
633 bool m_yPositionHasBeenSet = false;
634};
635
636} // namespace Model
637} // namespace MediaConvert
638} // namespace Aws
AWS_MEDIACONVERT_API BurninDestinationSettings()=default
BurninDestinationSettings & WithFontColor(BurninSubtitleFontColor value)
void SetRemoveRubyReserveAttributes(RemoveRubyReserveAttributes value)
BurninDestinationSettings & WithFontResolution(int value)
BurninDestinationSettings & WithStylePassthrough(BurnInSubtitleStylePassthrough value)
BurninDestinationSettings & WithBackgroundColor(BurninSubtitleBackgroundColor value)
BurninDestinationSettings & WithBackgroundOpacity(int value)
BurninDestinationSettings & WithHexFontColor(HexFontColorT &&value)
BurninDestinationSettings & WithTeletextSpacing(BurninSubtitleTeletextSpacing value)
BurninDestinationSettings & WithFallbackFont(BurninSubtitleFallbackFont value)
BurninDestinationSettings & WithRemoveRubyReserveAttributes(RemoveRubyReserveAttributes value)
void SetApplyFontColor(BurninSubtitleApplyFontColor value)
RemoveRubyReserveAttributes GetRemoveRubyReserveAttributes() const
BurninDestinationSettings & WithShadowColor(BurninSubtitleShadowColor value)
void SetTeletextSpacing(BurninSubtitleTeletextSpacing value)
void SetStylePassthrough(BurnInSubtitleStylePassthrough value)
BurninDestinationSettings & WithFontFileBoldItalic(FontFileBoldItalicT &&value)
AWS_MEDIACONVERT_API BurninDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
BurninDestinationSettings & WithOutlineColor(BurninSubtitleOutlineColor value)
BurninDestinationSettings & WithApplyFontColor(BurninSubtitleApplyFontColor value)
BurninDestinationSettings & WithFontFileRegular(FontFileRegularT &&value)
BurninDestinationSettings & WithFontScript(FontScript value)
void SetBackgroundColor(BurninSubtitleBackgroundColor value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
BurninDestinationSettings & WithFontFileBold(FontFileBoldT &&value)
BurninDestinationSettings & WithAlignment(BurninSubtitleAlignment value)
AWS_MEDIACONVERT_API BurninDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
BurnInSubtitleStylePassthrough GetStylePassthrough() const
BurninDestinationSettings & WithFontFileItalic(FontFileItalicT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue