AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DvbSubDestinationSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/DvbSubtitleAlignment.h>
9#include <aws/mediaconvert/model/DvbSubtitleApplyFontColor.h>
10#include <aws/mediaconvert/model/DvbSubtitleBackgroundColor.h>
11#include <aws/mediaconvert/model/DvbddsHandling.h>
12#include <aws/mediaconvert/model/DvbSubSubtitleFallbackFont.h>
13#include <aws/mediaconvert/model/DvbSubtitleFontColor.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/mediaconvert/model/FontScript.h>
16#include <aws/mediaconvert/model/DvbSubtitleOutlineColor.h>
17#include <aws/mediaconvert/model/DvbSubtitleShadowColor.h>
18#include <aws/mediaconvert/model/DvbSubtitleStylePassthrough.h>
19#include <aws/mediaconvert/model/DvbSubtitlingType.h>
20#include <aws/mediaconvert/model/DvbSubtitleTeletextSpacing.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace MediaConvert
34{
35namespace Model
36{
37
47 {
48 public:
49 AWS_MEDIACONVERT_API DvbSubDestinationSettings() = default;
52 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
65 inline DvbSubtitleAlignment GetAlignment() const { return m_alignment; }
66 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
67 inline void SetAlignment(DvbSubtitleAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
70
72
82 inline DvbSubtitleApplyFontColor GetApplyFontColor() const { return m_applyFontColor; }
83 inline bool ApplyFontColorHasBeenSet() const { return m_applyFontColorHasBeenSet; }
84 inline void SetApplyFontColor(DvbSubtitleApplyFontColor value) { m_applyFontColorHasBeenSet = true; m_applyFontColor = value; }
87
89
94 inline DvbSubtitleBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
95 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
96 inline void SetBackgroundColor(DvbSubtitleBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
99
101
110 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
111 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
112 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
113 inline DvbSubDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
115
117
134 inline DvbddsHandling GetDdsHandling() const { return m_ddsHandling; }
135 inline bool DdsHandlingHasBeenSet() const { return m_ddsHandlingHasBeenSet; }
136 inline void SetDdsHandling(DvbddsHandling value) { m_ddsHandlingHasBeenSet = true; m_ddsHandling = value; }
139
141
151 inline int GetDdsXCoordinate() const { return m_ddsXCoordinate; }
152 inline bool DdsXCoordinateHasBeenSet() const { return m_ddsXCoordinateHasBeenSet; }
153 inline void SetDdsXCoordinate(int value) { m_ddsXCoordinateHasBeenSet = true; m_ddsXCoordinate = value; }
154 inline DvbSubDestinationSettings& WithDdsXCoordinate(int value) { SetDdsXCoordinate(value); return *this;}
156
158
169 inline int GetDdsYCoordinate() const { return m_ddsYCoordinate; }
170 inline bool DdsYCoordinateHasBeenSet() const { return m_ddsYCoordinateHasBeenSet; }
171 inline void SetDdsYCoordinate(int value) { m_ddsYCoordinateHasBeenSet = true; m_ddsYCoordinate = value; }
172 inline DvbSubDestinationSettings& WithDdsYCoordinate(int value) { SetDdsYCoordinate(value); return *this;}
174
176
186 inline DvbSubSubtitleFallbackFont GetFallbackFont() const { return m_fallbackFont; }
187 inline bool FallbackFontHasBeenSet() const { return m_fallbackFontHasBeenSet; }
188 inline void SetFallbackFont(DvbSubSubtitleFallbackFont value) { m_fallbackFontHasBeenSet = true; m_fallbackFont = value; }
191
193
199 inline DvbSubtitleFontColor GetFontColor() const { return m_fontColor; }
200 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
201 inline void SetFontColor(DvbSubtitleFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
204
206
211 inline const Aws::String& GetFontFileBold() const { return m_fontFileBold; }
212 inline bool FontFileBoldHasBeenSet() const { return m_fontFileBoldHasBeenSet; }
213 template<typename FontFileBoldT = Aws::String>
214 void SetFontFileBold(FontFileBoldT&& value) { m_fontFileBoldHasBeenSet = true; m_fontFileBold = std::forward<FontFileBoldT>(value); }
215 template<typename FontFileBoldT = Aws::String>
216 DvbSubDestinationSettings& WithFontFileBold(FontFileBoldT&& value) { SetFontFileBold(std::forward<FontFileBoldT>(value)); return *this;}
218
220
227 inline const Aws::String& GetFontFileBoldItalic() const { return m_fontFileBoldItalic; }
228 inline bool FontFileBoldItalicHasBeenSet() const { return m_fontFileBoldItalicHasBeenSet; }
229 template<typename FontFileBoldItalicT = Aws::String>
230 void SetFontFileBoldItalic(FontFileBoldItalicT&& value) { m_fontFileBoldItalicHasBeenSet = true; m_fontFileBoldItalic = std::forward<FontFileBoldItalicT>(value); }
231 template<typename FontFileBoldItalicT = Aws::String>
232 DvbSubDestinationSettings& WithFontFileBoldItalic(FontFileBoldItalicT&& value) { SetFontFileBoldItalic(std::forward<FontFileBoldItalicT>(value)); return *this;}
234
236
241 inline const Aws::String& GetFontFileItalic() const { return m_fontFileItalic; }
242 inline bool FontFileItalicHasBeenSet() const { return m_fontFileItalicHasBeenSet; }
243 template<typename FontFileItalicT = Aws::String>
244 void SetFontFileItalic(FontFileItalicT&& value) { m_fontFileItalicHasBeenSet = true; m_fontFileItalic = std::forward<FontFileItalicT>(value); }
245 template<typename FontFileItalicT = Aws::String>
246 DvbSubDestinationSettings& WithFontFileItalic(FontFileItalicT&& value) { SetFontFileItalic(std::forward<FontFileItalicT>(value)); return *this;}
248
250
255 inline const Aws::String& GetFontFileRegular() const { return m_fontFileRegular; }
256 inline bool FontFileRegularHasBeenSet() const { return m_fontFileRegularHasBeenSet; }
257 template<typename FontFileRegularT = Aws::String>
258 void SetFontFileRegular(FontFileRegularT&& value) { m_fontFileRegularHasBeenSet = true; m_fontFileRegular = std::forward<FontFileRegularT>(value); }
259 template<typename FontFileRegularT = Aws::String>
260 DvbSubDestinationSettings& WithFontFileRegular(FontFileRegularT&& value) { SetFontFileRegular(std::forward<FontFileRegularT>(value)); return *this;}
262
264
270 inline int GetFontOpacity() const { return m_fontOpacity; }
271 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
272 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
273 inline DvbSubDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
275
277
282 inline int GetFontResolution() const { return m_fontResolution; }
283 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
284 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
285 inline DvbSubDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
287
289
296 inline FontScript GetFontScript() const { return m_fontScript; }
297 inline bool FontScriptHasBeenSet() const { return m_fontScriptHasBeenSet; }
298 inline void SetFontScript(FontScript value) { m_fontScriptHasBeenSet = true; m_fontScript = value; }
299 inline DvbSubDestinationSettings& WithFontScript(FontScript value) { SetFontScript(value); return *this;}
301
303
308 inline int GetFontSize() const { return m_fontSize; }
309 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
310 inline void SetFontSize(int value) { m_fontSizeHasBeenSet = true; m_fontSize = value; }
311 inline DvbSubDestinationSettings& WithFontSize(int value) { SetFontSize(value); return *this;}
313
315
321 inline int GetHeight() const { return m_height; }
322 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
323 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
324 inline DvbSubDestinationSettings& WithHeight(int value) { SetHeight(value); return *this;}
326
328
334 inline const Aws::String& GetHexFontColor() const { return m_hexFontColor; }
335 inline bool HexFontColorHasBeenSet() const { return m_hexFontColorHasBeenSet; }
336 template<typename HexFontColorT = Aws::String>
337 void SetHexFontColor(HexFontColorT&& value) { m_hexFontColorHasBeenSet = true; m_hexFontColor = std::forward<HexFontColorT>(value); }
338 template<typename HexFontColorT = Aws::String>
339 DvbSubDestinationSettings& WithHexFontColor(HexFontColorT&& value) { SetHexFontColor(std::forward<HexFontColorT>(value)); return *this;}
341
343
349 inline DvbSubtitleOutlineColor GetOutlineColor() const { return m_outlineColor; }
350 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
351 inline void SetOutlineColor(DvbSubtitleOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
354
356
362 inline int GetOutlineSize() const { return m_outlineSize; }
363 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
364 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
365 inline DvbSubDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
367
369
375 inline DvbSubtitleShadowColor GetShadowColor() const { return m_shadowColor; }
376 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
377 inline void SetShadowColor(DvbSubtitleShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
380
382
390 inline int GetShadowOpacity() const { return m_shadowOpacity; }
391 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
392 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
393 inline DvbSubDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
395
397
402 inline int GetShadowXOffset() const { return m_shadowXOffset; }
403 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
404 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
405 inline DvbSubDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
407
409
416 inline int GetShadowYOffset() const { return m_shadowYOffset; }
417 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
418 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
419 inline DvbSubDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
421
423
435 inline DvbSubtitleStylePassthrough GetStylePassthrough() const { return m_stylePassthrough; }
436 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
437 inline void SetStylePassthrough(DvbSubtitleStylePassthrough value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = value; }
440
442
447 inline DvbSubtitlingType GetSubtitlingType() const { return m_subtitlingType; }
448 inline bool SubtitlingTypeHasBeenSet() const { return m_subtitlingTypeHasBeenSet; }
449 inline void SetSubtitlingType(DvbSubtitlingType value) { m_subtitlingTypeHasBeenSet = true; m_subtitlingType = value; }
452
454
461 inline DvbSubtitleTeletextSpacing GetTeletextSpacing() const { return m_teletextSpacing; }
462 inline bool TeletextSpacingHasBeenSet() const { return m_teletextSpacingHasBeenSet; }
463 inline void SetTeletextSpacing(DvbSubtitleTeletextSpacing value) { m_teletextSpacingHasBeenSet = true; m_teletextSpacing = value; }
466
468
474 inline int GetWidth() const { return m_width; }
475 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
476 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
477 inline DvbSubDestinationSettings& WithWidth(int value) { SetWidth(value); return *this;}
479
481
488 inline int GetXPosition() const { return m_xPosition; }
489 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
490 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
491 inline DvbSubDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
493
495
502 inline int GetYPosition() const { return m_yPosition; }
503 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
504 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
505 inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
507 private:
508
510 bool m_alignmentHasBeenSet = false;
511
513 bool m_applyFontColorHasBeenSet = false;
514
516 bool m_backgroundColorHasBeenSet = false;
517
518 int m_backgroundOpacity{0};
519 bool m_backgroundOpacityHasBeenSet = false;
520
522 bool m_ddsHandlingHasBeenSet = false;
523
524 int m_ddsXCoordinate{0};
525 bool m_ddsXCoordinateHasBeenSet = false;
526
527 int m_ddsYCoordinate{0};
528 bool m_ddsYCoordinateHasBeenSet = false;
529
531 bool m_fallbackFontHasBeenSet = false;
532
534 bool m_fontColorHasBeenSet = false;
535
536 Aws::String m_fontFileBold;
537 bool m_fontFileBoldHasBeenSet = false;
538
539 Aws::String m_fontFileBoldItalic;
540 bool m_fontFileBoldItalicHasBeenSet = false;
541
542 Aws::String m_fontFileItalic;
543 bool m_fontFileItalicHasBeenSet = false;
544
545 Aws::String m_fontFileRegular;
546 bool m_fontFileRegularHasBeenSet = false;
547
548 int m_fontOpacity{0};
549 bool m_fontOpacityHasBeenSet = false;
550
551 int m_fontResolution{0};
552 bool m_fontResolutionHasBeenSet = false;
553
554 FontScript m_fontScript{FontScript::NOT_SET};
555 bool m_fontScriptHasBeenSet = false;
556
557 int m_fontSize{0};
558 bool m_fontSizeHasBeenSet = false;
559
560 int m_height{0};
561 bool m_heightHasBeenSet = false;
562
563 Aws::String m_hexFontColor;
564 bool m_hexFontColorHasBeenSet = false;
565
567 bool m_outlineColorHasBeenSet = false;
568
569 int m_outlineSize{0};
570 bool m_outlineSizeHasBeenSet = false;
571
573 bool m_shadowColorHasBeenSet = false;
574
575 int m_shadowOpacity{0};
576 bool m_shadowOpacityHasBeenSet = false;
577
578 int m_shadowXOffset{0};
579 bool m_shadowXOffsetHasBeenSet = false;
580
581 int m_shadowYOffset{0};
582 bool m_shadowYOffsetHasBeenSet = false;
583
585 bool m_stylePassthroughHasBeenSet = false;
586
588 bool m_subtitlingTypeHasBeenSet = false;
589
591 bool m_teletextSpacingHasBeenSet = false;
592
593 int m_width{0};
594 bool m_widthHasBeenSet = false;
595
596 int m_xPosition{0};
597 bool m_xPositionHasBeenSet = false;
598
599 int m_yPosition{0};
600 bool m_yPositionHasBeenSet = false;
601 };
602
603} // namespace Model
604} // namespace MediaConvert
605} // 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