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

The configuration for HLS content.

See Also:

AWS * API Reference

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

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline const Aws::String& GetManifestEndpointPrefix() const{ return m_manifestEndpointPrefix; } /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline bool ManifestEndpointPrefixHasBeenSet() const { return m_manifestEndpointPrefixHasBeenSet; } /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline void SetManifestEndpointPrefix(const Aws::String& value) { m_manifestEndpointPrefixHasBeenSet = true; m_manifestEndpointPrefix = value; } /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline void SetManifestEndpointPrefix(Aws::String&& value) { m_manifestEndpointPrefixHasBeenSet = true; m_manifestEndpointPrefix = std::move(value); } /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline void SetManifestEndpointPrefix(const char* value) { m_manifestEndpointPrefixHasBeenSet = true; m_manifestEndpointPrefix.assign(value); } /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline HlsConfiguration& WithManifestEndpointPrefix(const Aws::String& value) { SetManifestEndpointPrefix(value); return *this;} /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline HlsConfiguration& WithManifestEndpointPrefix(Aws::String&& value) { SetManifestEndpointPrefix(std::move(value)); return *this;} /** *

The URL that is used to initiate a playback session for devices that support * Apple HLS. The session uses server-side reporting.

*/ inline HlsConfiguration& WithManifestEndpointPrefix(const char* value) { SetManifestEndpointPrefix(value); return *this;} private: Aws::String m_manifestEndpointPrefix; bool m_manifestEndpointPrefixHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws