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-mediaconvert/include/aws/mediaconvert/model/AncillarySourceSettings.h

178 lines
7.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/mediaconvert/model/AncillaryConvert608To708.h>
#include <aws/mediaconvert/model/AncillaryTerminateCaptions.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* Settings for ancillary captions source.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AncillarySourceSettings">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONVERT_API AncillarySourceSettings
{
public:
AncillarySourceSettings();
AncillarySourceSettings(Aws::Utils::Json::JsonView jsonValue);
AncillarySourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline const AncillaryConvert608To708& GetConvert608To708() const{ return m_convert608To708; }
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline void SetConvert608To708(const AncillaryConvert608To708& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline void SetConvert608To708(AncillaryConvert608To708&& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = std::move(value); }
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline AncillarySourceSettings& WithConvert608To708(const AncillaryConvert608To708& value) { SetConvert608To708(value); return *this;}
/**
* Specify whether this set of input captions appears in your outputs in both 608
* and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the
* captions data in two ways: it passes the 608 data through using the 608
* compatibility bytes fields of the 708 wrapper, and it also translates the 608
* data into 708.
*/
inline AncillarySourceSettings& WithConvert608To708(AncillaryConvert608To708&& value) { SetConvert608To708(std::move(value)); return *this;}
/**
* Specifies the 608 channel number in the ancillary data track from which to
* extract captions. Unused for passthrough.
*/
inline int GetSourceAncillaryChannelNumber() const{ return m_sourceAncillaryChannelNumber; }
/**
* Specifies the 608 channel number in the ancillary data track from which to
* extract captions. Unused for passthrough.
*/
inline bool SourceAncillaryChannelNumberHasBeenSet() const { return m_sourceAncillaryChannelNumberHasBeenSet; }
/**
* Specifies the 608 channel number in the ancillary data track from which to
* extract captions. Unused for passthrough.
*/
inline void SetSourceAncillaryChannelNumber(int value) { m_sourceAncillaryChannelNumberHasBeenSet = true; m_sourceAncillaryChannelNumber = value; }
/**
* Specifies the 608 channel number in the ancillary data track from which to
* extract captions. Unused for passthrough.
*/
inline AncillarySourceSettings& WithSourceAncillaryChannelNumber(int value) { SetSourceAncillaryChannelNumber(value); return *this;}
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline const AncillaryTerminateCaptions& GetTerminateCaptions() const{ return m_terminateCaptions; }
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline bool TerminateCaptionsHasBeenSet() const { return m_terminateCaptionsHasBeenSet; }
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline void SetTerminateCaptions(const AncillaryTerminateCaptions& value) { m_terminateCaptionsHasBeenSet = true; m_terminateCaptions = value; }
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline void SetTerminateCaptions(AncillaryTerminateCaptions&& value) { m_terminateCaptionsHasBeenSet = true; m_terminateCaptions = std::move(value); }
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline AncillarySourceSettings& WithTerminateCaptions(const AncillaryTerminateCaptions& value) { SetTerminateCaptions(value); return *this;}
/**
* By default, the service terminates any unterminated captions at the end of each
* input. If you want the caption to continue onto your next input, disable this
* setting.
*/
inline AncillarySourceSettings& WithTerminateCaptions(AncillaryTerminateCaptions&& value) { SetTerminateCaptions(std::move(value)); return *this;}
private:
AncillaryConvert608To708 m_convert608To708;
bool m_convert608To708HasBeenSet;
int m_sourceAncillaryChannelNumber;
bool m_sourceAncillaryChannelNumberHasBeenSet;
AncillaryTerminateCaptions m_terminateCaptions;
bool m_terminateCaptionsHasBeenSet;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws