AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartChatContactResult.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:
30 AWS_CONNECT_API StartChatContactResult();
33
34
36
39 inline const Aws::String& GetContactId() const{ return m_contactId; }
40 inline void SetContactId(const Aws::String& value) { m_contactId = value; }
41 inline void SetContactId(Aws::String&& value) { m_contactId = std::move(value); }
42 inline void SetContactId(const char* value) { m_contactId.assign(value); }
43 inline StartChatContactResult& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
44 inline StartChatContactResult& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
45 inline StartChatContactResult& WithContactId(const char* value) { SetContactId(value); return *this;}
47
49
53 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
54 inline void SetParticipantId(const Aws::String& value) { m_participantId = value; }
55 inline void SetParticipantId(Aws::String&& value) { m_participantId = std::move(value); }
56 inline void SetParticipantId(const char* value) { m_participantId.assign(value); }
57 inline StartChatContactResult& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
58 inline StartChatContactResult& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
59 inline StartChatContactResult& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
61
63
68 inline const Aws::String& GetParticipantToken() const{ return m_participantToken; }
69 inline void SetParticipantToken(const Aws::String& value) { m_participantToken = value; }
70 inline void SetParticipantToken(Aws::String&& value) { m_participantToken = std::move(value); }
71 inline void SetParticipantToken(const char* value) { m_participantToken.assign(value); }
72 inline StartChatContactResult& WithParticipantToken(const Aws::String& value) { SetParticipantToken(value); return *this;}
73 inline StartChatContactResult& WithParticipantToken(Aws::String&& value) { SetParticipantToken(std::move(value)); return *this;}
74 inline StartChatContactResult& WithParticipantToken(const char* value) { SetParticipantToken(value); return *this;}
76
78
82 inline const Aws::String& GetContinuedFromContactId() const{ return m_continuedFromContactId; }
83 inline void SetContinuedFromContactId(const Aws::String& value) { m_continuedFromContactId = value; }
84 inline void SetContinuedFromContactId(Aws::String&& value) { m_continuedFromContactId = std::move(value); }
85 inline void SetContinuedFromContactId(const char* value) { m_continuedFromContactId.assign(value); }
88 inline StartChatContactResult& WithContinuedFromContactId(const char* value) { SetContinuedFromContactId(value); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline StartChatContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline StartChatContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline StartChatContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_contactId;
104
105 Aws::String m_participantId;
106
107 Aws::String m_participantToken;
108
109 Aws::String m_continuedFromContactId;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace Connect
116} // namespace Aws
AWS_CONNECT_API StartChatContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChatContactResult & WithContinuedFromContactId(const char *value)
StartChatContactResult & WithParticipantId(const Aws::String &value)
StartChatContactResult & WithParticipantToken(const char *value)
void SetParticipantToken(const Aws::String &value)
StartChatContactResult & WithParticipantToken(const Aws::String &value)
StartChatContactResult & WithContinuedFromContactId(Aws::String &&value)
StartChatContactResult & WithRequestId(const char *value)
StartChatContactResult & WithContactId(const char *value)
StartChatContactResult & WithContinuedFromContactId(const Aws::String &value)
StartChatContactResult & WithParticipantId(const char *value)
StartChatContactResult & WithParticipantId(Aws::String &&value)
StartChatContactResult & WithParticipantToken(Aws::String &&value)
StartChatContactResult & WithRequestId(Aws::String &&value)
AWS_CONNECT_API StartChatContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChatContactResult & WithContactId(Aws::String &&value)
StartChatContactResult & WithRequestId(const Aws::String &value)
StartChatContactResult & WithContactId(const Aws::String &value)
void SetContinuedFromContactId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue