AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChatSyncResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ActionReview.h>
10#include <aws/qbusiness/model/AuthChallengeRequest.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/SourceAttribution.h>
13#include <aws/qbusiness/model/AttachmentOutput.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QBusiness
29{
30namespace Model
31{
33 {
34 public:
35 AWS_QBUSINESS_API ChatSyncResult();
38
39
41
44 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
45 inline void SetConversationId(const Aws::String& value) { m_conversationId = value; }
46 inline void SetConversationId(Aws::String&& value) { m_conversationId = std::move(value); }
47 inline void SetConversationId(const char* value) { m_conversationId.assign(value); }
48 inline ChatSyncResult& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;}
49 inline ChatSyncResult& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
50 inline ChatSyncResult& WithConversationId(const char* value) { SetConversationId(value); return *this;}
52
54
57 inline const Aws::String& GetSystemMessage() const{ return m_systemMessage; }
58 inline void SetSystemMessage(const Aws::String& value) { m_systemMessage = value; }
59 inline void SetSystemMessage(Aws::String&& value) { m_systemMessage = std::move(value); }
60 inline void SetSystemMessage(const char* value) { m_systemMessage.assign(value); }
61 inline ChatSyncResult& WithSystemMessage(const Aws::String& value) { SetSystemMessage(value); return *this;}
62 inline ChatSyncResult& WithSystemMessage(Aws::String&& value) { SetSystemMessage(std::move(value)); return *this;}
63 inline ChatSyncResult& WithSystemMessage(const char* value) { SetSystemMessage(value); return *this;}
65
67
71 inline const Aws::String& GetSystemMessageId() const{ return m_systemMessageId; }
72 inline void SetSystemMessageId(const Aws::String& value) { m_systemMessageId = value; }
73 inline void SetSystemMessageId(Aws::String&& value) { m_systemMessageId = std::move(value); }
74 inline void SetSystemMessageId(const char* value) { m_systemMessageId.assign(value); }
75 inline ChatSyncResult& WithSystemMessageId(const Aws::String& value) { SetSystemMessageId(value); return *this;}
76 inline ChatSyncResult& WithSystemMessageId(Aws::String&& value) { SetSystemMessageId(std::move(value)); return *this;}
77 inline ChatSyncResult& WithSystemMessageId(const char* value) { SetSystemMessageId(value); return *this;}
79
81
85 inline const Aws::String& GetUserMessageId() const{ return m_userMessageId; }
86 inline void SetUserMessageId(const Aws::String& value) { m_userMessageId = value; }
87 inline void SetUserMessageId(Aws::String&& value) { m_userMessageId = std::move(value); }
88 inline void SetUserMessageId(const char* value) { m_userMessageId.assign(value); }
89 inline ChatSyncResult& WithUserMessageId(const Aws::String& value) { SetUserMessageId(value); return *this;}
90 inline ChatSyncResult& WithUserMessageId(Aws::String&& value) { SetUserMessageId(std::move(value)); return *this;}
91 inline ChatSyncResult& WithUserMessageId(const char* value) { SetUserMessageId(value); return *this;}
93
95
99 inline const ActionReview& GetActionReview() const{ return m_actionReview; }
100 inline void SetActionReview(const ActionReview& value) { m_actionReview = value; }
101 inline void SetActionReview(ActionReview&& value) { m_actionReview = std::move(value); }
102 inline ChatSyncResult& WithActionReview(const ActionReview& value) { SetActionReview(value); return *this;}
103 inline ChatSyncResult& WithActionReview(ActionReview&& value) { SetActionReview(std::move(value)); return *this;}
105
107
111 inline const AuthChallengeRequest& GetAuthChallengeRequest() const{ return m_authChallengeRequest; }
112 inline void SetAuthChallengeRequest(const AuthChallengeRequest& value) { m_authChallengeRequest = value; }
113 inline void SetAuthChallengeRequest(AuthChallengeRequest&& value) { m_authChallengeRequest = std::move(value); }
115 inline ChatSyncResult& WithAuthChallengeRequest(AuthChallengeRequest&& value) { SetAuthChallengeRequest(std::move(value)); return *this;}
117
119
122 inline const Aws::Vector<SourceAttribution>& GetSourceAttributions() const{ return m_sourceAttributions; }
123 inline void SetSourceAttributions(const Aws::Vector<SourceAttribution>& value) { m_sourceAttributions = value; }
124 inline void SetSourceAttributions(Aws::Vector<SourceAttribution>&& value) { m_sourceAttributions = std::move(value); }
127 inline ChatSyncResult& AddSourceAttributions(const SourceAttribution& value) { m_sourceAttributions.push_back(value); return *this; }
128 inline ChatSyncResult& AddSourceAttributions(SourceAttribution&& value) { m_sourceAttributions.push_back(std::move(value)); return *this; }
130
132
135 inline const Aws::Vector<AttachmentOutput>& GetFailedAttachments() const{ return m_failedAttachments; }
136 inline void SetFailedAttachments(const Aws::Vector<AttachmentOutput>& value) { m_failedAttachments = value; }
137 inline void SetFailedAttachments(Aws::Vector<AttachmentOutput>&& value) { m_failedAttachments = std::move(value); }
140 inline ChatSyncResult& AddFailedAttachments(const AttachmentOutput& value) { m_failedAttachments.push_back(value); return *this; }
141 inline ChatSyncResult& AddFailedAttachments(AttachmentOutput&& value) { m_failedAttachments.push_back(std::move(value)); return *this; }
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline ChatSyncResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline ChatSyncResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline ChatSyncResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_conversationId;
157
158 Aws::String m_systemMessage;
159
160 Aws::String m_systemMessageId;
161
162 Aws::String m_userMessageId;
163
164 ActionReview m_actionReview;
165
166 AuthChallengeRequest m_authChallengeRequest;
167
168 Aws::Vector<SourceAttribution> m_sourceAttributions;
169
170 Aws::Vector<AttachmentOutput> m_failedAttachments;
171
172 Aws::String m_requestId;
173 };
174
175} // namespace Model
176} // namespace QBusiness
177} // namespace Aws
void SetSourceAttributions(Aws::Vector< SourceAttribution > &&value)
ChatSyncResult & WithActionReview(ActionReview &&value)
ChatSyncResult & WithSystemMessageId(const Aws::String &value)
ChatSyncResult & WithConversationId(const Aws::String &value)
ChatSyncResult & WithRequestId(const char *value)
ChatSyncResult & WithSourceAttributions(const Aws::Vector< SourceAttribution > &value)
ChatSyncResult & WithRequestId(const Aws::String &value)
const Aws::String & GetSystemMessage() const
const AuthChallengeRequest & GetAuthChallengeRequest() const
const Aws::String & GetUserMessageId() const
ChatSyncResult & WithUserMessageId(const char *value)
void SetFailedAttachments(Aws::Vector< AttachmentOutput > &&value)
ChatSyncResult & AddFailedAttachments(const AttachmentOutput &value)
void SetRequestId(const Aws::String &value)
ChatSyncResult & WithAuthChallengeRequest(const AuthChallengeRequest &value)
void SetFailedAttachments(const Aws::Vector< AttachmentOutput > &value)
AWS_QBUSINESS_API ChatSyncResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ChatSyncResult & WithSystemMessageId(Aws::String &&value)
void SetAuthChallengeRequest(AuthChallengeRequest &&value)
ChatSyncResult & WithAuthChallengeRequest(AuthChallengeRequest &&value)
void SetUserMessageId(Aws::String &&value)
void SetSystemMessageId(const char *value)
ChatSyncResult & WithConversationId(const char *value)
ChatSyncResult & WithSystemMessage(const Aws::String &value)
ChatSyncResult & AddSourceAttributions(const SourceAttribution &value)
AWS_QBUSINESS_API ChatSyncResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ChatSyncResult & AddFailedAttachments(AttachmentOutput &&value)
ChatSyncResult & WithUserMessageId(const Aws::String &value)
ChatSyncResult & WithConversationId(Aws::String &&value)
ChatSyncResult & WithSourceAttributions(Aws::Vector< SourceAttribution > &&value)
void SetActionReview(ActionReview &&value)
void SetSystemMessage(Aws::String &&value)
const Aws::String & GetRequestId() const
ChatSyncResult & WithFailedAttachments(Aws::Vector< AttachmentOutput > &&value)
const ActionReview & GetActionReview() const
void SetRequestId(Aws::String &&value)
void SetSystemMessage(const char *value)
void SetAuthChallengeRequest(const AuthChallengeRequest &value)
ChatSyncResult & WithSystemMessage(const char *value)
void SetSystemMessage(const Aws::String &value)
ChatSyncResult & WithFailedAttachments(const Aws::Vector< AttachmentOutput > &value)
ChatSyncResult & WithSystemMessage(Aws::String &&value)
void SetUserMessageId(const char *value)
ChatSyncResult & AddSourceAttributions(SourceAttribution &&value)
void SetSourceAttributions(const Aws::Vector< SourceAttribution > &value)
ChatSyncResult & WithActionReview(const ActionReview &value)
const Aws::String & GetSystemMessageId() const
ChatSyncResult & WithUserMessageId(Aws::String &&value)
void SetConversationId(const Aws::String &value)
void SetConversationId(const char *value)
void SetActionReview(const ActionReview &value)
const Aws::String & GetConversationId() const
void SetConversationId(Aws::String &&value)
void SetUserMessageId(const Aws::String &value)
void SetSystemMessageId(const Aws::String &value)
const Aws::Vector< SourceAttribution > & GetSourceAttributions() const
ChatSyncResult & WithRequestId(Aws::String &&value)
void SetSystemMessageId(Aws::String &&value)
ChatSyncResult & WithSystemMessageId(const char *value)
const Aws::Vector< AttachmentOutput > & GetFailedAttachments() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue