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/mediaconvert/MediaConvert_EXPORTS.h> 8 9 namespace Aws 10 { 11 namespace Utils 12 { 13 namespace Json 14 { 15 class JsonValue; 16 class JsonView; 17 } // namespace Json 18 } // namespace Utils 19 namespace MediaConvert 20 { 21 namespace Model 22 { 23 24 /** 25 * DVB Sub Source Settings<p><h3>See Also:</h3> <a 26 * href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubSourceSettings">AWS 27 * API Reference</a></p> 28 */ 29 class AWS_MEDIACONVERT_API DvbSubSourceSettings 30 { 31 public: 32 DvbSubSourceSettings(); 33 DvbSubSourceSettings(Aws::Utils::Json::JsonView jsonValue); 34 DvbSubSourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue); 35 Aws::Utils::Json::JsonValue Jsonize() const; 36 37 38 /** 39 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source 40 * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, 41 * regardless of selectors. 42 */ GetPid()43 inline int GetPid() const{ return m_pid; } 44 45 /** 46 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source 47 * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, 48 * regardless of selectors. 49 */ PidHasBeenSet()50 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; } 51 52 /** 53 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source 54 * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, 55 * regardless of selectors. 56 */ SetPid(int value)57 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; } 58 59 /** 60 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source 61 * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, 62 * regardless of selectors. 63 */ WithPid(int value)64 inline DvbSubSourceSettings& WithPid(int value) { SetPid(value); return *this;} 65 66 private: 67 68 int m_pid; 69 bool m_pidHasBeenSet; 70 }; 71 72 } // namespace Model 73 } // namespace MediaConvert 74 } // namespace Aws 75