7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusinessRequest.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/ActionExecution.h>
13#include <aws/qbusiness/model/AttachmentInput.h>
14#include <aws/qbusiness/model/AttributeFilter.h>
15#include <aws/qbusiness/model/AuthChallengeResponse.h>
16#include <aws/qbusiness/model/ChatMode.h>
17#include <aws/qbusiness/model/ChatModeConfiguration.h>
51 template <
typename ApplicationIdT = Aws::String>
53 m_applicationIdHasBeenSet =
true;
54 m_applicationId = std::forward<ApplicationIdT>(value);
56 template <
typename ApplicationIdT = Aws::String>
69 template <
typename UserIdT = Aws::String>
71 m_userIdHasBeenSet =
true;
72 m_userId = std::forward<UserIdT>(value);
74 template <
typename UserIdT = Aws::String>
87 template <
typename UserGroupsT = Aws::Vector<Aws::String>>
89 m_userGroupsHasBeenSet =
true;
90 m_userGroups = std::forward<UserGroupsT>(value);
92 template <
typename UserGroupsT = Aws::Vector<Aws::String>>
97 template <
typename UserGroupsT = Aws::String>
99 m_userGroupsHasBeenSet =
true;
100 m_userGroups.emplace_back(std::forward<UserGroupsT>(value));
111 template <
typename UserMessageT = Aws::String>
113 m_userMessageHasBeenSet =
true;
114 m_userMessage = std::forward<UserMessageT>(value);
116 template <
typename UserMessageT = Aws::String>
130 template <
typename AttachmentsT = Aws::Vector<AttachmentInput>>
132 m_attachmentsHasBeenSet =
true;
133 m_attachments = std::forward<AttachmentsT>(value);
135 template <
typename AttachmentsT = Aws::Vector<AttachmentInput>>
140 template <
typename AttachmentsT = AttachmentInput>
142 m_attachmentsHasBeenSet =
true;
143 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
154 template <
typename ActionExecutionT = ActionExecution>
156 m_actionExecutionHasBeenSet =
true;
157 m_actionExecution = std::forward<ActionExecutionT>(value);
159 template <
typename ActionExecutionT = ActionExecution>
173 template <
typename AuthChallengeResponseT = AuthChallengeResponse>
175 m_authChallengeResponseHasBeenSet =
true;
176 m_authChallengeResponse = std::forward<AuthChallengeResponseT>(value);
178 template <
typename AuthChallengeResponseT = AuthChallengeResponse>
191 template <
typename ConversationIdT = Aws::String>
193 m_conversationIdHasBeenSet =
true;
194 m_conversationId = std::forward<ConversationIdT>(value);
196 template <
typename ConversationIdT = Aws::String>
209 template <
typename ParentMessageIdT = Aws::String>
211 m_parentMessageIdHasBeenSet =
true;
212 m_parentMessageId = std::forward<ParentMessageIdT>(value);
214 template <
typename ParentMessageIdT = Aws::String>
228 template <
typename AttributeFilterT = AttributeFilter>
230 m_attributeFilterHasBeenSet =
true;
231 m_attributeFilter = std::forward<AttributeFilterT>(value);
233 template <
typename AttributeFilterT = AttributeFilter>
268 m_chatModeHasBeenSet =
true;
283 template <
typename ChatModeConfigurationT = ChatModeConfiguration>
285 m_chatModeConfigurationHasBeenSet =
true;
286 m_chatModeConfiguration = std::forward<ChatModeConfigurationT>(value);
288 template <
typename ChatModeConfigurationT = ChatModeConfiguration>
301 template <
typename ClientTokenT = Aws::String>
303 m_clientTokenHasBeenSet =
true;
304 m_clientToken = std::forward<ClientTokenT>(value);
306 template <
typename ClientTokenT = Aws::String>
335 ChatModeConfiguration m_chatModeConfiguration;
338 bool m_applicationIdHasBeenSet =
false;
339 bool m_userIdHasBeenSet =
false;
340 bool m_userGroupsHasBeenSet =
false;
341 bool m_userMessageHasBeenSet =
false;
342 bool m_attachmentsHasBeenSet =
false;
343 bool m_actionExecutionHasBeenSet =
false;
344 bool m_authChallengeResponseHasBeenSet =
false;
345 bool m_conversationIdHasBeenSet =
false;
346 bool m_parentMessageIdHasBeenSet =
false;
347 bool m_attributeFilterHasBeenSet =
false;
348 bool m_chatModeHasBeenSet =
false;
349 bool m_chatModeConfigurationHasBeenSet =
false;
350 bool m_clientTokenHasBeenSet =
true;
void SetActionExecution(ActionExecutionT &&value)
bool UserGroupsHasBeenSet() const
bool ConversationIdHasBeenSet() const
void SetChatModeConfiguration(ChatModeConfigurationT &&value)
void SetChatMode(ChatMode value)
bool ApplicationIdHasBeenSet() const
ChatSyncRequest & WithApplicationId(ApplicationIdT &&value)
void SetAuthChallengeResponse(AuthChallengeResponseT &&value)
bool AttachmentsHasBeenSet() const
ChatSyncRequest & WithAuthChallengeResponse(AuthChallengeResponseT &&value)
bool ActionExecutionHasBeenSet() const
ChatSyncRequest & WithUserGroups(UserGroupsT &&value)
ChatSyncRequest & WithChatModeConfiguration(ChatModeConfigurationT &&value)
const AttributeFilter & GetAttributeFilter() const
ChatSyncRequest & WithAttachments(AttachmentsT &&value)
ChatSyncRequest & WithParentMessageId(ParentMessageIdT &&value)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetAttachments(AttachmentsT &&value)
bool UserIdHasBeenSet() const
ChatSyncRequest & WithClientToken(ClientTokenT &&value)
ChatSyncRequest & WithActionExecution(ActionExecutionT &&value)
const AuthChallengeResponse & GetAuthChallengeResponse() const
ChatSyncRequest & WithConversationId(ConversationIdT &&value)
const Aws::String & GetUserMessage() const
bool ParentMessageIdHasBeenSet() const
void SetUserMessage(UserMessageT &&value)
bool ChatModeHasBeenSet() const
ChatSyncRequest & WithChatMode(ChatMode value)
bool ClientTokenHasBeenSet() const
void SetUserId(UserIdT &&value)
const Aws::String & GetParentMessageId() const
const Aws::Vector< AttachmentInput > & GetAttachments() const
void SetConversationId(ConversationIdT &&value)
AWS_QBUSINESS_API ChatSyncRequest()=default
ChatSyncRequest & WithUserId(UserIdT &&value)
bool AuthChallengeResponseHasBeenSet() const
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetApplicationId() const
bool ChatModeConfigurationHasBeenSet() const
ChatSyncRequest & AddAttachments(AttachmentsT &&value)
ChatSyncRequest & WithUserMessage(UserMessageT &&value)
const ActionExecution & GetActionExecution() const
void SetAttributeFilter(AttributeFilterT &&value)
const Aws::String & GetUserId() const
const Aws::String & GetClientToken() const
bool AttributeFilterHasBeenSet() const
void SetUserGroups(UserGroupsT &&value)
bool UserMessageHasBeenSet() const
const Aws::Vector< Aws::String > & GetUserGroups() const
ChatMode GetChatMode() const
ChatSyncRequest & AddUserGroups(UserGroupsT &&value)
void SetParentMessageId(ParentMessageIdT &&value)
ChatSyncRequest & WithAttributeFilter(AttributeFilterT &&value)
void SetClientToken(ClientTokenT &&value)
const ChatModeConfiguration & GetChatModeConfiguration() const
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector