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

The URL to start the AppStream 2.0 streaming session.

*/ inline const Aws::String& GetStreamingURL() const{ return m_streamingURL; } /** *

The URL to start the AppStream 2.0 streaming session.

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

The URL to start the AppStream 2.0 streaming session.

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

The URL to start the AppStream 2.0 streaming session.

*/ inline void SetStreamingURL(const char* value) { m_streamingURL.assign(value); } /** *

The URL to start the AppStream 2.0 streaming session.

*/ inline CreateStreamingURLResult& WithStreamingURL(const Aws::String& value) { SetStreamingURL(value); return *this;} /** *

The URL to start the AppStream 2.0 streaming session.

*/ inline CreateStreamingURLResult& WithStreamingURL(Aws::String&& value) { SetStreamingURL(std::move(value)); return *this;} /** *

The URL to start the AppStream 2.0 streaming session.

*/ inline CreateStreamingURLResult& WithStreamingURL(const char* value) { SetStreamingURL(value); return *this;} /** *

The elapsed time, in seconds after the Unix epoch, when this URL expires.

*/ inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; } /** *

The elapsed time, in seconds after the Unix epoch, when this URL expires.

*/ inline void SetExpires(const Aws::Utils::DateTime& value) { m_expires = value; } /** *

The elapsed time, in seconds after the Unix epoch, when this URL expires.

*/ inline void SetExpires(Aws::Utils::DateTime&& value) { m_expires = std::move(value); } /** *

The elapsed time, in seconds after the Unix epoch, when this URL expires.

*/ inline CreateStreamingURLResult& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;} /** *

The elapsed time, in seconds after the Unix epoch, when this URL expires.

*/ inline CreateStreamingURLResult& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;} private: Aws::String m_streamingURL; Aws::Utils::DateTime m_expires; }; } // namespace Model } // namespace AppStream } // namespace Aws