/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KinesisVideoArchivedMedia { namespace Model { class GetHLSStreamingSessionURLResult { public: AWS_KINESISVIDEOARCHIVEDMEDIA_API GetHLSStreamingSessionURLResult(); AWS_KINESISVIDEOARCHIVEDMEDIA_API GetHLSStreamingSessionURLResult(const Aws::AmazonWebServiceResult& result); AWS_KINESISVIDEOARCHIVEDMEDIA_API GetHLSStreamingSessionURLResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline const Aws::String& GetHLSStreamingSessionURL() const{ return m_hLSStreamingSessionURL; } /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline void SetHLSStreamingSessionURL(const Aws::String& value) { m_hLSStreamingSessionURL = value; } /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline void SetHLSStreamingSessionURL(Aws::String&& value) { m_hLSStreamingSessionURL = std::move(value); } /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline void SetHLSStreamingSessionURL(const char* value) { m_hLSStreamingSessionURL.assign(value); } /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline GetHLSStreamingSessionURLResult& WithHLSStreamingSessionURL(const Aws::String& value) { SetHLSStreamingSessionURL(value); return *this;} /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline GetHLSStreamingSessionURLResult& WithHLSStreamingSessionURL(Aws::String&& value) { SetHLSStreamingSessionURL(std::move(value)); return *this;} /** *

The URL (containing the session token) that a media player can use to * retrieve the HLS master playlist.

*/ inline GetHLSStreamingSessionURLResult& WithHLSStreamingSessionURL(const char* value) { SetHLSStreamingSessionURL(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetHLSStreamingSessionURLResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetHLSStreamingSessionURLResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetHLSStreamingSessionURLResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hLSStreamingSessionURL; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisVideoArchivedMedia } // namespace Aws