7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/TextOutputEvent.h>
9#include <aws/qbusiness/model/MetadataEvent.h>
10#include <aws/qbusiness/model/ActionReviewEvent.h>
11#include <aws/qbusiness/model/FailedAttachmentEvent.h>
12#include <aws/qbusiness/model/AuthChallengeRequestEvent.h>
52 template<
typename TextEventT = TextOutputEvent>
53 void SetTextEvent(
TextEventT&& value) { m_textEventHasBeenSet =
true; m_textEvent = std::forward<TextEventT>(value); }
54 template<
typename TextEventT = TextOutputEvent>
65 template<
typename MetadataEventT = MetadataEvent>
67 template<
typename MetadataEventT = MetadataEvent>
78 template<
typename ActionReviewEventT = ActionReviewEvent>
80 template<
typename ActionReviewEventT = ActionReviewEvent>
90 template<
typename FailedAttachmentEventT = FailedAttachmentEvent>
92 template<
typename FailedAttachmentEventT = FailedAttachmentEvent>
103 template<
typename AuthChallengeRequestEventT = AuthChallengeRequestEvent>
105 template<
typename AuthChallengeRequestEventT = AuthChallengeRequestEvent>
111 bool m_textEventHasBeenSet =
false;
114 bool m_metadataEventHasBeenSet =
false;
117 bool m_actionReviewEventHasBeenSet =
false;
120 bool m_failedAttachmentEventHasBeenSet =
false;
123 bool m_authChallengeRequestEventHasBeenSet =
false;
AWS_QBUSINESS_API ChatOutputStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const TextOutputEvent & GetTextEvent() const
void SetActionReviewEvent(ActionReviewEventT &&value)
void SetFailedAttachmentEvent(FailedAttachmentEventT &&value)
const MetadataEvent & GetMetadataEvent() const
ChatOutputStream & WithTextEvent(TextEventT &&value)
void SetAuthChallengeRequestEvent(AuthChallengeRequestEventT &&value)
void SetTextEvent(TextEventT &&value)
const AuthChallengeRequestEvent & GetAuthChallengeRequestEvent() const
ChatOutputStream & WithAuthChallengeRequestEvent(AuthChallengeRequestEventT &&value)
ChatOutputStream & WithMetadataEvent(MetadataEventT &&value)
bool FailedAttachmentEventHasBeenSet() const
void SetMetadataEvent(MetadataEventT &&value)
bool MetadataEventHasBeenSet() const
ChatOutputStream & WithActionReviewEvent(ActionReviewEventT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API ChatOutputStream()=default
bool AuthChallengeRequestEventHasBeenSet() const
const FailedAttachmentEvent & GetFailedAttachmentEvent() const
const ActionReviewEvent & GetActionReviewEvent() const
ChatOutputStream & WithFailedAttachmentEvent(FailedAttachmentEventT &&value)
bool TextEventHasBeenSet() const
AWS_QBUSINESS_API ChatOutputStream(Aws::Utils::Json::JsonView jsonValue)
bool ActionReviewEventHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue