/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Dvb Sub Destination Settings

See Also:

AWS * API Reference

*/ class DvbSubDestinationSettings { public: AWS_MEDIALIVE_API DvbSubDestinationSettings(); AWS_MEDIALIVE_API DvbSubDestinationSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API DvbSubDestinationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline const DvbSubDestinationAlignment& GetAlignment() const{ return m_alignment; } /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; } /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline void SetAlignment(const DvbSubDestinationAlignment& value) { m_alignmentHasBeenSet = true; m_alignment = value; } /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline void SetAlignment(DvbSubDestinationAlignment&& value) { m_alignmentHasBeenSet = true; m_alignment = std::move(value); } /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithAlignment(const DvbSubDestinationAlignment& value) { SetAlignment(value); return *this;} /** * If no explicit xPosition or yPosition is provided, setting alignment to centered * will place the captions at the bottom center of the output. Similarly, setting a * left alignment will align captions to the bottom left of the output. If x and y * positions are given in conjunction with the alignment parameter, the font will * be justified (either left or centered) relative to those coordinates. Selecting * "smart" justification will left-justify live subtitles and center-justify * pre-recorded subtitles. This option is not valid for source captions that are * STL or 608/embedded. These source settings are already pre-defined by the * caption stream. All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithAlignment(DvbSubDestinationAlignment&& value) { SetAlignment(std::move(value)); return *this;} /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline const DvbSubDestinationBackgroundColor& GetBackgroundColor() const{ return m_backgroundColor; } /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline void SetBackgroundColor(const DvbSubDestinationBackgroundColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline void SetBackgroundColor(DvbSubDestinationBackgroundColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithBackgroundColor(const DvbSubDestinationBackgroundColor& value) { SetBackgroundColor(value); return *this;} /** * Specifies the color of the rectangle behind the captions. All burn-in and * DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithBackgroundColor(DvbSubDestinationBackgroundColor&& value) { SetBackgroundColor(std::move(value)); return *this;} /** * Specifies the opacity of the background rectangle. 255 is opaque; 0 is * transparent. Leaving this parameter blank is equivalent to setting it to 0 * (transparent). All burn-in and DVB-Sub font settings must match. */ inline int GetBackgroundOpacity() const{ return m_backgroundOpacity; } /** * Specifies the opacity of the background rectangle. 255 is opaque; 0 is * transparent. Leaving this parameter blank is equivalent to setting it to 0 * (transparent). All burn-in and DVB-Sub font settings must match. */ inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; } /** * Specifies the opacity of the background rectangle. 255 is opaque; 0 is * transparent. Leaving this parameter blank is equivalent to setting it to 0 * (transparent). All burn-in and DVB-Sub font settings must match. */ inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; } /** * Specifies the opacity of the background rectangle. 255 is opaque; 0 is * transparent. Leaving this parameter blank is equivalent to setting it to 0 * (transparent). All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;} /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline const InputLocation& GetFont() const{ return m_font; } /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline bool FontHasBeenSet() const { return m_fontHasBeenSet; } /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline void SetFont(const InputLocation& value) { m_fontHasBeenSet = true; m_font = value; } /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline void SetFont(InputLocation&& value) { m_fontHasBeenSet = true; m_font = std::move(value); } /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFont(const InputLocation& value) { SetFont(value); return *this;} /** * External font file used for caption burn-in. File extension must be 'ttf' or * 'tte'. Although the user can select output fonts for many different types of * input captions, embedded, STL and teletext sources use a strict grid system. * Using external fonts with these caption sources could cause unexpected display * of proportional fonts. All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFont(InputLocation&& value) { SetFont(std::move(value)); return *this;} /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline const DvbSubDestinationFontColor& GetFontColor() const{ return m_fontColor; } /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; } /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline void SetFontColor(const DvbSubDestinationFontColor& value) { m_fontColorHasBeenSet = true; m_fontColor = value; } /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline void SetFontColor(DvbSubDestinationFontColor&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); } /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline DvbSubDestinationSettings& WithFontColor(const DvbSubDestinationFontColor& value) { SetFontColor(value); return *this;} /** * Specifies the color of the burned-in captions. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline DvbSubDestinationSettings& WithFontColor(DvbSubDestinationFontColor&& value) { SetFontColor(std::move(value)); return *this;} /** * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is * transparent. All burn-in and DVB-Sub font settings must match. */ inline int GetFontOpacity() const{ return m_fontOpacity; } /** * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is * transparent. All burn-in and DVB-Sub font settings must match. */ inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; } /** * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is * transparent. All burn-in and DVB-Sub font settings must match. */ inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; } /** * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is * transparent. All burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;} /** * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and * DVB-Sub font settings must match. */ inline int GetFontResolution() const{ return m_fontResolution; } /** * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and * DVB-Sub font settings must match. */ inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; } /** * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and * DVB-Sub font settings must match. */ inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; } /** * Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and * DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;} /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline const Aws::String& GetFontSize() const{ return m_fontSize; } /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; } /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline void SetFontSize(const Aws::String& value) { m_fontSizeHasBeenSet = true; m_fontSize = value; } /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline void SetFontSize(Aws::String&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::move(value); } /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline void SetFontSize(const char* value) { m_fontSizeHasBeenSet = true; m_fontSize.assign(value); } /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFontSize(const Aws::String& value) { SetFontSize(value); return *this;} /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFontSize(Aws::String&& value) { SetFontSize(std::move(value)); return *this;} /** * When set to auto fontSize will scale depending on the size of the output. * Giving a positive integer will specify the exact font size in points. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithFontSize(const char* value) { SetFontSize(value); return *this;} /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline const DvbSubDestinationOutlineColor& GetOutlineColor() const{ return m_outlineColor; } /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; } /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline void SetOutlineColor(const DvbSubDestinationOutlineColor& value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; } /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline void SetOutlineColor(DvbSubDestinationOutlineColor&& value) { m_outlineColorHasBeenSet = true; m_outlineColor = std::move(value); } /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline DvbSubDestinationSettings& WithOutlineColor(const DvbSubDestinationOutlineColor& value) { SetOutlineColor(value); return *this;} /** * Specifies font outline color. This option is not valid for source captions that * are either 608/embedded or teletext. These source settings are already * pre-defined by the caption stream. All burn-in and DVB-Sub font settings must * match. */ inline DvbSubDestinationSettings& WithOutlineColor(DvbSubDestinationOutlineColor&& value) { SetOutlineColor(std::move(value)); return *this;} /** * Specifies font outline size in pixels. This option is not valid for source * captions that are either 608/embedded or teletext. These source settings are * already pre-defined by the caption stream. All burn-in and DVB-Sub font settings * must match. */ inline int GetOutlineSize() const{ return m_outlineSize; } /** * Specifies font outline size in pixels. This option is not valid for source * captions that are either 608/embedded or teletext. These source settings are * already pre-defined by the caption stream. All burn-in and DVB-Sub font settings * must match. */ inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; } /** * Specifies font outline size in pixels. This option is not valid for source * captions that are either 608/embedded or teletext. These source settings are * already pre-defined by the caption stream. All burn-in and DVB-Sub font settings * must match. */ inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; } /** * Specifies font outline size in pixels. This option is not valid for source * captions that are either 608/embedded or teletext. These source settings are * already pre-defined by the caption stream. All burn-in and DVB-Sub font settings * must match. */ inline DvbSubDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;} /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline const DvbSubDestinationShadowColor& GetShadowColor() const{ return m_shadowColor; } /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; } /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline void SetShadowColor(const DvbSubDestinationShadowColor& value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; } /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline void SetShadowColor(DvbSubDestinationShadowColor&& value) { m_shadowColorHasBeenSet = true; m_shadowColor = std::move(value); } /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline DvbSubDestinationSettings& WithShadowColor(const DvbSubDestinationShadowColor& value) { SetShadowColor(value); return *this;} /** * Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub * font settings must match. */ inline DvbSubDestinationSettings& WithShadowColor(DvbSubDestinationShadowColor&& value) { SetShadowColor(std::move(value)); return *this;} /** * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving * this parameter blank is equivalent to setting it to 0 (transparent). All * burn-in and DVB-Sub font settings must match. */ inline int GetShadowOpacity() const{ return m_shadowOpacity; } /** * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving * this parameter blank is equivalent to setting it to 0 (transparent). All * burn-in and DVB-Sub font settings must match. */ inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; } /** * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving * this parameter blank is equivalent to setting it to 0 (transparent). All * burn-in and DVB-Sub font settings must match. */ inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; } /** * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving * this parameter blank is equivalent to setting it to 0 (transparent). All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;} /** * Specifies the horizontal offset of the shadow relative to the captions in * pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All * burn-in and DVB-Sub font settings must match. */ inline int GetShadowXOffset() const{ return m_shadowXOffset; } /** * Specifies the horizontal offset of the shadow relative to the captions in * pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All * burn-in and DVB-Sub font settings must match. */ inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; } /** * Specifies the horizontal offset of the shadow relative to the captions in * pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All * burn-in and DVB-Sub font settings must match. */ inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; } /** * Specifies the horizontal offset of the shadow relative to the captions in * pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;} /** * Specifies the vertical offset of the shadow relative to the captions in pixels. * A value of -2 would result in a shadow offset 2 pixels above the text. All * burn-in and DVB-Sub font settings must match. */ inline int GetShadowYOffset() const{ return m_shadowYOffset; } /** * Specifies the vertical offset of the shadow relative to the captions in pixels. * A value of -2 would result in a shadow offset 2 pixels above the text. All * burn-in and DVB-Sub font settings must match. */ inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; } /** * Specifies the vertical offset of the shadow relative to the captions in pixels. * A value of -2 would result in a shadow offset 2 pixels above the text. All * burn-in and DVB-Sub font settings must match. */ inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; } /** * Specifies the vertical offset of the shadow relative to the captions in pixels. * A value of -2 would result in a shadow offset 2 pixels above the text. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;} /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline const DvbSubDestinationTeletextGridControl& GetTeletextGridControl() const{ return m_teletextGridControl; } /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; } /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline void SetTeletextGridControl(const DvbSubDestinationTeletextGridControl& value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; } /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline void SetTeletextGridControl(DvbSubDestinationTeletextGridControl&& value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = std::move(value); } /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline DvbSubDestinationSettings& WithTeletextGridControl(const DvbSubDestinationTeletextGridControl& value) { SetTeletextGridControl(value); return *this;} /** * Controls whether a fixed grid size will be used to generate the output subtitles * bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. */ inline DvbSubDestinationSettings& WithTeletextGridControl(DvbSubDestinationTeletextGridControl&& value) { SetTeletextGridControl(std::move(value)); return *this;} /** * Specifies the horizontal position of the caption relative to the left side of * the output in pixels. A value of 10 would result in the captions starting 10 * pixels from the left of the output. If no explicit xPosition is provided, the * horizontal caption position will be determined by the alignment parameter. This * option is not valid for source captions that are STL, 608/embedded or teletext. * These source settings are already pre-defined by the caption stream. All * burn-in and DVB-Sub font settings must match. */ inline int GetXPosition() const{ return m_xPosition; } /** * Specifies the horizontal position of the caption relative to the left side of * the output in pixels. A value of 10 would result in the captions starting 10 * pixels from the left of the output. If no explicit xPosition is provided, the * horizontal caption position will be determined by the alignment parameter. This * option is not valid for source captions that are STL, 608/embedded or teletext. * These source settings are already pre-defined by the caption stream. All * burn-in and DVB-Sub font settings must match. */ inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; } /** * Specifies the horizontal position of the caption relative to the left side of * the output in pixels. A value of 10 would result in the captions starting 10 * pixels from the left of the output. If no explicit xPosition is provided, the * horizontal caption position will be determined by the alignment parameter. This * option is not valid for source captions that are STL, 608/embedded or teletext. * These source settings are already pre-defined by the caption stream. All * burn-in and DVB-Sub font settings must match. */ inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; } /** * Specifies the horizontal position of the caption relative to the left side of * the output in pixels. A value of 10 would result in the captions starting 10 * pixels from the left of the output. If no explicit xPosition is provided, the * horizontal caption position will be determined by the alignment parameter. This * option is not valid for source captions that are STL, 608/embedded or teletext. * These source settings are already pre-defined by the caption stream. All * burn-in and DVB-Sub font settings must match. */ inline DvbSubDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;} /** * Specifies the vertical position of the caption relative to the top of the output * in pixels. A value of 10 would result in the captions starting 10 pixels from * the top of the output. If no explicit yPosition is provided, the caption will be * positioned towards the bottom of the output. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline int GetYPosition() const{ return m_yPosition; } /** * Specifies the vertical position of the caption relative to the top of the output * in pixels. A value of 10 would result in the captions starting 10 pixels from * the top of the output. If no explicit yPosition is provided, the caption will be * positioned towards the bottom of the output. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; } /** * Specifies the vertical position of the caption relative to the top of the output * in pixels. A value of 10 would result in the captions starting 10 pixels from * the top of the output. If no explicit yPosition is provided, the caption will be * positioned towards the bottom of the output. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; } /** * Specifies the vertical position of the caption relative to the top of the output * in pixels. A value of 10 would result in the captions starting 10 pixels from * the top of the output. If no explicit yPosition is provided, the caption will be * positioned towards the bottom of the output. This option is not valid for * source captions that are STL, 608/embedded or teletext. These source settings * are already pre-defined by the caption stream. All burn-in and DVB-Sub font * settings must match. */ inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;} private: DvbSubDestinationAlignment m_alignment; bool m_alignmentHasBeenSet = false; DvbSubDestinationBackgroundColor m_backgroundColor; bool m_backgroundColorHasBeenSet = false; int m_backgroundOpacity; bool m_backgroundOpacityHasBeenSet = false; InputLocation m_font; bool m_fontHasBeenSet = false; DvbSubDestinationFontColor m_fontColor; bool m_fontColorHasBeenSet = false; int m_fontOpacity; bool m_fontOpacityHasBeenSet = false; int m_fontResolution; bool m_fontResolutionHasBeenSet = false; Aws::String m_fontSize; bool m_fontSizeHasBeenSet = false; DvbSubDestinationOutlineColor m_outlineColor; bool m_outlineColorHasBeenSet = false; int m_outlineSize; bool m_outlineSizeHasBeenSet = false; DvbSubDestinationShadowColor m_shadowColor; bool m_shadowColorHasBeenSet = false; int m_shadowOpacity; bool m_shadowOpacityHasBeenSet = false; int m_shadowXOffset; bool m_shadowXOffsetHasBeenSet = false; int m_shadowYOffset; bool m_shadowYOffsetHasBeenSet = false; DvbSubDestinationTeletextGridControl m_teletextGridControl; bool m_teletextGridControlHasBeenSet = false; int m_xPosition; bool m_xPositionHasBeenSet = false; int m_yPosition; bool m_yPositionHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws