7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/model/ActionExecution.h>
12#include <aws/qbusiness/model/AuthChallengeResponse.h>
13#include <aws/qbusiness/model/AttributeFilter.h>
14#include <aws/qbusiness/model/ChatMode.h>
15#include <aws/qbusiness/model/ChatModeConfiguration.h>
16#include <aws/qbusiness/model/AttachmentInput.h>
18#include <aws/core/utils/UUID.h>
58 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
72 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
101 inline void SetUserMessage(
const char* value) { m_userMessageHasBeenSet =
true; m_userMessage.assign(value); }
155 inline void SetConversationId(
const char* value) { m_conversationIdHasBeenSet =
true; m_conversationId.assign(value); }
169 inline void SetParentMessageId(
const char* value) { m_parentMessageIdHasBeenSet =
true; m_parentMessageId.assign(value); }
234 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
242 bool m_applicationIdHasBeenSet =
false;
245 bool m_userIdHasBeenSet =
false;
248 bool m_userGroupsHasBeenSet =
false;
251 bool m_userMessageHasBeenSet =
false;
254 bool m_attachmentsHasBeenSet =
false;
257 bool m_actionExecutionHasBeenSet =
false;
260 bool m_authChallengeResponseHasBeenSet =
false;
263 bool m_conversationIdHasBeenSet =
false;
266 bool m_parentMessageIdHasBeenSet =
false;
269 bool m_attributeFilterHasBeenSet =
false;
272 bool m_chatModeHasBeenSet =
false;
275 bool m_chatModeConfigurationHasBeenSet =
false;
278 bool m_clientTokenHasBeenSet =
false;
void SetConversationId(Aws::String &&value)
bool UserGroupsHasBeenSet() const
bool ConversationIdHasBeenSet() const
void SetUserMessage(Aws::String &&value)
void SetAuthChallengeResponse(AuthChallengeResponse &&value)
ChatSyncRequest & WithApplicationId(Aws::String &&value)
AWS_QBUSINESS_API ChatSyncRequest()
ChatSyncRequest & WithAuthChallengeResponse(const AuthChallengeResponse &value)
void SetUserId(const Aws::String &value)
ChatSyncRequest & AddAttachments(const AttachmentInput &value)
ChatSyncRequest & WithAuthChallengeResponse(AuthChallengeResponse &&value)
bool ApplicationIdHasBeenSet() const
ChatSyncRequest & WithChatMode(const ChatMode &value)
ChatSyncRequest & WithUserId(Aws::String &&value)
void SetUserMessage(const char *value)
void SetAttributeFilter(const AttributeFilter &value)
void SetUserGroups(const Aws::Vector< Aws::String > &value)
void SetAttachments(Aws::Vector< AttachmentInput > &&value)
bool AttachmentsHasBeenSet() const
void SetChatModeConfiguration(ChatModeConfiguration &&value)
ChatSyncRequest & WithUserId(const char *value)
ChatSyncRequest & WithParentMessageId(const Aws::String &value)
void SetAuthChallengeResponse(const AuthChallengeResponse &value)
bool ActionExecutionHasBeenSet() const
ChatSyncRequest & WithClientToken(const Aws::String &value)
ChatSyncRequest & WithUserGroups(const Aws::Vector< Aws::String > &value)
ChatSyncRequest & WithApplicationId(const Aws::String &value)
const ChatMode & GetChatMode() const
ChatSyncRequest & WithActionExecution(const ActionExecution &value)
void SetUserMessage(const Aws::String &value)
ChatSyncRequest & WithChatMode(ChatMode &&value)
void SetChatModeConfiguration(const ChatModeConfiguration &value)
ChatSyncRequest & WithClientToken(Aws::String &&value)
const AttributeFilter & GetAttributeFilter() const
void SetClientToken(const Aws::String &value)
ChatSyncRequest & WithUserMessage(const char *value)
ChatSyncRequest & WithClientToken(const char *value)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
ChatSyncRequest & WithConversationId(const Aws::String &value)
void SetUserId(Aws::String &&value)
void SetUserId(const char *value)
ChatSyncRequest & WithUserMessage(const Aws::String &value)
void SetApplicationId(Aws::String &&value)
void SetClientToken(Aws::String &&value)
void SetParentMessageId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ChatSyncRequest & WithChatModeConfiguration(const ChatModeConfiguration &value)
void SetParentMessageId(const char *value)
bool UserIdHasBeenSet() const
ChatSyncRequest & WithUserMessage(Aws::String &&value)
void SetApplicationId(const char *value)
ChatSyncRequest & WithApplicationId(const char *value)
void SetActionExecution(const ActionExecution &value)
const AuthChallengeResponse & GetAuthChallengeResponse() const
ChatSyncRequest & WithActionExecution(ActionExecution &&value)
void SetUserGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetUserMessage() const
ChatSyncRequest & WithUserGroups(Aws::Vector< Aws::String > &&value)
ChatSyncRequest & WithConversationId(Aws::String &&value)
void SetActionExecution(ActionExecution &&value)
ChatSyncRequest & WithConversationId(const char *value)
bool ParentMessageIdHasBeenSet() const
void SetChatMode(const ChatMode &value)
bool ChatModeHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetApplicationId(const Aws::String &value)
void SetChatMode(ChatMode &&value)
const Aws::String & GetParentMessageId() const
ChatSyncRequest & AddUserGroups(const Aws::String &value)
ChatSyncRequest & WithAttributeFilter(const AttributeFilter &value)
ChatSyncRequest & AddUserGroups(Aws::String &&value)
const Aws::Vector< AttachmentInput > & GetAttachments() const
void SetAttachments(const Aws::Vector< AttachmentInput > &value)
ChatSyncRequest & WithAttachments(const Aws::Vector< AttachmentInput > &value)
bool AuthChallengeResponseHasBeenSet() const
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetApplicationId() const
ChatSyncRequest & WithParentMessageId(Aws::String &&value)
bool ChatModeConfigurationHasBeenSet() const
void SetAttributeFilter(AttributeFilter &&value)
ChatSyncRequest & WithChatModeConfiguration(ChatModeConfiguration &&value)
void SetParentMessageId(Aws::String &&value)
const ActionExecution & GetActionExecution() const
ChatSyncRequest & WithAttributeFilter(AttributeFilter &&value)
const Aws::String & GetUserId() const
const Aws::String & GetClientToken() const
bool AttributeFilterHasBeenSet() const
bool UserMessageHasBeenSet() const
ChatSyncRequest & AddUserGroups(const char *value)
const Aws::Vector< Aws::String > & GetUserGroups() const
ChatSyncRequest & WithUserId(const Aws::String &value)
void SetConversationId(const Aws::String &value)
ChatSyncRequest & WithParentMessageId(const char *value)
ChatSyncRequest & AddAttachments(AttachmentInput &&value)
ChatSyncRequest & WithAttachments(Aws::Vector< AttachmentInput > &&value)
void SetConversationId(const char *value)
void SetClientToken(const char *value)
const ChatModeConfiguration & GetChatModeConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector