AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline const Aws::String& GetContactId() const { return m_contactId; }
40 template<typename ContactIdT = Aws::String>
41 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
42 template<typename ContactIdT = Aws::String>
43 StartChatContactResult& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
45
47
51 inline const Aws::String& GetParticipantId() const { return m_participantId; }
52 template<typename ParticipantIdT = Aws::String>
53 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
54 template<typename ParticipantIdT = Aws::String>
55 StartChatContactResult& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
57
59
64 inline const Aws::String& GetParticipantToken() const { return m_participantToken; }
65 template<typename ParticipantTokenT = Aws::String>
66 void SetParticipantToken(ParticipantTokenT&& value) { m_participantTokenHasBeenSet = true; m_participantToken = std::forward<ParticipantTokenT>(value); }
67 template<typename ParticipantTokenT = Aws::String>
68 StartChatContactResult& WithParticipantToken(ParticipantTokenT&& value) { SetParticipantToken(std::forward<ParticipantTokenT>(value)); return *this;}
70
72
76 inline const Aws::String& GetContinuedFromContactId() const { return m_continuedFromContactId; }
77 template<typename ContinuedFromContactIdT = Aws::String>
78 void SetContinuedFromContactId(ContinuedFromContactIdT&& value) { m_continuedFromContactIdHasBeenSet = true; m_continuedFromContactId = std::forward<ContinuedFromContactIdT>(value); }
79 template<typename ContinuedFromContactIdT = Aws::String>
80 StartChatContactResult& WithContinuedFromContactId(ContinuedFromContactIdT&& value) { SetContinuedFromContactId(std::forward<ContinuedFromContactIdT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 StartChatContactResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_contactId;
94 bool m_contactIdHasBeenSet = false;
95
96 Aws::String m_participantId;
97 bool m_participantIdHasBeenSet = false;
98
99 Aws::String m_participantToken;
100 bool m_participantTokenHasBeenSet = false;
101
102 Aws::String m_continuedFromContactId;
103 bool m_continuedFromContactIdHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
void SetParticipantToken(ParticipantTokenT &&value)
AWS_CONNECT_API StartChatContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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