AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartChatContactResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
25 public:
26 AWS_CONNECT_API StartChatContactResult() = default;
29
31
34 inline const Aws::String& GetContactId() const { return m_contactId; }
35 template <typename ContactIdT = Aws::String>
36 void SetContactId(ContactIdT&& value) {
37 m_contactIdHasBeenSet = true;
38 m_contactId = std::forward<ContactIdT>(value);
39 }
40 template <typename ContactIdT = Aws::String>
42 SetContactId(std::forward<ContactIdT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetParticipantId() const { return m_participantId; }
53 template <typename ParticipantIdT = Aws::String>
54 void SetParticipantId(ParticipantIdT&& value) {
55 m_participantIdHasBeenSet = true;
56 m_participantId = std::forward<ParticipantIdT>(value);
57 }
58 template <typename ParticipantIdT = Aws::String>
59 StartChatContactResult& WithParticipantId(ParticipantIdT&& value) {
60 SetParticipantId(std::forward<ParticipantIdT>(value));
61 return *this;
62 }
64
66
71 inline const Aws::String& GetParticipantToken() const { return m_participantToken; }
72 template <typename ParticipantTokenT = Aws::String>
73 void SetParticipantToken(ParticipantTokenT&& value) {
74 m_participantTokenHasBeenSet = true;
75 m_participantToken = std::forward<ParticipantTokenT>(value);
76 }
77 template <typename ParticipantTokenT = Aws::String>
78 StartChatContactResult& WithParticipantToken(ParticipantTokenT&& value) {
79 SetParticipantToken(std::forward<ParticipantTokenT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::String& GetContinuedFromContactId() const { return m_continuedFromContactId; }
90 template <typename ContinuedFromContactIdT = Aws::String>
91 void SetContinuedFromContactId(ContinuedFromContactIdT&& value) {
92 m_continuedFromContactIdHasBeenSet = true;
93 m_continuedFromContactId = std::forward<ContinuedFromContactIdT>(value);
94 }
95 template <typename ContinuedFromContactIdT = Aws::String>
96 StartChatContactResult& WithContinuedFromContactId(ContinuedFromContactIdT&& value) {
97 SetContinuedFromContactId(std::forward<ContinuedFromContactIdT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::String m_contactId;
120
121 Aws::String m_participantId;
122
123 Aws::String m_participantToken;
124
125 Aws::String m_continuedFromContactId;
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_contactIdHasBeenSet = false;
130 bool m_participantIdHasBeenSet = false;
131 bool m_participantTokenHasBeenSet = false;
132 bool m_continuedFromContactIdHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace Connect
138} // namespace Aws
void SetParticipantToken(ParticipantTokenT &&value)
AWS_CONNECT_API StartChatContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartChatContactResult & WithContactId(ContactIdT &&value)
void SetContinuedFromContactId(ContinuedFromContactIdT &&value)
StartChatContactResult & WithParticipantToken(ParticipantTokenT &&value)
StartChatContactResult & WithParticipantId(ParticipantIdT &&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