AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/RemoveRubyReserveAttributes.h>
17#include <aws/mediaconvert/model/BurninSubtitleShadowColor.h>
18#include <aws/mediaconvert/model/BurnInSubtitleStylePassthrough.h>
19#include <aws/mediaconvert/model/BurninSubtitleTeletextSpacing.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace MediaConvert
33{
34namespace Model
35{
36
48 {
49 public:
50 AWS_MEDIACONVERT_API BurninDestinationSettings() = default;
53 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
65 inline BurninSubtitleAlignment GetAlignment() const { return m_alignment; }
66 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
67 inline void SetAlignment(BurninSubtitleAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
70
72
82 inline BurninSubtitleApplyFontColor GetApplyFontColor() const { return m_applyFontColor; }
83 inline bool ApplyFontColorHasBeenSet() const { return m_applyFontColorHasBeenSet; }
84 inline void SetApplyFontColor(BurninSubtitleApplyFontColor value) { m_applyFontColorHasBeenSet = true; m_applyFontColor = value; }
87
89
94 inline BurninSubtitleBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
95 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
96 inline void SetBackgroundColor(BurninSubtitleBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
99
101
109 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
110 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
111 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
112 inline BurninDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
114
116
126 inline BurninSubtitleFallbackFont GetFallbackFont() const { return m_fallbackFont; }
127 inline bool FallbackFontHasBeenSet() const { return m_fallbackFontHasBeenSet; }
128 inline void SetFallbackFont(BurninSubtitleFallbackFont value) { m_fallbackFontHasBeenSet = true; m_fallbackFont = value; }
131
133
138 inline BurninSubtitleFontColor GetFontColor() const { return m_fontColor; }
139 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
140 inline void SetFontColor(BurninSubtitleFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
143
145
150 inline const Aws::String& GetFontFileBold() const { return m_fontFileBold; }
151 inline bool FontFileBoldHasBeenSet() const { return m_fontFileBoldHasBeenSet; }
152 template<typename FontFileBoldT = Aws::String>
153 void SetFontFileBold(FontFileBoldT&& value) { m_fontFileBoldHasBeenSet = true; m_fontFileBold = std::forward<FontFileBoldT>(value); }
154 template<typename FontFileBoldT = Aws::String>
155 BurninDestinationSettings& WithFontFileBold(FontFileBoldT&& value) { SetFontFileBold(std::forward<FontFileBoldT>(value)); return *this;}
157
159
166 inline const Aws::String& GetFontFileBoldItalic() const { return m_fontFileBoldItalic; }
167 inline bool FontFileBoldItalicHasBeenSet() const { return m_fontFileBoldItalicHasBeenSet; }
168 template<typename FontFileBoldItalicT = Aws::String>
169 void SetFontFileBoldItalic(FontFileBoldItalicT&& value) { m_fontFileBoldItalicHasBeenSet = true; m_fontFileBoldItalic = std::forward<FontFileBoldItalicT>(value); }
170 template<typename FontFileBoldItalicT = Aws::String>
171 BurninDestinationSettings& WithFontFileBoldItalic(FontFileBoldItalicT&& value) { SetFontFileBoldItalic(std::forward<FontFileBoldItalicT>(value)); return *this;}
173
175
180 inline const Aws::String& GetFontFileItalic() const { return m_fontFileItalic; }
181 inline bool FontFileItalicHasBeenSet() const { return m_fontFileItalicHasBeenSet; }
182 template<typename FontFileItalicT = Aws::String>
183 void SetFontFileItalic(FontFileItalicT&& value) { m_fontFileItalicHasBeenSet = true; m_fontFileItalic = std::forward<FontFileItalicT>(value); }
184 template<typename FontFileItalicT = Aws::String>
185 BurninDestinationSettings& WithFontFileItalic(FontFileItalicT&& value) { SetFontFileItalic(std::forward<FontFileItalicT>(value)); return *this;}
187
189
194 inline const Aws::String& GetFontFileRegular() const { return m_fontFileRegular; }
195 inline bool FontFileRegularHasBeenSet() const { return m_fontFileRegularHasBeenSet; }
196 template<typename FontFileRegularT = Aws::String>
197 void SetFontFileRegular(FontFileRegularT&& value) { m_fontFileRegularHasBeenSet = true; m_fontFileRegular = std::forward<FontFileRegularT>(value); }
198 template<typename FontFileRegularT = Aws::String>
199 BurninDestinationSettings& WithFontFileRegular(FontFileRegularT&& value) { SetFontFileRegular(std::forward<FontFileRegularT>(value)); return *this;}
201
203
206 inline int GetFontOpacity() const { return m_fontOpacity; }
207 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
208 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
209 inline BurninDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
211
213
216 inline int GetFontResolution() const { return m_fontResolution; }
217 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
218 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
219 inline BurninDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
221
223
229 inline FontScript GetFontScript() const { return m_fontScript; }
230 inline bool FontScriptHasBeenSet() const { return m_fontScriptHasBeenSet; }
231 inline void SetFontScript(FontScript value) { m_fontScriptHasBeenSet = true; m_fontScript = value; }
232 inline BurninDestinationSettings& WithFontScript(FontScript value) { SetFontScript(value); return *this;}
234
236
240 inline int GetFontSize() const { return m_fontSize; }
241 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
242 inline void SetFontSize(int value) { m_fontSizeHasBeenSet = true; m_fontSize = value; }
243 inline BurninDestinationSettings& WithFontSize(int value) { SetFontSize(value); return *this;}
245
247
253 inline const Aws::String& GetHexFontColor() const { return m_hexFontColor; }
254 inline bool HexFontColorHasBeenSet() const { return m_hexFontColorHasBeenSet; }
255 template<typename HexFontColorT = Aws::String>
256 void SetHexFontColor(HexFontColorT&& value) { m_hexFontColorHasBeenSet = true; m_hexFontColor = std::forward<HexFontColorT>(value); }
257 template<typename HexFontColorT = Aws::String>
258 BurninDestinationSettings& WithHexFontColor(HexFontColorT&& value) { SetHexFontColor(std::forward<HexFontColorT>(value)); return *this;}
260
262
267 inline BurninSubtitleOutlineColor GetOutlineColor() const { return m_outlineColor; }
268 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
269 inline void SetOutlineColor(BurninSubtitleOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
272
274
279 inline int GetOutlineSize() const { return m_outlineSize; }
280 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
281 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
282 inline BurninDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
284
286
293 inline RemoveRubyReserveAttributes GetRemoveRubyReserveAttributes() const { return m_removeRubyReserveAttributes; }
294 inline bool RemoveRubyReserveAttributesHasBeenSet() const { return m_removeRubyReserveAttributesHasBeenSet; }
295 inline void SetRemoveRubyReserveAttributes(RemoveRubyReserveAttributes value) { m_removeRubyReserveAttributesHasBeenSet = true; m_removeRubyReserveAttributes = value; }
298
300
305 inline BurninSubtitleShadowColor GetShadowColor() const { return m_shadowColor; }
306 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
307 inline void SetShadowColor(BurninSubtitleShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
310
312
319 inline int GetShadowOpacity() const { return m_shadowOpacity; }
320 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
321 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
322 inline BurninDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
324
326
330 inline int GetShadowXOffset() const { return m_shadowXOffset; }
331 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
332 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
333 inline BurninDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
335
337
343 inline int GetShadowYOffset() const { return m_shadowYOffset; }
344 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
345 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
346 inline BurninDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
348
350
362 inline BurnInSubtitleStylePassthrough GetStylePassthrough() const { return m_stylePassthrough; }
363 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
364 inline void SetStylePassthrough(BurnInSubtitleStylePassthrough value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = value; }
367
369
375 inline BurninSubtitleTeletextSpacing GetTeletextSpacing() const { return m_teletextSpacing; }
376 inline bool TeletextSpacingHasBeenSet() const { return m_teletextSpacingHasBeenSet; }
377 inline void SetTeletextSpacing(BurninSubtitleTeletextSpacing value) { m_teletextSpacingHasBeenSet = true; m_teletextSpacing = value; }
380
382
388 inline int GetXPosition() const { return m_xPosition; }
389 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
390 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
391 inline BurninDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
393
395
401 inline int GetYPosition() const { return m_yPosition; }
402 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
403 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
404 inline BurninDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
406 private:
407
409 bool m_alignmentHasBeenSet = false;
410
412 bool m_applyFontColorHasBeenSet = false;
413
415 bool m_backgroundColorHasBeenSet = false;
416
417 int m_backgroundOpacity{0};
418 bool m_backgroundOpacityHasBeenSet = false;
419
421 bool m_fallbackFontHasBeenSet = false;
422
424 bool m_fontColorHasBeenSet = false;
425
426 Aws::String m_fontFileBold;
427 bool m_fontFileBoldHasBeenSet = false;
428
429 Aws::String m_fontFileBoldItalic;
430 bool m_fontFileBoldItalicHasBeenSet = false;
431
432 Aws::String m_fontFileItalic;
433 bool m_fontFileItalicHasBeenSet = false;
434
435 Aws::String m_fontFileRegular;
436 bool m_fontFileRegularHasBeenSet = false;
437
438 int m_fontOpacity{0};
439 bool m_fontOpacityHasBeenSet = false;
440
441 int m_fontResolution{0};
442 bool m_fontResolutionHasBeenSet = false;
443
444 FontScript m_fontScript{FontScript::NOT_SET};
445 bool m_fontScriptHasBeenSet = false;
446
447 int m_fontSize{0};
448 bool m_fontSizeHasBeenSet = false;
449
450 Aws::String m_hexFontColor;
451 bool m_hexFontColorHasBeenSet = false;
452
454 bool m_outlineColorHasBeenSet = false;
455
456 int m_outlineSize{0};
457 bool m_outlineSizeHasBeenSet = false;
458
460 bool m_removeRubyReserveAttributesHasBeenSet = false;
461
463 bool m_shadowColorHasBeenSet = false;
464
465 int m_shadowOpacity{0};
466 bool m_shadowOpacityHasBeenSet = false;
467
468 int m_shadowXOffset{0};
469 bool m_shadowXOffsetHasBeenSet = false;
470
471 int m_shadowYOffset{0};
472 bool m_shadowYOffsetHasBeenSet = false;
473
475 bool m_stylePassthroughHasBeenSet = false;
476
478 bool m_teletextSpacingHasBeenSet = false;
479
480 int m_xPosition{0};
481 bool m_xPositionHasBeenSet = false;
482
483 int m_yPosition{0};
484 bool m_yPositionHasBeenSet = false;
485 };
486
487} // namespace Model
488} // namespace MediaConvert
489} // 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