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

144 lines
5.8 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/CmfcScte35Esam.h>
#include <aws/mediaconvert/model/CmfcScte35Source.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* Settings for MP4 segments in CMAF<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CmfcSettings">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONVERT_API CmfcSettings
{
public:
CmfcSettings();
CmfcSettings(Aws::Utils::Json::JsonView jsonValue);
CmfcSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline const CmfcScte35Esam& GetScte35Esam() const{ return m_scte35Esam; }
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline bool Scte35EsamHasBeenSet() const { return m_scte35EsamHasBeenSet; }
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline void SetScte35Esam(const CmfcScte35Esam& value) { m_scte35EsamHasBeenSet = true; m_scte35Esam = value; }
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline void SetScte35Esam(CmfcScte35Esam&& value) { m_scte35EsamHasBeenSet = true; m_scte35Esam = std::move(value); }
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline CmfcSettings& WithScte35Esam(const CmfcScte35Esam& value) { SetScte35Esam(value); return *this;}
/**
* Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT
* to put SCTE-35 markers in this output at the insertion points that you specify
* in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
*/
inline CmfcSettings& WithScte35Esam(CmfcScte35Esam&& value) { SetScte35Esam(std::move(value)); return *this;}
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline const CmfcScte35Source& GetScte35Source() const{ return m_scte35Source; }
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline bool Scte35SourceHasBeenSet() const { return m_scte35SourceHasBeenSet; }
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline void SetScte35Source(const CmfcScte35Source& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = value; }
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline void SetScte35Source(CmfcScte35Source&& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = std::move(value); }
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline CmfcSettings& WithScte35Source(const CmfcScte35Source& value) { SetScte35Source(value); return *this;}
/**
* Ignore this setting unless you have SCTE-35 markers in your input video file.
* Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your
* input to also appear in this output. Choose None (NONE) if you don't want those
* SCTE-35 markers in this output.
*/
inline CmfcSettings& WithScte35Source(CmfcScte35Source&& value) { SetScte35Source(std::move(value)); return *this;}
private:
CmfcScte35Esam m_scte35Esam;
bool m_scte35EsamHasBeenSet;
CmfcScte35Source m_scte35Source;
bool m_scte35SourceHasBeenSet;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws