AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CreateParticipantConnectionResult.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/ConnectionCredentials.h>
9#include <aws/connectparticipant/model/WebRTCConnection.h>
10#include <aws/connectparticipant/model/Websocket.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConnectParticipant {
25namespace Model {
27 public:
28 AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult() = default;
30 AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult& operator=(
32
34
37 inline const Websocket& GetWebsocket() const { return m_websocket; }
38 template <typename WebsocketT = Websocket>
39 void SetWebsocket(WebsocketT&& value) {
40 m_websocketHasBeenSet = true;
41 m_websocket = std::forward<WebsocketT>(value);
42 }
43 template <typename WebsocketT = Websocket>
45 SetWebsocket(std::forward<WebsocketT>(value));
46 return *this;
47 }
49
51
55 inline const ConnectionCredentials& GetConnectionCredentials() const { return m_connectionCredentials; }
56 template <typename ConnectionCredentialsT = ConnectionCredentials>
57 void SetConnectionCredentials(ConnectionCredentialsT&& value) {
58 m_connectionCredentialsHasBeenSet = true;
59 m_connectionCredentials = std::forward<ConnectionCredentialsT>(value);
60 }
61 template <typename ConnectionCredentialsT = ConnectionCredentials>
63 SetConnectionCredentials(std::forward<ConnectionCredentialsT>(value));
64 return *this;
65 }
67
69
73 inline const WebRTCConnection& GetWebRTCConnection() const { return m_webRTCConnection; }
74 template <typename WebRTCConnectionT = WebRTCConnection>
75 void SetWebRTCConnection(WebRTCConnectionT&& value) {
76 m_webRTCConnectionHasBeenSet = true;
77 m_webRTCConnection = std::forward<WebRTCConnectionT>(value);
78 }
79 template <typename WebRTCConnectionT = WebRTCConnection>
81 SetWebRTCConnection(std::forward<WebRTCConnectionT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 private:
101 Websocket m_websocket;
102 bool m_websocketHasBeenSet = false;
103
104 ConnectionCredentials m_connectionCredentials;
105 bool m_connectionCredentialsHasBeenSet = false;
106
107 WebRTCConnection m_webRTCConnection;
108 bool m_webRTCConnectionHasBeenSet = false;
109
110 Aws::String m_requestId;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace ConnectParticipant
116} // namespace Aws
CreateParticipantConnectionResult & WithWebRTCConnection(WebRTCConnectionT &&value)
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult()=default
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)
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