/** * 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 mediapackagev2 { namespace Model { /** *

The SCTE configuration.

See Also:

AWS * API Reference

*/ class ScteHls { public: AWS_MEDIAPACKAGEV2_API ScteHls(); AWS_MEDIAPACKAGEV2_API ScteHls(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEV2_API ScteHls& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline const AdMarkerHls& GetAdMarkerHls() const{ return m_adMarkerHls; } /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline bool AdMarkerHlsHasBeenSet() const { return m_adMarkerHlsHasBeenSet; } /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline void SetAdMarkerHls(const AdMarkerHls& value) { m_adMarkerHlsHasBeenSet = true; m_adMarkerHls = value; } /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline void SetAdMarkerHls(AdMarkerHls&& value) { m_adMarkerHlsHasBeenSet = true; m_adMarkerHls = std::move(value); } /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline ScteHls& WithAdMarkerHls(const AdMarkerHls& value) { SetAdMarkerHls(value); return *this;} /** *

Ad markers indicate when ads should be inserted during playback. If you * include ad markers in the content stream in your upstream encoders, then you * need to inform MediaPackage what to do with the ad markers in the output. Choose * what you want MediaPackage to do with the ad markers.

Value description: *

  • DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and * program transition events in TS and CMAF manifests. If you use DATERANGE, you * must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more * about DATERANGE, see SCTE-35 * Ad Marker EXT-X-DATERANGE.

*/ inline ScteHls& WithAdMarkerHls(AdMarkerHls&& value) { SetAdMarkerHls(std::move(value)); return *this;} private: AdMarkerHls m_adMarkerHls; bool m_adMarkerHlsHasBeenSet = false; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws