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

See Also:

AWS * API Reference

*/ class AWS_MEDIALIVE_API Scte27SourceSettings { public: Scte27SourceSettings(); Scte27SourceSettings(Aws::Utils::Json::JsonView jsonValue); Scte27SourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * The pid field is used in conjunction with the caption selector languageCode * field as follows: - Specify PID and Language: Extracts captions from that PID; * the language is "informational". - Specify PID and omit Language: Extracts the * specified PID. - Omit PID and specify Language: Extracts the specified * language, whichever PID that happens to be. - Omit PID and omit Language: * Valid only if source is DVB-Sub that is being passed through; all languages will * be passed through. */ inline int GetPid() const{ return m_pid; } /** * The pid field is used in conjunction with the caption selector languageCode * field as follows: - Specify PID and Language: Extracts captions from that PID; * the language is "informational". - Specify PID and omit Language: Extracts the * specified PID. - Omit PID and specify Language: Extracts the specified * language, whichever PID that happens to be. - Omit PID and omit Language: * Valid only if source is DVB-Sub that is being passed through; all languages will * be passed through. */ inline bool PidHasBeenSet() const { return m_pidHasBeenSet; } /** * The pid field is used in conjunction with the caption selector languageCode * field as follows: - Specify PID and Language: Extracts captions from that PID; * the language is "informational". - Specify PID and omit Language: Extracts the * specified PID. - Omit PID and specify Language: Extracts the specified * language, whichever PID that happens to be. - Omit PID and omit Language: * Valid only if source is DVB-Sub that is being passed through; all languages will * be passed through. */ inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; } /** * The pid field is used in conjunction with the caption selector languageCode * field as follows: - Specify PID and Language: Extracts captions from that PID; * the language is "informational". - Specify PID and omit Language: Extracts the * specified PID. - Omit PID and specify Language: Extracts the specified * language, whichever PID that happens to be. - Omit PID and omit Language: * Valid only if source is DVB-Sub that is being passed through; all languages will * be passed through. */ inline Scte27SourceSettings& WithPid(int value) { SetPid(value); return *this;} private: int m_pid; bool m_pidHasBeenSet; }; } // namespace Model } // namespace MediaLive } // namespace Aws