/** * 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 MediaLive { namespace Model { /** * Teletext Source Settings

See Also:

AWS * API Reference

*/ class AWS_MEDIALIVE_API TeletextSourceSettings { public: TeletextSourceSettings(); TeletextSourceSettings(Aws::Utils::Json::JsonView jsonValue); TeletextSourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline const Aws::String& GetPageNumber() const{ return m_pageNumber; } /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; } /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline void SetPageNumber(const Aws::String& value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; } /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline void SetPageNumber(Aws::String&& value) { m_pageNumberHasBeenSet = true; m_pageNumber = std::move(value); } /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline void SetPageNumber(const char* value) { m_pageNumberHasBeenSet = true; m_pageNumber.assign(value); } /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline TeletextSourceSettings& WithPageNumber(const Aws::String& value) { SetPageNumber(value); return *this;} /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline TeletextSourceSettings& WithPageNumber(Aws::String&& value) { SetPageNumber(std::move(value)); return *this;} /** * Specifies the teletext page number within the data stream from which to extract * captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should * be specified as a hexadecimal string with no "0x" prefix. */ inline TeletextSourceSettings& WithPageNumber(const char* value) { SetPageNumber(value); return *this;} private: Aws::String m_pageNumber; bool m_pageNumberHasBeenSet; }; } // namespace Model } // namespace MediaLive } // namespace Aws