/** * 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 NimbleStudio { namespace Model { class CreateStreamingSessionResult { public: AWS_NIMBLESTUDIO_API CreateStreamingSessionResult(); AWS_NIMBLESTUDIO_API CreateStreamingSessionResult(const Aws::AmazonWebServiceResult& result); AWS_NIMBLESTUDIO_API CreateStreamingSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The session.

*/ inline const StreamingSession& GetSession() const{ return m_session; } /** *

The session.

*/ inline void SetSession(const StreamingSession& value) { m_session = value; } /** *

The session.

*/ inline void SetSession(StreamingSession&& value) { m_session = std::move(value); } /** *

The session.

*/ inline CreateStreamingSessionResult& WithSession(const StreamingSession& value) { SetSession(value); return *this;} /** *

The session.

*/ inline CreateStreamingSessionResult& WithSession(StreamingSession&& value) { SetSession(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 CreateStreamingSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStreamingSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStreamingSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: StreamingSession m_session; Aws::String m_requestId; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws