/** * 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 ConnectParticipant { namespace Model { class AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult { public: CreateParticipantConnectionResult(); CreateParticipantConnectionResult(const Aws::AmazonWebServiceResult& result); 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;} private: Websocket m_websocket; ConnectionCredentials m_connectionCredentials; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws