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

Creates the participant's websocket connection.

*/ inline const Websocket& GetWebsocket() const{ return m_websocket; } /** *

Creates the participant's websocket connection.

*/ inline void SetWebsocket(const Websocket& value) { m_websocket = value; } /** *

Creates the participant's websocket connection.

*/ inline void SetWebsocket(Websocket&& value) { m_websocket = std::move(value); } /** *

Creates the participant's websocket connection.

*/ inline CreateParticipantConnectionResult& WithWebsocket(const Websocket& value) { SetWebsocket(value); return *this;} /** *

Creates the participant's websocket connection.

*/ inline CreateParticipantConnectionResult& WithWebsocket(Websocket&& value) { SetWebsocket(std::move(value)); return *this;} /** *

Creates the participant's connection credentials. The authentication token * associated with the participant's connection.

*/ inline const ConnectionCredentials& GetConnectionCredentials() const{ return m_connectionCredentials; } /** *

Creates the participant's connection credentials. The authentication token * associated with the participant's connection.

*/ inline void SetConnectionCredentials(const ConnectionCredentials& value) { m_connectionCredentials = value; } /** *

Creates the participant's connection credentials. The authentication token * associated with the participant's connection.

*/ inline void SetConnectionCredentials(ConnectionCredentials&& value) { m_connectionCredentials = std::move(value); } /** *

Creates the participant's connection credentials. The authentication token * associated with the participant's connection.

*/ inline CreateParticipantConnectionResult& WithConnectionCredentials(const ConnectionCredentials& value) { SetConnectionCredentials(value); return *this;} /** *

Creates the participant's connection credentials. The authentication token * associated with the participant's connection.

*/ inline CreateParticipantConnectionResult& WithConnectionCredentials(ConnectionCredentials&& value) { SetConnectionCredentials(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 CreateParticipantConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateParticipantConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateParticipantConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Websocket m_websocket; ConnectionCredentials m_connectionCredentials; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws