/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* Settings for Teletext caption outputSee Also:
AWS
* API Reference
*/
class AWS_MEDIACONVERT_API TeletextDestinationSettings
{
public:
TeletextDestinationSettings();
TeletextDestinationSettings(Aws::Utils::Json::JsonView jsonValue);
TeletextDestinationSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline const Aws::String& GetPageNumber() const{ return m_pageNumber; }
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline void SetPageNumber(const Aws::String& value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; }
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline void SetPageNumber(Aws::String&& value) { m_pageNumberHasBeenSet = true; m_pageNumber = std::move(value); }
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline void SetPageNumber(const char* value) { m_pageNumberHasBeenSet = true; m_pageNumber.assign(value); }
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline TeletextDestinationSettings& WithPageNumber(const Aws::String& value) { SetPageNumber(value); return *this;}
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline TeletextDestinationSettings& WithPageNumber(Aws::String&& value) { SetPageNumber(std::move(value)); return *this;}
/**
* Set pageNumber to the Teletext page number for the destination captions for this
* output. This value must be a three-digit hexadecimal string; strings ending in
* -FF are invalid. If you are passing through the entire set of Teletext data, do
* not use this field.
*/
inline TeletextDestinationSettings& WithPageNumber(const char* value) { SetPageNumber(value); return *this;}
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline const Aws::Vector& GetPageTypes() const{ return m_pageTypes; }
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline bool PageTypesHasBeenSet() const { return m_pageTypesHasBeenSet; }
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline void SetPageTypes(const Aws::Vector& value) { m_pageTypesHasBeenSet = true; m_pageTypes = value; }
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline void SetPageTypes(Aws::Vector&& value) { m_pageTypesHasBeenSet = true; m_pageTypes = std::move(value); }
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline TeletextDestinationSettings& WithPageTypes(const Aws::Vector& value) { SetPageTypes(value); return *this;}
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline TeletextDestinationSettings& WithPageTypes(Aws::Vector&& value) { SetPageTypes(std::move(value)); return *this;}
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline TeletextDestinationSettings& AddPageTypes(const TeletextPageType& value) { m_pageTypesHasBeenSet = true; m_pageTypes.push_back(value); return *this; }
/**
* Specify the page types for this Teletext page. If you don't specify a value
* here, the service sets the page type to the default value Subtitle
* (PAGE_TYPE_SUBTITLE). If you pass through the entire set of Teletext data, don't
* use this field. When you pass through a set of Teletext pages, your output has
* the same page types as your input.
*/
inline TeletextDestinationSettings& AddPageTypes(TeletextPageType&& value) { m_pageTypesHasBeenSet = true; m_pageTypes.push_back(std::move(value)); return *this; }
private:
Aws::String m_pageNumber;
bool m_pageNumberHasBeenSet;
Aws::Vector m_pageTypes;
bool m_pageTypesHasBeenSet;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws