7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/Websocket.h>
9#include <aws/connectparticipant/model/ConnectionCredentials.h>
10#include <aws/connectparticipant/model/ConnectionData.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace ConnectParticipant
43 template<
typename WebsocketT = Websocket>
44 void SetWebsocket(WebsocketT&& value) { m_websocketHasBeenSet =
true; m_websocket = std::forward<WebsocketT>(value); }
45 template<
typename WebsocketT = Websocket>
55 template<
typename ConnectionCredentialsT = ConnectionCredentials>
56 void SetConnectionCredentials(ConnectionCredentialsT&& value) { m_connectionCredentialsHasBeenSet =
true; m_connectionCredentials = std::forward<ConnectionCredentialsT>(value); }
57 template<
typename ConnectionCredentialsT = ConnectionCredentials>
67 template<
typename WebRTCConnectionT = ConnectionData>
68 void SetWebRTCConnection(WebRTCConnectionT&& value) { m_webRTCConnectionHasBeenSet =
true; m_webRTCConnection = std::forward<WebRTCConnectionT>(value); }
69 template<
typename WebRTCConnectionT = ConnectionData>
76 template<
typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
78 template<
typename RequestIdT = Aws::String>
84 bool m_websocketHasBeenSet =
false;
87 bool m_connectionCredentialsHasBeenSet =
false;
90 bool m_webRTCConnectionHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
CreateParticipantConnectionResult & WithWebRTCConnection(WebRTCConnectionT &&value)
void SetRequestId(RequestIdT &&value)
void SetWebsocket(WebsocketT &&value)
void SetWebRTCConnection(WebRTCConnectionT &&value)
const Aws::String & GetRequestId() const
const ConnectionCredentials & GetConnectionCredentials() const
const Websocket & GetWebsocket() const
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult()=default
void SetConnectionCredentials(ConnectionCredentialsT &&value)
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateParticipantConnectionResult & WithRequestId(RequestIdT &&value)
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ConnectionData & GetWebRTCConnection() const
CreateParticipantConnectionResult & WithConnectionCredentials(ConnectionCredentialsT &&value)
CreateParticipantConnectionResult & WithWebsocket(WebsocketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue