AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DvbSubDestinationSettings.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/DvbSubSubtitleFallbackFont.h>
10#include <aws/mediaconvert/model/DvbSubtitleAlignment.h>
11#include <aws/mediaconvert/model/DvbSubtitleApplyFontColor.h>
12#include <aws/mediaconvert/model/DvbSubtitleBackgroundColor.h>
13#include <aws/mediaconvert/model/DvbSubtitleFontColor.h>
14#include <aws/mediaconvert/model/DvbSubtitleOutlineColor.h>
15#include <aws/mediaconvert/model/DvbSubtitleShadowColor.h>
16#include <aws/mediaconvert/model/DvbSubtitleStylePassthrough.h>
17#include <aws/mediaconvert/model/DvbSubtitleTeletextSpacing.h>
18#include <aws/mediaconvert/model/DvbSubtitlingType.h>
19#include <aws/mediaconvert/model/DvbddsHandling.h>
20#include <aws/mediaconvert/model/FontScript.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaConvert {
32namespace Model {
33
43 public:
44 AWS_MEDIACONVERT_API DvbSubDestinationSettings() = default;
47 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
59 inline DvbSubtitleAlignment 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 DvbSubtitleApplyFontColor 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 DvbSubtitleBackgroundColor 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
122 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
123 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
124 inline void SetBackgroundOpacity(int value) {
125 m_backgroundOpacityHasBeenSet = true;
126 m_backgroundOpacity = value;
127 }
130 return *this;
131 }
133
135
152 inline DvbddsHandling GetDdsHandling() const { return m_ddsHandling; }
153 inline bool DdsHandlingHasBeenSet() const { return m_ddsHandlingHasBeenSet; }
154 inline void SetDdsHandling(DvbddsHandling value) {
155 m_ddsHandlingHasBeenSet = true;
156 m_ddsHandling = value;
157 }
159 SetDdsHandling(value);
160 return *this;
161 }
163
165
175 inline int GetDdsXCoordinate() const { return m_ddsXCoordinate; }
176 inline bool DdsXCoordinateHasBeenSet() const { return m_ddsXCoordinateHasBeenSet; }
177 inline void SetDdsXCoordinate(int value) {
178 m_ddsXCoordinateHasBeenSet = true;
179 m_ddsXCoordinate = value;
180 }
182 SetDdsXCoordinate(value);
183 return *this;
184 }
186
188
199 inline int GetDdsYCoordinate() const { return m_ddsYCoordinate; }
200 inline bool DdsYCoordinateHasBeenSet() const { return m_ddsYCoordinateHasBeenSet; }
201 inline void SetDdsYCoordinate(int value) {
202 m_ddsYCoordinateHasBeenSet = true;
203 m_ddsYCoordinate = value;
204 }
206 SetDdsYCoordinate(value);
207 return *this;
208 }
210
212
222 inline DvbSubSubtitleFallbackFont GetFallbackFont() const { return m_fallbackFont; }
223 inline bool FallbackFontHasBeenSet() const { return m_fallbackFontHasBeenSet; }
225 m_fallbackFontHasBeenSet = true;
226 m_fallbackFont = value;
227 }
229 SetFallbackFont(value);
230 return *this;
231 }
233
235
241 inline DvbSubtitleFontColor GetFontColor() const { return m_fontColor; }
242 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
244 m_fontColorHasBeenSet = true;
245 m_fontColor = value;
246 }
248 SetFontColor(value);
249 return *this;
250 }
252
254
259 inline const Aws::String& GetFontFileBold() const { return m_fontFileBold; }
260 inline bool FontFileBoldHasBeenSet() const { return m_fontFileBoldHasBeenSet; }
261 template <typename FontFileBoldT = Aws::String>
262 void SetFontFileBold(FontFileBoldT&& value) {
263 m_fontFileBoldHasBeenSet = true;
264 m_fontFileBold = std::forward<FontFileBoldT>(value);
265 }
266 template <typename FontFileBoldT = Aws::String>
268 SetFontFileBold(std::forward<FontFileBoldT>(value));
269 return *this;
270 }
272
274
281 inline const Aws::String& GetFontFileBoldItalic() const { return m_fontFileBoldItalic; }
282 inline bool FontFileBoldItalicHasBeenSet() const { return m_fontFileBoldItalicHasBeenSet; }
283 template <typename FontFileBoldItalicT = Aws::String>
284 void SetFontFileBoldItalic(FontFileBoldItalicT&& value) {
285 m_fontFileBoldItalicHasBeenSet = true;
286 m_fontFileBoldItalic = std::forward<FontFileBoldItalicT>(value);
287 }
288 template <typename FontFileBoldItalicT = Aws::String>
289 DvbSubDestinationSettings& WithFontFileBoldItalic(FontFileBoldItalicT&& value) {
290 SetFontFileBoldItalic(std::forward<FontFileBoldItalicT>(value));
291 return *this;
292 }
294
296
301 inline const Aws::String& GetFontFileItalic() const { return m_fontFileItalic; }
302 inline bool FontFileItalicHasBeenSet() const { return m_fontFileItalicHasBeenSet; }
303 template <typename FontFileItalicT = Aws::String>
304 void SetFontFileItalic(FontFileItalicT&& value) {
305 m_fontFileItalicHasBeenSet = true;
306 m_fontFileItalic = std::forward<FontFileItalicT>(value);
307 }
308 template <typename FontFileItalicT = Aws::String>
310 SetFontFileItalic(std::forward<FontFileItalicT>(value));
311 return *this;
312 }
314
316
321 inline const Aws::String& GetFontFileRegular() const { return m_fontFileRegular; }
322 inline bool FontFileRegularHasBeenSet() const { return m_fontFileRegularHasBeenSet; }
323 template <typename FontFileRegularT = Aws::String>
324 void SetFontFileRegular(FontFileRegularT&& value) {
325 m_fontFileRegularHasBeenSet = true;
326 m_fontFileRegular = std::forward<FontFileRegularT>(value);
327 }
328 template <typename FontFileRegularT = Aws::String>
330 SetFontFileRegular(std::forward<FontFileRegularT>(value));
331 return *this;
332 }
334
336
342 inline int GetFontOpacity() const { return m_fontOpacity; }
343 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
344 inline void SetFontOpacity(int value) {
345 m_fontOpacityHasBeenSet = true;
346 m_fontOpacity = value;
347 }
349 SetFontOpacity(value);
350 return *this;
351 }
353
355
360 inline int GetFontResolution() const { return m_fontResolution; }
361 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
362 inline void SetFontResolution(int value) {
363 m_fontResolutionHasBeenSet = true;
364 m_fontResolution = value;
365 }
367 SetFontResolution(value);
368 return *this;
369 }
371
373
380 inline FontScript GetFontScript() const { return m_fontScript; }
381 inline bool FontScriptHasBeenSet() const { return m_fontScriptHasBeenSet; }
382 inline void SetFontScript(FontScript value) {
383 m_fontScriptHasBeenSet = true;
384 m_fontScript = value;
385 }
387 SetFontScript(value);
388 return *this;
389 }
391
393
398 inline int GetFontSize() const { return m_fontSize; }
399 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
400 inline void SetFontSize(int value) {
401 m_fontSizeHasBeenSet = true;
402 m_fontSize = value;
403 }
405 SetFontSize(value);
406 return *this;
407 }
409
411
417 inline int GetHeight() const { return m_height; }
418 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
419 inline void SetHeight(int value) {
420 m_heightHasBeenSet = true;
421 m_height = value;
422 }
424 SetHeight(value);
425 return *this;
426 }
428
430
436 inline const Aws::String& GetHexFontColor() const { return m_hexFontColor; }
437 inline bool HexFontColorHasBeenSet() const { return m_hexFontColorHasBeenSet; }
438 template <typename HexFontColorT = Aws::String>
439 void SetHexFontColor(HexFontColorT&& value) {
440 m_hexFontColorHasBeenSet = true;
441 m_hexFontColor = std::forward<HexFontColorT>(value);
442 }
443 template <typename HexFontColorT = Aws::String>
445 SetHexFontColor(std::forward<HexFontColorT>(value));
446 return *this;
447 }
449
451
457 inline DvbSubtitleOutlineColor GetOutlineColor() const { return m_outlineColor; }
458 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
460 m_outlineColorHasBeenSet = true;
461 m_outlineColor = value;
462 }
464 SetOutlineColor(value);
465 return *this;
466 }
468
470
476 inline int GetOutlineSize() const { return m_outlineSize; }
477 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
478 inline void SetOutlineSize(int value) {
479 m_outlineSizeHasBeenSet = true;
480 m_outlineSize = value;
481 }
483 SetOutlineSize(value);
484 return *this;
485 }
487
489
495 inline DvbSubtitleShadowColor GetShadowColor() const { return m_shadowColor; }
496 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
498 m_shadowColorHasBeenSet = true;
499 m_shadowColor = value;
500 }
502 SetShadowColor(value);
503 return *this;
504 }
506
508
516 inline int GetShadowOpacity() const { return m_shadowOpacity; }
517 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
518 inline void SetShadowOpacity(int value) {
519 m_shadowOpacityHasBeenSet = true;
520 m_shadowOpacity = value;
521 }
523 SetShadowOpacity(value);
524 return *this;
525 }
527
529
534 inline int GetShadowXOffset() const { return m_shadowXOffset; }
535 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
536 inline void SetShadowXOffset(int value) {
537 m_shadowXOffsetHasBeenSet = true;
538 m_shadowXOffset = value;
539 }
541 SetShadowXOffset(value);
542 return *this;
543 }
545
547
554 inline int GetShadowYOffset() const { return m_shadowYOffset; }
555 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
556 inline void SetShadowYOffset(int value) {
557 m_shadowYOffsetHasBeenSet = true;
558 m_shadowYOffset = value;
559 }
561 SetShadowYOffset(value);
562 return *this;
563 }
565
567
579 inline DvbSubtitleStylePassthrough GetStylePassthrough() const { return m_stylePassthrough; }
580 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
582 m_stylePassthroughHasBeenSet = true;
583 m_stylePassthrough = value;
584 }
586 SetStylePassthrough(value);
587 return *this;
588 }
590
592
597 inline DvbSubtitlingType GetSubtitlingType() const { return m_subtitlingType; }
598 inline bool SubtitlingTypeHasBeenSet() const { return m_subtitlingTypeHasBeenSet; }
600 m_subtitlingTypeHasBeenSet = true;
601 m_subtitlingType = value;
602 }
604 SetSubtitlingType(value);
605 return *this;
606 }
608
610
617 inline DvbSubtitleTeletextSpacing GetTeletextSpacing() const { return m_teletextSpacing; }
618 inline bool TeletextSpacingHasBeenSet() const { return m_teletextSpacingHasBeenSet; }
620 m_teletextSpacingHasBeenSet = true;
621 m_teletextSpacing = value;
622 }
624 SetTeletextSpacing(value);
625 return *this;
626 }
628
630
636 inline int GetWidth() const { return m_width; }
637 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
638 inline void SetWidth(int value) {
639 m_widthHasBeenSet = true;
640 m_width = value;
641 }
643 SetWidth(value);
644 return *this;
645 }
647
649
656 inline int GetXPosition() const { return m_xPosition; }
657 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
658 inline void SetXPosition(int value) {
659 m_xPositionHasBeenSet = true;
660 m_xPosition = value;
661 }
663 SetXPosition(value);
664 return *this;
665 }
667
669
676 inline int GetYPosition() const { return m_yPosition; }
677 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
678 inline void SetYPosition(int value) {
679 m_yPositionHasBeenSet = true;
680 m_yPosition = value;
681 }
683 SetYPosition(value);
684 return *this;
685 }
687 private:
689
691
693
694 int m_backgroundOpacity{0};
695
697
698 int m_ddsXCoordinate{0};
699
700 int m_ddsYCoordinate{0};
701
703
705
706 Aws::String m_fontFileBold;
707
708 Aws::String m_fontFileBoldItalic;
709
710 Aws::String m_fontFileItalic;
711
712 Aws::String m_fontFileRegular;
713
714 int m_fontOpacity{0};
715
716 int m_fontResolution{0};
717
718 FontScript m_fontScript{FontScript::NOT_SET};
719
720 int m_fontSize{0};
721
722 int m_height{0};
723
724 Aws::String m_hexFontColor;
725
727
728 int m_outlineSize{0};
729
731
732 int m_shadowOpacity{0};
733
734 int m_shadowXOffset{0};
735
736 int m_shadowYOffset{0};
737
739
741
743
744 int m_width{0};
745
746 int m_xPosition{0};
747
748 int m_yPosition{0};
749 bool m_alignmentHasBeenSet = false;
750 bool m_applyFontColorHasBeenSet = false;
751 bool m_backgroundColorHasBeenSet = false;
752 bool m_backgroundOpacityHasBeenSet = false;
753 bool m_ddsHandlingHasBeenSet = false;
754 bool m_ddsXCoordinateHasBeenSet = false;
755 bool m_ddsYCoordinateHasBeenSet = false;
756 bool m_fallbackFontHasBeenSet = false;
757 bool m_fontColorHasBeenSet = false;
758 bool m_fontFileBoldHasBeenSet = false;
759 bool m_fontFileBoldItalicHasBeenSet = false;
760 bool m_fontFileItalicHasBeenSet = false;
761 bool m_fontFileRegularHasBeenSet = false;
762 bool m_fontOpacityHasBeenSet = false;
763 bool m_fontResolutionHasBeenSet = false;
764 bool m_fontScriptHasBeenSet = false;
765 bool m_fontSizeHasBeenSet = false;
766 bool m_heightHasBeenSet = false;
767 bool m_hexFontColorHasBeenSet = false;
768 bool m_outlineColorHasBeenSet = false;
769 bool m_outlineSizeHasBeenSet = false;
770 bool m_shadowColorHasBeenSet = false;
771 bool m_shadowOpacityHasBeenSet = false;
772 bool m_shadowXOffsetHasBeenSet = false;
773 bool m_shadowYOffsetHasBeenSet = false;
774 bool m_stylePassthroughHasBeenSet = false;
775 bool m_subtitlingTypeHasBeenSet = false;
776 bool m_teletextSpacingHasBeenSet = false;
777 bool m_widthHasBeenSet = false;
778 bool m_xPositionHasBeenSet = false;
779 bool m_yPositionHasBeenSet = false;
780};
781
782} // namespace Model
783} // namespace MediaConvert
784} // namespace Aws
DvbSubDestinationSettings & WithFontFileBoldItalic(FontFileBoldItalicT &&value)
DvbSubDestinationSettings & WithDdsXCoordinate(int value)
DvbSubDestinationSettings & WithAlignment(DvbSubtitleAlignment value)
DvbSubDestinationSettings & WithFontFileItalic(FontFileItalicT &&value)
DvbSubDestinationSettings & WithFontResolution(int value)
DvbSubDestinationSettings & WithFallbackFont(DvbSubSubtitleFallbackFont value)
DvbSubDestinationSettings & WithOutlineColor(DvbSubtitleOutlineColor value)
DvbSubDestinationSettings & WithApplyFontColor(DvbSubtitleApplyFontColor value)
DvbSubDestinationSettings & WithBackgroundOpacity(int value)
DvbSubDestinationSettings & WithFontFileBold(FontFileBoldT &&value)
DvbSubDestinationSettings & WithHexFontColor(HexFontColorT &&value)
void SetStylePassthrough(DvbSubtitleStylePassthrough value)
void SetBackgroundColor(DvbSubtitleBackgroundColor value)
DvbSubDestinationSettings & WithDdsHandling(DvbddsHandling value)
DvbSubDestinationSettings & WithBackgroundColor(DvbSubtitleBackgroundColor value)
DvbSubDestinationSettings & WithShadowColor(DvbSubtitleShadowColor value)
DvbSubDestinationSettings & WithDdsYCoordinate(int value)
AWS_MEDIACONVERT_API DvbSubDestinationSettings()=default
DvbSubDestinationSettings & WithFontScript(FontScript value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
DvbSubDestinationSettings & WithSubtitlingType(DvbSubtitlingType value)
AWS_MEDIACONVERT_API DvbSubDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DvbSubDestinationSettings & WithStylePassthrough(DvbSubtitleStylePassthrough value)
void SetTeletextSpacing(DvbSubtitleTeletextSpacing value)
AWS_MEDIACONVERT_API DvbSubDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
DvbSubDestinationSettings & WithTeletextSpacing(DvbSubtitleTeletextSpacing value)
DvbSubDestinationSettings & WithFontColor(DvbSubtitleFontColor value)
DvbSubDestinationSettings & WithFontFileRegular(FontFileRegularT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue