AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Websocket& GetWebsocket() const{ return m_websocket; }
42 inline void SetWebsocket(const Websocket& value) { m_websocket = value; }
43 inline void SetWebsocket(Websocket&& value) { m_websocket = std::move(value); }
44 inline CreateParticipantConnectionResult& WithWebsocket(const Websocket& value) { SetWebsocket(value); return *this;}
45 inline CreateParticipantConnectionResult& WithWebsocket(Websocket&& value) { SetWebsocket(std::move(value)); return *this;}
47
49
53 inline const ConnectionCredentials& GetConnectionCredentials() const{ return m_connectionCredentials; }
54 inline void SetConnectionCredentials(const ConnectionCredentials& value) { m_connectionCredentials = value; }
55 inline void SetConnectionCredentials(ConnectionCredentials&& value) { m_connectionCredentials = std::move(value); }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline CreateParticipantConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline CreateParticipantConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline CreateParticipantConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Websocket m_websocket;
73
74 ConnectionCredentials m_connectionCredentials;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace ConnectParticipant
81} // namespace Aws
CreateParticipantConnectionResult & WithConnectionCredentials(const ConnectionCredentials &value)
CreateParticipantConnectionResult & WithRequestId(const char *value)
CreateParticipantConnectionResult & WithWebsocket(Websocket &&value)
CreateParticipantConnectionResult & WithRequestId(const Aws::String &value)
CreateParticipantConnectionResult & WithRequestId(Aws::String &&value)
CreateParticipantConnectionResult & WithConnectionCredentials(ConnectionCredentials &&value)
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTPARTICIPANT_API CreateParticipantConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateParticipantConnectionResult & WithWebsocket(const Websocket &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue