7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/AttachmentOutput.h>
43 template <
typename ConversationIdT = Aws::String>
45 m_conversationIdHasBeenSet =
true;
46 m_conversationId = std::forward<ConversationIdT>(value);
48 template <
typename ConversationIdT = Aws::String>
62 template <
typename UserMessageIdT = Aws::String>
64 m_userMessageIdHasBeenSet =
true;
65 m_userMessageId = std::forward<UserMessageIdT>(value);
67 template <
typename UserMessageIdT = Aws::String>
81 template <
typename SystemMessageIdT = Aws::String>
83 m_systemMessageIdHasBeenSet =
true;
84 m_systemMessageId = std::forward<SystemMessageIdT>(value);
86 template <
typename SystemMessageIdT = Aws::String>
97 template <
typename AttachmentT = AttachmentOutput>
99 m_attachmentHasBeenSet =
true;
100 m_attachment = std::forward<AttachmentT>(value);
102 template <
typename AttachmentT = AttachmentOutput>
116 bool m_conversationIdHasBeenSet =
false;
117 bool m_userMessageIdHasBeenSet =
false;
118 bool m_systemMessageIdHasBeenSet =
false;
119 bool m_attachmentHasBeenSet =
false;
bool ConversationIdHasBeenSet() const
void SetAttachment(AttachmentT &&value)
const Aws::String & GetConversationId() const
const Aws::String & GetSystemMessageId() const
FailedAttachmentEvent & WithSystemMessageId(SystemMessageIdT &&value)
FailedAttachmentEvent & WithAttachment(AttachmentT &&value)
AWS_QBUSINESS_API FailedAttachmentEvent(Aws::Utils::Json::JsonView jsonValue)
bool SystemMessageIdHasBeenSet() const
void SetUserMessageId(UserMessageIdT &&value)
AWS_QBUSINESS_API FailedAttachmentEvent()=default
AWS_QBUSINESS_API FailedAttachmentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
FailedAttachmentEvent & WithConversationId(ConversationIdT &&value)
bool AttachmentHasBeenSet() const
const AttachmentOutput & GetAttachment() const
void SetSystemMessageId(SystemMessageIdT &&value)
void SetConversationId(ConversationIdT &&value)
const Aws::String & GetUserMessageId() const
bool UserMessageIdHasBeenSet() const
FailedAttachmentEvent & WithUserMessageId(UserMessageIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue