1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/medialive/MediaLive_EXPORTS.h> 8 #include <aws/medialive/model/TtmlDestinationStyleControl.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace MediaLive 22 { 23 namespace Model 24 { 25 26 /** 27 * Ttml Destination Settings<p><h3>See Also:</h3> <a 28 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TtmlDestinationSettings">AWS 29 * API Reference</a></p> 30 */ 31 class AWS_MEDIALIVE_API TtmlDestinationSettings 32 { 33 public: 34 TtmlDestinationSettings(); 35 TtmlDestinationSettings(Aws::Utils::Json::JsonView jsonValue); 36 TtmlDestinationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); 37 Aws::Utils::Json::JsonValue Jsonize() const; 38 39 40 /** 41 * When set to passthrough, passes through style and position information from a 42 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 43 * output. 44 */ GetStyleControl()45 inline const TtmlDestinationStyleControl& GetStyleControl() const{ return m_styleControl; } 46 47 /** 48 * When set to passthrough, passes through style and position information from a 49 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 50 * output. 51 */ StyleControlHasBeenSet()52 inline bool StyleControlHasBeenSet() const { return m_styleControlHasBeenSet; } 53 54 /** 55 * When set to passthrough, passes through style and position information from a 56 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 57 * output. 58 */ SetStyleControl(const TtmlDestinationStyleControl & value)59 inline void SetStyleControl(const TtmlDestinationStyleControl& value) { m_styleControlHasBeenSet = true; m_styleControl = value; } 60 61 /** 62 * When set to passthrough, passes through style and position information from a 63 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 64 * output. 65 */ SetStyleControl(TtmlDestinationStyleControl && value)66 inline void SetStyleControl(TtmlDestinationStyleControl&& value) { m_styleControlHasBeenSet = true; m_styleControl = std::move(value); } 67 68 /** 69 * When set to passthrough, passes through style and position information from a 70 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 71 * output. 72 */ WithStyleControl(const TtmlDestinationStyleControl & value)73 inline TtmlDestinationSettings& WithStyleControl(const TtmlDestinationStyleControl& value) { SetStyleControl(value); return *this;} 74 75 /** 76 * When set to passthrough, passes through style and position information from a 77 * TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML 78 * output. 79 */ WithStyleControl(TtmlDestinationStyleControl && value)80 inline TtmlDestinationSettings& WithStyleControl(TtmlDestinationStyleControl&& value) { SetStyleControl(std::move(value)); return *this;} 81 82 private: 83 84 TtmlDestinationStyleControl m_styleControl; 85 bool m_styleControlHasBeenSet; 86 }; 87 88 } // namespace Model 89 } // namespace MediaLive 90 } // namespace Aws 91