AWS SDK for C++

AWS SDK for C++ Version 1.11.910

Loading...
Searching...
No Matches
StartChatContactResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ConnectionCredentials.h>
9#include <aws/connect/model/Websocket.h>
10#include <aws/core/http/HttpResponse.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 Connect {
25namespace Model {
27 public:
28 AWS_CONNECT_API StartChatContactResult() = default;
31
33
36 inline const Aws::String& GetContactId() const { return m_contactId; }
37 template <typename ContactIdT = Aws::String>
38 void SetContactId(ContactIdT&& value) {
39 m_contactIdHasBeenSet = true;
40 m_contactId = std::forward<ContactIdT>(value);
41 }
42 template <typename ContactIdT = Aws::String>
44 SetContactId(std::forward<ContactIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetParticipantId() const { return m_participantId; }
55 template <typename ParticipantIdT = Aws::String>
56 void SetParticipantId(ParticipantIdT&& value) {
57 m_participantIdHasBeenSet = true;
58 m_participantId = std::forward<ParticipantIdT>(value);
59 }
60 template <typename ParticipantIdT = Aws::String>
61 StartChatContactResult& WithParticipantId(ParticipantIdT&& value) {
62 SetParticipantId(std::forward<ParticipantIdT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetParticipantToken() const { return m_participantToken; }
74 template <typename ParticipantTokenT = Aws::String>
75 void SetParticipantToken(ParticipantTokenT&& value) {
76 m_participantTokenHasBeenSet = true;
77 m_participantToken = std::forward<ParticipantTokenT>(value);
78 }
79 template <typename ParticipantTokenT = Aws::String>
80 StartChatContactResult& WithParticipantToken(ParticipantTokenT&& value) {
81 SetParticipantToken(std::forward<ParticipantTokenT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetContinuedFromContactId() const { return m_continuedFromContactId; }
92 template <typename ContinuedFromContactIdT = Aws::String>
93 void SetContinuedFromContactId(ContinuedFromContactIdT&& value) {
94 m_continuedFromContactIdHasBeenSet = true;
95 m_continuedFromContactId = std::forward<ContinuedFromContactIdT>(value);
96 }
97 template <typename ContinuedFromContactIdT = Aws::String>
98 StartChatContactResult& WithContinuedFromContactId(ContinuedFromContactIdT&& value) {
99 SetContinuedFromContactId(std::forward<ContinuedFromContactIdT>(value));
100 return *this;
101 }
103
105
110 inline const ConnectionCredentials& GetConnectionCredentials() const { return m_connectionCredentials; }
111 template <typename ConnectionCredentialsT = ConnectionCredentials>
112 void SetConnectionCredentials(ConnectionCredentialsT&& value) {
113 m_connectionCredentialsHasBeenSet = true;
114 m_connectionCredentials = std::forward<ConnectionCredentialsT>(value);
115 }
116 template <typename ConnectionCredentialsT = ConnectionCredentials>
117 StartChatContactResult& WithConnectionCredentials(ConnectionCredentialsT&& value) {
118 SetConnectionCredentials(std::forward<ConnectionCredentialsT>(value));
119 return *this;
120 }
122
124
128 inline const Websocket& GetWebsocket() const { return m_websocket; }
129 template <typename WebsocketT = Websocket>
130 void SetWebsocket(WebsocketT&& value) {
131 m_websocketHasBeenSet = true;
132 m_websocket = std::forward<WebsocketT>(value);
133 }
134 template <typename WebsocketT = Websocket>
136 SetWebsocket(std::forward<WebsocketT>(value));
137 return *this;
138 }
140
142
148 inline const Aws::String& GetStreamingId() const { return m_streamingId; }
149 template <typename StreamingIdT = Aws::String>
150 void SetStreamingId(StreamingIdT&& value) {
151 m_streamingIdHasBeenSet = true;
152 m_streamingId = std::forward<StreamingIdT>(value);
153 }
154 template <typename StreamingIdT = Aws::String>
156 SetStreamingId(std::forward<StreamingIdT>(value));
157 return *this;
158 }
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template <typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) {
166 m_requestIdHasBeenSet = true;
167 m_requestId = std::forward<RequestIdT>(value);
168 }
169 template <typename RequestIdT = Aws::String>
171 SetRequestId(std::forward<RequestIdT>(value));
172 return *this;
173 }
175 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
176
177 private:
178 Aws::String m_contactId;
179
180 Aws::String m_participantId;
181
182 Aws::String m_participantToken;
183
184 Aws::String m_continuedFromContactId;
185
186 ConnectionCredentials m_connectionCredentials;
187
188 Websocket m_websocket;
189
190 Aws::String m_streamingId;
191
192 Aws::String m_requestId;
193 Aws::Http::HttpResponseCode m_HttpResponseCode;
194 bool m_contactIdHasBeenSet = false;
195 bool m_participantIdHasBeenSet = false;
196 bool m_participantTokenHasBeenSet = false;
197 bool m_continuedFromContactIdHasBeenSet = false;
198 bool m_connectionCredentialsHasBeenSet = false;
199 bool m_websocketHasBeenSet = false;
200 bool m_streamingIdHasBeenSet = false;
201 bool m_requestIdHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace Connect
206} // namespace Aws
void SetParticipantToken(ParticipantTokenT &&value)
StartChatContactResult & WithStreamingId(StreamingIdT &&value)
AWS_CONNECT_API StartChatContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ConnectionCredentials & GetConnectionCredentials() const
StartChatContactResult & WithContactId(ContactIdT &&value)
StartChatContactResult & WithWebsocket(WebsocketT &&value)
void SetContinuedFromContactId(ContinuedFromContactIdT &&value)
void SetConnectionCredentials(ConnectionCredentialsT &&value)
StartChatContactResult & WithParticipantToken(ParticipantTokenT &&value)
StartChatContactResult & WithParticipantId(ParticipantIdT &&value)
StartChatContactResult & WithConnectionCredentials(ConnectionCredentialsT &&value)
StartChatContactResult & WithContinuedFromContactId(ContinuedFromContactIdT &&value)
StartChatContactResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API StartChatContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API StartChatContactResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue