AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SendChatIntegrationEventResult.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 SendChatIntegrationEventResult() = default;
29
31
36 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
37 template <typename InitialContactIdT = Aws::String>
38 void SetInitialContactId(InitialContactIdT&& value) {
39 m_initialContactIdHasBeenSet = true;
40 m_initialContactId = std::forward<InitialContactIdT>(value);
41 }
42 template <typename InitialContactIdT = Aws::String>
44 SetInitialContactId(std::forward<InitialContactIdT>(value));
45 return *this;
46 }
48
50
54 inline bool GetNewChatCreated() const { return m_newChatCreated; }
55 inline void SetNewChatCreated(bool value) {
56 m_newChatCreatedHasBeenSet = true;
57 m_newChatCreated = value;
58 }
60 SetNewChatCreated(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_initialContactId;
83
84 bool m_newChatCreated{false};
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_initialContactIdHasBeenSet = false;
89 bool m_newChatCreatedHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
SendChatIntegrationEventResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API SendChatIntegrationEventResult()=default
AWS_CONNECT_API SendChatIntegrationEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API SendChatIntegrationEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendChatIntegrationEventResult & WithInitialContactId(InitialContactIdT &&value)
SendChatIntegrationEventResult & WithNewChatCreated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue