AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateParticipantConnectionResult.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/Websocket.h>
9#include <aws/connectparticipant/model/ConnectionCredentials.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ConnectParticipant
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult() = default;
35
36
38
41 inline const Websocket& GetWebsocket() const { return m_websocket; }
42 template<typename WebsocketT = Websocket>
43 void SetWebsocket(WebsocketT&& value) { m_websocketHasBeenSet = true; m_websocket = std::forward<WebsocketT>(value); }
44 template<typename WebsocketT = Websocket>
45 CreateParticipantConnectionResult& WithWebsocket(WebsocketT&& value) { SetWebsocket(std::forward<WebsocketT>(value)); return *this;}
47
49
53 inline const ConnectionCredentials& GetConnectionCredentials() const { return m_connectionCredentials; }
54 template<typename ConnectionCredentialsT = ConnectionCredentials>
55 void SetConnectionCredentials(ConnectionCredentialsT&& value) { m_connectionCredentialsHasBeenSet = true; m_connectionCredentials = std::forward<ConnectionCredentialsT>(value); }
56 template<typename ConnectionCredentialsT = ConnectionCredentials>
57 CreateParticipantConnectionResult& WithConnectionCredentials(ConnectionCredentialsT&& value) { SetConnectionCredentials(std::forward<ConnectionCredentialsT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 CreateParticipantConnectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Websocket m_websocket;
71 bool m_websocketHasBeenSet = false;
72
73 ConnectionCredentials m_connectionCredentials;
74 bool m_connectionCredentialsHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ConnectParticipant
82} // namespace Aws
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