/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConvert { namespace Model { /** * Settings for burning the output timecode and specified prefix into the * output.

See Also:

AWS * API Reference

*/ class TimecodeBurnin { public: AWS_MEDIACONVERT_API TimecodeBurnin(); AWS_MEDIACONVERT_API TimecodeBurnin(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API TimecodeBurnin& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Use Font size to set the font size of any burned-in timecode. Valid values are * 10, 16, 32, 48. */ inline int GetFontSize() const{ return m_fontSize; } /** * Use Font size to set the font size of any burned-in timecode. Valid values are * 10, 16, 32, 48. */ inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; } /** * Use Font size to set the font size of any burned-in timecode. Valid values are * 10, 16, 32, 48. */ inline void SetFontSize(int value) { m_fontSizeHasBeenSet = true; m_fontSize = value; } /** * Use Font size to set the font size of any burned-in timecode. Valid values are * 10, 16, 32, 48. */ inline TimecodeBurnin& WithFontSize(int value) { SetFontSize(value); return *this;} /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline const TimecodeBurninPosition& GetPosition() const{ return m_position; } /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline void SetPosition(const TimecodeBurninPosition& value) { m_positionHasBeenSet = true; m_position = value; } /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline void SetPosition(TimecodeBurninPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline TimecodeBurnin& WithPosition(const TimecodeBurninPosition& value) { SetPosition(value); return *this;} /** * Use Position under Timecode burn-in to specify the location the burned-in * timecode on output video. */ inline TimecodeBurnin& WithPosition(TimecodeBurninPosition&& value) { SetPosition(std::move(value)); return *this;} /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline TimecodeBurnin& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline TimecodeBurnin& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** * Use Prefix to place ASCII characters before any burned-in timecode. For example, * a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either * the characters themselves or the ASCII code equivalents. The supported range of * characters is 0x20 through 0x7e. This includes letters, numbers, and all special * characters represented on a standard English keyboard. */ inline TimecodeBurnin& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: int m_fontSize; bool m_fontSizeHasBeenSet = false; TimecodeBurninPosition m_position; bool m_positionHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws