/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConvert { namespace Model { /** * Settings related to TTML captions. TTML is a sidecar format that holds captions * in a file that is separate from the video container. Set up sidecar captions in * the same output group, but different output from your video. For more * information, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.

See * Also:

AWS * API Reference

*/ class TtmlDestinationSettings { public: AWS_MEDIACONVERT_API TtmlDestinationSettings(); AWS_MEDIACONVERT_API TtmlDestinationSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API TtmlDestinationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline const TtmlStylePassthrough& GetStylePassthrough() const{ return m_stylePassthrough; } /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; } /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline void SetStylePassthrough(const TtmlStylePassthrough& value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = value; } /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline void SetStylePassthrough(TtmlStylePassthrough&& value) { m_stylePassthroughHasBeenSet = true; m_stylePassthrough = std::move(value); } /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline TtmlDestinationSettings& WithStylePassthrough(const TtmlStylePassthrough& value) { SetStylePassthrough(value); return *this;} /** * Pass through style and position information from a TTML-like input source (TTML, * IMSC, SMPTE-TT) to the TTML output. */ inline TtmlDestinationSettings& WithStylePassthrough(TtmlStylePassthrough&& value) { SetStylePassthrough(std::move(value)); return *this;} private: TtmlStylePassthrough m_stylePassthrough; bool m_stylePassthroughHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws