AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BurninDestinationSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/BurninSubtitleAlignment.h>
9#include <aws/mediaconvert/model/BurninSubtitleApplyFontColor.h>
10#include <aws/mediaconvert/model/BurninSubtitleBackgroundColor.h>
11#include <aws/mediaconvert/model/BurninSubtitleFallbackFont.h>
12#include <aws/mediaconvert/model/BurninSubtitleFontColor.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/mediaconvert/model/FontScript.h>
15#include <aws/mediaconvert/model/BurninSubtitleOutlineColor.h>
16#include <aws/mediaconvert/model/BurninSubtitleShadowColor.h>
17#include <aws/mediaconvert/model/BurnInSubtitleStylePassthrough.h>
18#include <aws/mediaconvert/model/BurninSubtitleTeletextSpacing.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaConvert
32{
33namespace Model
34{
35
47 {
48 public:
49 AWS_MEDIACONVERT_API BurninDestinationSettings();
52 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
64 inline const BurninSubtitleAlignment& GetAlignment() const{ return m_alignment; }
65 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
66 inline void SetAlignment(const BurninSubtitleAlignment& value) { m_alignmentHasBeenSet = true; m_alignment = value; }
67 inline void SetAlignment(BurninSubtitleAlignment&& value) { m_alignmentHasBeenSet = true; m_alignment = std::move(value); }
68 inline BurninDestinationSettings& WithAlignment(const BurninSubtitleAlignment& value) { SetAlignment(value); return *this;}
69 inline BurninDestinationSettings& WithAlignment(BurninSubtitleAlignment&& value) { SetAlignment(std::move(value)); return *this;}
71
73
83 inline const BurninSubtitleApplyFontColor& GetApplyFontColor() const{ return m_applyFontColor; }
84 inline bool ApplyFontColorHasBeenSet() const { return m_applyFontColorHasBeenSet; }
85 inline void SetApplyFontColor(const BurninSubtitleApplyFontColor& value) { m_applyFontColorHasBeenSet = true; m_applyFontColor = value; }
86 inline void SetApplyFontColor(BurninSubtitleApplyFontColor&& value) { m_applyFontColorHasBeenSet = true; m_applyFontColor = std::move(value); }
90
92
97 inline const BurninSubtitleBackgroundColor& GetBackgroundColor() const{ return m_backgroundColor; }
98 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
99 inline void SetBackgroundColor(const BurninSubtitleBackgroundColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
100 inline void SetBackgroundColor(BurninSubtitleBackgroundColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); }
104
106
114 inline int GetBackgroundOpacity() const{ return m_backgroundOpacity; }
115 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
116 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
117 inline BurninDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
119
121
131 inline const BurninSubtitleFallbackFont& GetFallbackFont() const{ return m_fallbackFont; }
132 inline bool FallbackFontHasBeenSet() const { return m_fallbackFontHasBeenSet; }
133 inline void SetFallbackFont(const BurninSubtitleFallbackFont& value) { m_fallbackFontHasBeenSet = true; m_fallbackFont = value; }
134 inline void SetFallbackFont(BurninSubtitleFallbackFont&& value) { m_fallbackFontHasBeenSet = true; m_fallbackFont = std::move(value); }
138
140
145 inline const BurninSubtitleFontColor& GetFontColor() const{ return m_fontColor; }
146 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
147 inline void SetFontColor(const BurninSubtitleFontColor& value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
148 inline void SetFontColor(BurninSubtitleFontColor&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); }
150 inline BurninDestinationSettings& WithFontColor(BurninSubtitleFontColor&& value) { SetFontColor(std::move(value)); return *this;}
152
154
159 inline const Aws::String& GetFontFileBold() const{ return m_fontFileBold; }
160 inline bool FontFileBoldHasBeenSet() const { return m_fontFileBoldHasBeenSet; }
161 inline void SetFontFileBold(const Aws::String& value) { m_fontFileBoldHasBeenSet = true; m_fontFileBold = value; }
162 inline void SetFontFileBold(Aws::String&& value) { m_fontFileBoldHasBeenSet = true; m_fontFileBold = std::move(value); }
163 inline void SetFontFileBold(const char* value) { m_fontFileBoldHasBeenSet = true; m_fontFileBold.assign(value); }
164 inline BurninDestinationSettings& WithFontFileBold(const Aws::String& value) { SetFontFileBold(value); return *this;}
165 inline BurninDestinationSettings& WithFontFileBold(Aws::String&& value) { SetFontFileBold(std::move(value)); return *this;}
166 inline BurninDestinationSettings& WithFontFileBold(const char* value) { SetFontFileBold(value); return *this;}
168
170
177 inline const Aws::String& GetFontFileBoldItalic() const{ return m_fontFileBoldItalic; }
178 inline bool FontFileBoldItalicHasBeenSet() const { return m_fontFileBoldItalicHasBeenSet; }
179 inline void SetFontFileBoldItalic(const Aws::String& value) { m_fontFileBoldItalicHasBeenSet = true; m_fontFileBoldItalic = value; }
180 inline void SetFontFileBoldItalic(Aws::String&& value) { m_fontFileBoldItalicHasBeenSet = true; m_fontFileBoldItalic = std::move(value); }
181 inline void SetFontFileBoldItalic(const char* value) { m_fontFileBoldItalicHasBeenSet = true; m_fontFileBoldItalic.assign(value); }
183 inline BurninDestinationSettings& WithFontFileBoldItalic(Aws::String&& value) { SetFontFileBoldItalic(std::move(value)); return *this;}
184 inline BurninDestinationSettings& WithFontFileBoldItalic(const char* value) { SetFontFileBoldItalic(value); return *this;}
186
188
193 inline const Aws::String& GetFontFileItalic() const{ return m_fontFileItalic; }
194 inline bool FontFileItalicHasBeenSet() const { return m_fontFileItalicHasBeenSet; }
195 inline void SetFontFileItalic(const Aws::String& value) { m_fontFileItalicHasBeenSet = true; m_fontFileItalic = value; }
196 inline void SetFontFileItalic(Aws::String&& value) { m_fontFileItalicHasBeenSet = true; m_fontFileItalic = std::move(value); }
197 inline void SetFontFileItalic(const char* value) { m_fontFileItalicHasBeenSet = true; m_fontFileItalic.assign(value); }
198 inline BurninDestinationSettings& WithFontFileItalic(const Aws::String& value) { SetFontFileItalic(value); return *this;}
199 inline BurninDestinationSettings& WithFontFileItalic(Aws::String&& value) { SetFontFileItalic(std::move(value)); return *this;}
200 inline BurninDestinationSettings& WithFontFileItalic(const char* value) { SetFontFileItalic(value); return *this;}
202
204
209 inline const Aws::String& GetFontFileRegular() const{ return m_fontFileRegular; }
210 inline bool FontFileRegularHasBeenSet() const { return m_fontFileRegularHasBeenSet; }
211 inline void SetFontFileRegular(const Aws::String& value) { m_fontFileRegularHasBeenSet = true; m_fontFileRegular = value; }
212 inline void SetFontFileRegular(Aws::String&& value) { m_fontFileRegularHasBeenSet = true; m_fontFileRegular = std::move(value); }
213 inline void SetFontFileRegular(const char* value) { m_fontFileRegularHasBeenSet = true; m_fontFileRegular.assign(value); }
215 inline BurninDestinationSettings& WithFontFileRegular(Aws::String&& value) { SetFontFileRegular(std::move(value)); return *this;}
216 inline BurninDestinationSettings& WithFontFileRegular(const char* value) { SetFontFileRegular(value); return *this;}
218
220
223 inline int GetFontOpacity() const{ return m_fontOpacity; }
224 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
225 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
226 inline BurninDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
228
230
233 inline int GetFontResolution() const{ return m_fontResolution; }
234 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
235 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
236 inline BurninDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
238
240
246 inline const FontScript& GetFontScript() const{ return m_fontScript; }
247 inline bool FontScriptHasBeenSet() const { return m_fontScriptHasBeenSet; }
248 inline void SetFontScript(const FontScript& value) { m_fontScriptHasBeenSet = true; m_fontScript = value; }
249 inline void SetFontScript(FontScript&& value) { m_fontScriptHasBeenSet = true; m_fontScript = std::move(value); }
250 inline BurninDestinationSettings& WithFontScript(const FontScript& value) { SetFontScript(value); return *this;}
251 inline BurninDestinationSettings& WithFontScript(FontScript&& value) { SetFontScript(std::move(value)); return *this;}
253
255
259 inline int GetFontSize() const{ return m_fontSize; }
260 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
261 inline void SetFontSize(int value) { m_fontSizeHasBeenSet = true; m_fontSize = value; }
262 inline BurninDestinationSettings& WithFontSize(int value) { SetFontSize(value); return *this;}
264
266
272 inline const Aws::String& GetHexFontColor() const{ return m_hexFontColor; }
273 inline bool HexFontColorHasBeenSet() const { return m_hexFontColorHasBeenSet; }
274 inline void SetHexFontColor(const Aws::String& value) { m_hexFontColorHasBeenSet = true; m_hexFontColor = value; }
275 inline void SetHexFontColor(Aws::String&& value) { m_hexFontColorHasBeenSet = true; m_hexFontColor = std::move(value); }
276 inline void SetHexFontColor(const char* value) { m_hexFontColorHasBeenSet = true; m_hexFontColor.assign(value); }
277 inline BurninDestinationSettings& WithHexFontColor(const Aws::String& value) { SetHexFontColor(value); return *this;}
278 inline BurninDestinationSettings& WithHexFontColor(Aws::String&& value) { SetHexFontColor(std::move(value)); return *this;}
279 inline BurninDestinationSettings& WithHexFontColor(const char* value) { SetHexFontColor(value); return *this;}
281
283
288 inline const BurninSubtitleOutlineColor& GetOutlineColor() const{ return m_outlineColor; }
289 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
290 inline void SetOutlineColor(const BurninSubtitleOutlineColor& value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
291 inline void SetOutlineColor(BurninSubtitleOutlineColor&& value) { m_outlineColorHasBeenSet = true; m_outlineColor = std::move(value); }
295
297
302 inline int GetOutlineSize() const{ return m_outlineSize; }
303 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
304 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
305 inline BurninDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
307
309
314 inline const BurninSubtitleShadowColor& GetShadowColor() const{ return m_shadowColor; }
315 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
316 inline void SetShadowColor(const BurninSubtitleShadowColor& value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
317 inline void SetShadowColor(BurninSubtitleShadowColor&& value) { m_shadowColorHasBeenSet = true; m_shadowColor = std::move(value); }
319 inline BurninDestinationSettings& WithShadowColor(BurninSubtitleShadowColor&& value) { SetShadowColor(std::move(value)); return *this;}
321
323
330 inline int GetShadowOpacity() const{ return m_shadowOpacity; }
331 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
332 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
333 inline BurninDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
335
337
341 inline int GetShadowXOffset() const{ return m_shadowXOffset; }
342 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
343 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
344 inline BurninDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
346
348
354 inline int GetShadowYOffset() const{ return m_shadowYOffset; }
355 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
356 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
357 inline BurninDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
359
361
373 inline const BurnInSubtitleStylePassthrough& GetStylePassthrough() const{ return m_stylePassthrough; }
374 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
375 inline void SetStylePassthrough(const BurnInSubtitleStylePassthrough& value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = value; }
376 inline void SetStylePassthrough(BurnInSubtitleStylePassthrough&& value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = std::move(value); }
380
382
388 inline const BurninSubtitleTeletextSpacing& GetTeletextSpacing() const{ return m_teletextSpacing; }
389 inline bool TeletextSpacingHasBeenSet() const { return m_teletextSpacingHasBeenSet; }
390 inline void SetTeletextSpacing(const BurninSubtitleTeletextSpacing& value) { m_teletextSpacingHasBeenSet = true; m_teletextSpacing = value; }
391 inline void SetTeletextSpacing(BurninSubtitleTeletextSpacing&& value) { m_teletextSpacingHasBeenSet = true; m_teletextSpacing = std::move(value); }
395
397
403 inline int GetXPosition() const{ return m_xPosition; }
404 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
405 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
406 inline BurninDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
408
410
416 inline int GetYPosition() const{ return m_yPosition; }
417 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
418 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
419 inline BurninDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
421 private:
422
423 BurninSubtitleAlignment m_alignment;
424 bool m_alignmentHasBeenSet = false;
425
426 BurninSubtitleApplyFontColor m_applyFontColor;
427 bool m_applyFontColorHasBeenSet = false;
428
429 BurninSubtitleBackgroundColor m_backgroundColor;
430 bool m_backgroundColorHasBeenSet = false;
431
432 int m_backgroundOpacity;
433 bool m_backgroundOpacityHasBeenSet = false;
434
435 BurninSubtitleFallbackFont m_fallbackFont;
436 bool m_fallbackFontHasBeenSet = false;
437
438 BurninSubtitleFontColor m_fontColor;
439 bool m_fontColorHasBeenSet = false;
440
441 Aws::String m_fontFileBold;
442 bool m_fontFileBoldHasBeenSet = false;
443
444 Aws::String m_fontFileBoldItalic;
445 bool m_fontFileBoldItalicHasBeenSet = false;
446
447 Aws::String m_fontFileItalic;
448 bool m_fontFileItalicHasBeenSet = false;
449
450 Aws::String m_fontFileRegular;
451 bool m_fontFileRegularHasBeenSet = false;
452
453 int m_fontOpacity;
454 bool m_fontOpacityHasBeenSet = false;
455
456 int m_fontResolution;
457 bool m_fontResolutionHasBeenSet = false;
458
459 FontScript m_fontScript;
460 bool m_fontScriptHasBeenSet = false;
461
462 int m_fontSize;
463 bool m_fontSizeHasBeenSet = false;
464
465 Aws::String m_hexFontColor;
466 bool m_hexFontColorHasBeenSet = false;
467
468 BurninSubtitleOutlineColor m_outlineColor;
469 bool m_outlineColorHasBeenSet = false;
470
471 int m_outlineSize;
472 bool m_outlineSizeHasBeenSet = false;
473
474 BurninSubtitleShadowColor m_shadowColor;
475 bool m_shadowColorHasBeenSet = false;
476
477 int m_shadowOpacity;
478 bool m_shadowOpacityHasBeenSet = false;
479
480 int m_shadowXOffset;
481 bool m_shadowXOffsetHasBeenSet = false;
482
483 int m_shadowYOffset;
484 bool m_shadowYOffsetHasBeenSet = false;
485
486 BurnInSubtitleStylePassthrough m_stylePassthrough;
487 bool m_stylePassthroughHasBeenSet = false;
488
489 BurninSubtitleTeletextSpacing m_teletextSpacing;
490 bool m_teletextSpacingHasBeenSet = false;
491
492 int m_xPosition;
493 bool m_xPositionHasBeenSet = false;
494
495 int m_yPosition;
496 bool m_yPositionHasBeenSet = false;
497 };
498
499} // namespace Model
500} // namespace MediaConvert
501} // namespace Aws
BurninDestinationSettings & WithShadowColor(BurninSubtitleShadowColor &&value)
BurninDestinationSettings & WithFontResolution(int value)
BurninDestinationSettings & WithHexFontColor(Aws::String &&value)
void SetFontColor(const BurninSubtitleFontColor &value)
BurninDestinationSettings & WithBackgroundOpacity(int value)
const BurninSubtitleBackgroundColor & GetBackgroundColor() const
BurninDestinationSettings & WithShadowColor(const BurninSubtitleShadowColor &value)
BurninDestinationSettings & WithAlignment(const BurninSubtitleAlignment &value)
BurninDestinationSettings & WithHexFontColor(const char *value)
BurninDestinationSettings & WithFontFileRegular(Aws::String &&value)
BurninDestinationSettings & WithHexFontColor(const Aws::String &value)
const BurninSubtitleApplyFontColor & GetApplyFontColor() const
BurninDestinationSettings & WithFontFileBold(Aws::String &&value)
BurninDestinationSettings & WithFontFileBoldItalic(const Aws::String &value)
BurninDestinationSettings & WithFontFileItalic(Aws::String &&value)
const BurnInSubtitleStylePassthrough & GetStylePassthrough() const
void SetStylePassthrough(BurnInSubtitleStylePassthrough &&value)
void SetOutlineColor(BurninSubtitleOutlineColor &&value)
void SetApplyFontColor(BurninSubtitleApplyFontColor &&value)
BurninDestinationSettings & WithFontColor(BurninSubtitleFontColor &&value)
BurninDestinationSettings & WithFontScript(const FontScript &value)
BurninDestinationSettings & WithTeletextSpacing(BurninSubtitleTeletextSpacing &&value)
BurninDestinationSettings & WithFontFileBoldItalic(Aws::String &&value)
BurninDestinationSettings & WithBackgroundColor(BurninSubtitleBackgroundColor &&value)
BurninDestinationSettings & WithOutlineColor(BurninSubtitleOutlineColor &&value)
void SetAlignment(const BurninSubtitleAlignment &value)
BurninDestinationSettings & WithFontFileBoldItalic(const char *value)
BurninDestinationSettings & WithStylePassthrough(BurnInSubtitleStylePassthrough &&value)
BurninDestinationSettings & WithAlignment(BurninSubtitleAlignment &&value)
BurninDestinationSettings & WithOutlineColor(const BurninSubtitleOutlineColor &value)
const BurninSubtitleShadowColor & GetShadowColor() const
BurninDestinationSettings & WithFontColor(const BurninSubtitleFontColor &value)
BurninDestinationSettings & WithFontScript(FontScript &&value)
BurninDestinationSettings & WithApplyFontColor(const BurninSubtitleApplyFontColor &value)
const BurninSubtitleFallbackFont & GetFallbackFont() const
AWS_MEDIACONVERT_API BurninDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApplyFontColor(const BurninSubtitleApplyFontColor &value)
const BurninSubtitleTeletextSpacing & GetTeletextSpacing() const
BurninDestinationSettings & WithTeletextSpacing(const BurninSubtitleTeletextSpacing &value)
void SetTeletextSpacing(const BurninSubtitleTeletextSpacing &value)
BurninDestinationSettings & WithFontFileRegular(const char *value)
BurninDestinationSettings & WithStylePassthrough(const BurnInSubtitleStylePassthrough &value)
void SetStylePassthrough(const BurnInSubtitleStylePassthrough &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
BurninDestinationSettings & WithFontFileBold(const Aws::String &value)
BurninDestinationSettings & WithFontFileBold(const char *value)
const BurninSubtitleOutlineColor & GetOutlineColor() const
void SetBackgroundColor(BurninSubtitleBackgroundColor &&value)
BurninDestinationSettings & WithApplyFontColor(BurninSubtitleApplyFontColor &&value)
void SetFallbackFont(BurninSubtitleFallbackFont &&value)
void SetShadowColor(const BurninSubtitleShadowColor &value)
void SetBackgroundColor(const BurninSubtitleBackgroundColor &value)
void SetFallbackFont(const BurninSubtitleFallbackFont &value)
BurninDestinationSettings & WithFallbackFont(const BurninSubtitleFallbackFont &value)
AWS_MEDIACONVERT_API BurninDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
void SetOutlineColor(const BurninSubtitleOutlineColor &value)
BurninDestinationSettings & WithFontFileRegular(const Aws::String &value)
BurninDestinationSettings & WithFontFileItalic(const char *value)
void SetTeletextSpacing(BurninSubtitleTeletextSpacing &&value)
BurninDestinationSettings & WithFallbackFont(BurninSubtitleFallbackFont &&value)
BurninDestinationSettings & WithFontFileItalic(const Aws::String &value)
BurninDestinationSettings & WithBackgroundColor(const BurninSubtitleBackgroundColor &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue