This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-medialive/include/aws/medialive/model/EmbeddedSourceSettings.h

184 lines
6.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/medialive/MediaLive_EXPORTS.h>
#include <aws/medialive/model/EmbeddedConvert608To708.h>
#include <aws/medialive/model/EmbeddedScte20Detection.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* Embedded Source Settings<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EmbeddedSourceSettings">AWS
* API Reference</a></p>
*/
class AWS_MEDIALIVE_API EmbeddedSourceSettings
{
public:
EmbeddedSourceSettings();
EmbeddedSourceSettings(Aws::Utils::Json::JsonView jsonValue);
EmbeddedSourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline const EmbeddedConvert608To708& GetConvert608To708() const{ return m_convert608To708; }
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline void SetConvert608To708(const EmbeddedConvert608To708& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline void SetConvert608To708(EmbeddedConvert608To708&& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = std::move(value); }
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline EmbeddedSourceSettings& WithConvert608To708(const EmbeddedConvert608To708& value) { SetConvert608To708(value); return *this;}
/**
* If upconvert, 608 data is both passed through via the "608 compatibility bytes"
* fields of the 708 wrapper as well as translated into 708. 708 data present in
* the source content will be discarded.
*/
inline EmbeddedSourceSettings& WithConvert608To708(EmbeddedConvert608To708&& value) { SetConvert608To708(std::move(value)); return *this;}
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline const EmbeddedScte20Detection& GetScte20Detection() const{ return m_scte20Detection; }
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline bool Scte20DetectionHasBeenSet() const { return m_scte20DetectionHasBeenSet; }
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline void SetScte20Detection(const EmbeddedScte20Detection& value) { m_scte20DetectionHasBeenSet = true; m_scte20Detection = value; }
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline void SetScte20Detection(EmbeddedScte20Detection&& value) { m_scte20DetectionHasBeenSet = true; m_scte20Detection = std::move(value); }
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline EmbeddedSourceSettings& WithScte20Detection(const EmbeddedScte20Detection& value) { SetScte20Detection(value); return *this;}
/**
* Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 and
* Embedded captions.
*/
inline EmbeddedSourceSettings& WithScte20Detection(EmbeddedScte20Detection&& value) { SetScte20Detection(std::move(value)); return *this;}
/**
* Specifies the 608/708 channel number within the video track from which to
* extract captions. Unused for passthrough.
*/
inline int GetSource608ChannelNumber() const{ return m_source608ChannelNumber; }
/**
* Specifies the 608/708 channel number within the video track from which to
* extract captions. Unused for passthrough.
*/
inline bool Source608ChannelNumberHasBeenSet() const { return m_source608ChannelNumberHasBeenSet; }
/**
* Specifies the 608/708 channel number within the video track from which to
* extract captions. Unused for passthrough.
*/
inline void SetSource608ChannelNumber(int value) { m_source608ChannelNumberHasBeenSet = true; m_source608ChannelNumber = value; }
/**
* Specifies the 608/708 channel number within the video track from which to
* extract captions. Unused for passthrough.
*/
inline EmbeddedSourceSettings& WithSource608ChannelNumber(int value) { SetSource608ChannelNumber(value); return *this;}
/**
* This field is unused and deprecated.
*/
inline int GetSource608TrackNumber() const{ return m_source608TrackNumber; }
/**
* This field is unused and deprecated.
*/
inline bool Source608TrackNumberHasBeenSet() const { return m_source608TrackNumberHasBeenSet; }
/**
* This field is unused and deprecated.
*/
inline void SetSource608TrackNumber(int value) { m_source608TrackNumberHasBeenSet = true; m_source608TrackNumber = value; }
/**
* This field is unused and deprecated.
*/
inline EmbeddedSourceSettings& WithSource608TrackNumber(int value) { SetSource608TrackNumber(value); return *this;}
private:
EmbeddedConvert608To708 m_convert608To708;
bool m_convert608To708HasBeenSet;
EmbeddedScte20Detection m_scte20Detection;
bool m_scte20DetectionHasBeenSet;
int m_source608ChannelNumber;
bool m_source608ChannelNumberHasBeenSet;
int m_source608TrackNumber;
bool m_source608TrackNumberHasBeenSet;
};
} // namespace Model
} // namespace MediaLive
} // namespace Aws