AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendChatIntegrationEventResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
28 {
29 public:
33
34
36
41 inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
42 inline void SetInitialContactId(const Aws::String& value) { m_initialContactId = value; }
43 inline void SetInitialContactId(Aws::String&& value) { m_initialContactId = std::move(value); }
44 inline void SetInitialContactId(const char* value) { m_initialContactId.assign(value); }
46 inline SendChatIntegrationEventResult& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
47 inline SendChatIntegrationEventResult& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
49
51
55 inline bool GetNewChatCreated() const{ return m_newChatCreated; }
56 inline void SetNewChatCreated(bool value) { m_newChatCreated = value; }
57 inline SendChatIntegrationEventResult& WithNewChatCreated(bool value) { SetNewChatCreated(value); return *this;}
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 SendChatIntegrationEventResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline SendChatIntegrationEventResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline SendChatIntegrationEventResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::String m_initialContactId;
73
74 bool m_newChatCreated;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
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 & WithRequestId(const Aws::String &value)
SendChatIntegrationEventResult & WithInitialContactId(const Aws::String &value)
SendChatIntegrationEventResult & WithRequestId(const char *value)
SendChatIntegrationEventResult & WithInitialContactId(const char *value)
SendChatIntegrationEventResult & WithRequestId(Aws::String &&value)
SendChatIntegrationEventResult & WithInitialContactId(Aws::String &&value)
SendChatIntegrationEventResult & WithNewChatCreated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue