7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/PluginType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/qbusiness/model/ActionReviewPayloadField.h>
53 template<
typename ConversationIdT = Aws::String>
54 void SetConversationId(ConversationIdT&& value) { m_conversationIdHasBeenSet =
true; m_conversationId = std::forward<ConversationIdT>(value); }
55 template<
typename ConversationIdT = Aws::String>
66 template<
typename UserMessageIdT = Aws::String>
67 void SetUserMessageId(UserMessageIdT&& value) { m_userMessageIdHasBeenSet =
true; m_userMessageId = std::forward<UserMessageIdT>(value); }
68 template<
typename UserMessageIdT = Aws::String>
79 template<
typename SystemMessageIdT = Aws::String>
80 void SetSystemMessageId(SystemMessageIdT&& value) { m_systemMessageIdHasBeenSet =
true; m_systemMessageId = std::forward<SystemMessageIdT>(value); }
81 template<
typename SystemMessageIdT = Aws::String>
91 template<
typename PluginIdT = Aws::String>
92 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet =
true; m_pluginId = std::forward<PluginIdT>(value); }
93 template<
typename PluginIdT = Aws::String>
114 template<
typename PayloadT = Aws::Map<Aws::String, ActionReviewPayloadField>>
115 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet =
true; m_payload = std::forward<PayloadT>(value); }
116 template<
typename PayloadT = Aws::Map<Aws::String, ActionReviewPayloadField>>
118 template<
typename PayloadKeyT = Aws::String,
typename PayloadValueT = ActionReviewPayloadField>
120 m_payloadHasBeenSet =
true; m_payload.emplace(std::forward<PayloadKeyT>(key), std::forward<PayloadValueT>(value));
return *
this;
131 template<
typename PayloadFieldNameSeparatorT = Aws::String>
132 void SetPayloadFieldNameSeparator(PayloadFieldNameSeparatorT&& value) { m_payloadFieldNameSeparatorHasBeenSet =
true; m_payloadFieldNameSeparator = std::forward<PayloadFieldNameSeparatorT>(value); }
133 template<
typename PayloadFieldNameSeparatorT = Aws::String>
139 bool m_conversationIdHasBeenSet =
false;
142 bool m_userMessageIdHasBeenSet =
false;
145 bool m_systemMessageIdHasBeenSet =
false;
148 bool m_pluginIdHasBeenSet =
false;
151 bool m_pluginTypeHasBeenSet =
false;
154 bool m_payloadHasBeenSet =
false;
157 bool m_payloadFieldNameSeparatorHasBeenSet =
false;
PluginType GetPluginType() const
bool SystemMessageIdHasBeenSet() const
void SetUserMessageId(UserMessageIdT &&value)
AWS_QBUSINESS_API ActionReviewEvent()=default
const Aws::String & GetUserMessageId() const
ActionReviewEvent & WithUserMessageId(UserMessageIdT &&value)
ActionReviewEvent & WithSystemMessageId(SystemMessageIdT &&value)
ActionReviewEvent & AddPayload(PayloadKeyT &&key, PayloadValueT &&value)
void SetPayloadFieldNameSeparator(PayloadFieldNameSeparatorT &&value)
AWS_QBUSINESS_API ActionReviewEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConversationId(ConversationIdT &&value)
const Aws::Map< Aws::String, ActionReviewPayloadField > & GetPayload() const
ActionReviewEvent & WithPayloadFieldNameSeparator(PayloadFieldNameSeparatorT &&value)
const Aws::String & GetPluginId() const
bool ConversationIdHasBeenSet() const
const Aws::String & GetSystemMessageId() const
ActionReviewEvent & WithPluginId(PluginIdT &&value)
bool PayloadHasBeenSet() const
void SetSystemMessageId(SystemMessageIdT &&value)
AWS_QBUSINESS_API ActionReviewEvent(Aws::Utils::Json::JsonView jsonValue)
void SetPluginType(PluginType value)
bool UserMessageIdHasBeenSet() const
ActionReviewEvent & WithPluginType(PluginType value)
ActionReviewEvent & WithConversationId(ConversationIdT &&value)
void SetPayload(PayloadT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PluginTypeHasBeenSet() const
void SetPluginId(PluginIdT &&value)
ActionReviewEvent & WithPayload(PayloadT &&value)
bool PluginIdHasBeenSet() const
bool PayloadFieldNameSeparatorHasBeenSet() const
const Aws::String & GetPayloadFieldNameSeparator() const
const Aws::String & GetConversationId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue