/** * 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 CreateImageBuilderStreamingURLResult { public: AWS_APPSTREAM_API CreateImageBuilderStreamingURLResult(); AWS_APPSTREAM_API CreateImageBuilderStreamingURLResult(const Aws::AmazonWebServiceResult& result); AWS_APPSTREAM_API CreateImageBuilderStreamingURLResult& 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 CreateImageBuilderStreamingURLResult& WithStreamingURL(const Aws::String& value) { SetStreamingURL(value); return *this;} /** *

The URL to start the AppStream 2.0 streaming session.

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

The URL to start the AppStream 2.0 streaming session.

*/ inline CreateImageBuilderStreamingURLResult& 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 CreateImageBuilderStreamingURLResult& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;} /** *

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

*/ inline CreateImageBuilderStreamingURLResult& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(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 CreateImageBuilderStreamingURLResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateImageBuilderStreamingURLResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateImageBuilderStreamingURLResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamingURL; Aws::Utils::DateTime m_expires; Aws::String m_requestId; }; } // namespace Model } // namespace AppStream } // namespace Aws