7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/ActionReviewEvent.h>
9#include <aws/qbusiness/model/AuthChallengeRequestEvent.h>
10#include <aws/qbusiness/model/FailedAttachmentEvent.h>
11#include <aws/qbusiness/model/MetadataEvent.h>
12#include <aws/qbusiness/model/TextOutputEvent.h>
46 template <
typename TextEventT = TextOutputEvent>
48 m_textEventHasBeenSet =
true;
49 m_textEvent = std::forward<TextEventT>(value);
51 template <
typename TextEventT = TextOutputEvent>
65 template <
typename MetadataEventT = MetadataEvent>
67 m_metadataEventHasBeenSet =
true;
68 m_metadataEvent = std::forward<MetadataEventT>(value);
70 template <
typename MetadataEventT = MetadataEvent>
84 template <
typename ActionReviewEventT = ActionReviewEvent>
86 m_actionReviewEventHasBeenSet =
true;
87 m_actionReviewEvent = std::forward<ActionReviewEventT>(value);
89 template <
typename ActionReviewEventT = ActionReviewEvent>
102 template <
typename FailedAttachmentEventT = FailedAttachmentEvent>
104 m_failedAttachmentEventHasBeenSet =
true;
105 m_failedAttachmentEvent = std::forward<FailedAttachmentEventT>(value);
107 template <
typename FailedAttachmentEventT = FailedAttachmentEvent>
121 template <
typename AuthChallengeRequestEventT = AuthChallengeRequestEvent>
123 m_authChallengeRequestEventHasBeenSet =
true;
124 m_authChallengeRequestEvent = std::forward<AuthChallengeRequestEventT>(value);
126 template <
typename AuthChallengeRequestEventT = AuthChallengeRequestEvent>
142 bool m_textEventHasBeenSet =
false;
143 bool m_metadataEventHasBeenSet =
false;
144 bool m_actionReviewEventHasBeenSet =
false;
145 bool m_failedAttachmentEventHasBeenSet =
false;
146 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