AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionReviewEvent.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_QBUSINESS_API ActionReviewEvent();
41 AWS_QBUSINESS_API ActionReviewEvent(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
52 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
53 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
54 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
55 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
56 inline ActionReviewEvent& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;}
57 inline ActionReviewEvent& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
58 inline ActionReviewEvent& WithConversationId(const char* value) { SetConversationId(value); return *this;}
60
62
66 inline const Aws::String& GetUserMessageId() const{ return m_userMessageId; }
67 inline bool UserMessageIdHasBeenSet() const { return m_userMessageIdHasBeenSet; }
68 inline void SetUserMessageId(const Aws::String& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = value; }
69 inline void SetUserMessageId(Aws::String&& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = std::move(value); }
70 inline void SetUserMessageId(const char* value) { m_userMessageIdHasBeenSet = true; m_userMessageId.assign(value); }
71 inline ActionReviewEvent& WithUserMessageId(const Aws::String& value) { SetUserMessageId(value); return *this;}
72 inline ActionReviewEvent& WithUserMessageId(Aws::String&& value) { SetUserMessageId(std::move(value)); return *this;}
73 inline ActionReviewEvent& WithUserMessageId(const char* value) { SetUserMessageId(value); return *this;}
75
77
81 inline const Aws::String& GetSystemMessageId() const{ return m_systemMessageId; }
82 inline bool SystemMessageIdHasBeenSet() const { return m_systemMessageIdHasBeenSet; }
83 inline void SetSystemMessageId(const Aws::String& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = value; }
84 inline void SetSystemMessageId(Aws::String&& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = std::move(value); }
85 inline void SetSystemMessageId(const char* value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId.assign(value); }
86 inline ActionReviewEvent& WithSystemMessageId(const Aws::String& value) { SetSystemMessageId(value); return *this;}
87 inline ActionReviewEvent& WithSystemMessageId(Aws::String&& value) { SetSystemMessageId(std::move(value)); return *this;}
88 inline ActionReviewEvent& WithSystemMessageId(const char* value) { SetSystemMessageId(value); return *this;}
90
92
95 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
96 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
97 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
98 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
99 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
100 inline ActionReviewEvent& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
101 inline ActionReviewEvent& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
102 inline ActionReviewEvent& WithPluginId(const char* value) { SetPluginId(value); return *this;}
104
106
109 inline const PluginType& GetPluginType() const{ return m_pluginType; }
110 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
111 inline void SetPluginType(const PluginType& value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; }
112 inline void SetPluginType(PluginType&& value) { m_pluginTypeHasBeenSet = true; m_pluginType = std::move(value); }
113 inline ActionReviewEvent& WithPluginType(const PluginType& value) { SetPluginType(value); return *this;}
114 inline ActionReviewEvent& WithPluginType(PluginType&& value) { SetPluginType(std::move(value)); return *this;}
116
118
122 inline const Aws::Map<Aws::String, ActionReviewPayloadField>& GetPayload() const{ return m_payload; }
123 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
124 inline void SetPayload(const Aws::Map<Aws::String, ActionReviewPayloadField>& value) { m_payloadHasBeenSet = true; m_payload = value; }
125 inline void SetPayload(Aws::Map<Aws::String, ActionReviewPayloadField>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
128 inline ActionReviewEvent& AddPayload(const Aws::String& key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
129 inline ActionReviewEvent& AddPayload(Aws::String&& key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), value); return *this; }
130 inline ActionReviewEvent& AddPayload(const Aws::String& key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
131 inline ActionReviewEvent& AddPayload(Aws::String&& key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), std::move(value)); return *this; }
132 inline ActionReviewEvent& AddPayload(const char* key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
133 inline ActionReviewEvent& AddPayload(const char* key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
135
137
141 inline const Aws::String& GetPayloadFieldNameSeparator() const{ return m_payloadFieldNameSeparator; }
142 inline bool PayloadFieldNameSeparatorHasBeenSet() const { return m_payloadFieldNameSeparatorHasBeenSet; }
143 inline void SetPayloadFieldNameSeparator(const Aws::String& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = value; }
144 inline void SetPayloadFieldNameSeparator(Aws::String&& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = std::move(value); }
145 inline void SetPayloadFieldNameSeparator(const char* value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator.assign(value); }
148 inline ActionReviewEvent& WithPayloadFieldNameSeparator(const char* value) { SetPayloadFieldNameSeparator(value); return *this;}
150 private:
151
152 Aws::String m_conversationId;
153 bool m_conversationIdHasBeenSet = false;
154
155 Aws::String m_userMessageId;
156 bool m_userMessageIdHasBeenSet = false;
157
158 Aws::String m_systemMessageId;
159 bool m_systemMessageIdHasBeenSet = false;
160
161 Aws::String m_pluginId;
162 bool m_pluginIdHasBeenSet = false;
163
164 PluginType m_pluginType;
165 bool m_pluginTypeHasBeenSet = false;
166
168 bool m_payloadHasBeenSet = false;
169
170 Aws::String m_payloadFieldNameSeparator;
171 bool m_payloadFieldNameSeparatorHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace QBusiness
176} // namespace Aws
ActionReviewEvent & WithPayload(Aws::Map< Aws::String, ActionReviewPayloadField > &&value)
ActionReviewEvent & WithConversationId(const Aws::String &value)
void SetPluginId(const Aws::String &value)
ActionReviewEvent & WithUserMessageId(const Aws::String &value)
const Aws::String & GetUserMessageId() const
ActionReviewEvent & AddPayload(Aws::String &&key, const ActionReviewPayloadField &value)
AWS_QBUSINESS_API ActionReviewEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConversationId(Aws::String &&value)
void SetPayloadFieldNameSeparator(Aws::String &&value)
ActionReviewEvent & WithSystemMessageId(const Aws::String &value)
void SetSystemMessageId(const Aws::String &value)
const Aws::Map< Aws::String, ActionReviewPayloadField > & GetPayload() const
void SetSystemMessageId(Aws::String &&value)
ActionReviewEvent & AddPayload(const char *key, ActionReviewPayloadField &&value)
ActionReviewEvent & WithPluginId(const char *value)
const Aws::String & GetPluginId() const
ActionReviewEvent & WithPluginId(const Aws::String &value)
ActionReviewEvent & WithConversationId(const char *value)
void SetConversationId(const Aws::String &value)
ActionReviewEvent & WithPluginType(const PluginType &value)
const Aws::String & GetSystemMessageId() const
void SetUserMessageId(const Aws::String &value)
ActionReviewEvent & WithSystemMessageId(const char *value)
void SetPluginType(const PluginType &value)
ActionReviewEvent & WithPayload(const Aws::Map< Aws::String, ActionReviewPayloadField > &value)
AWS_QBUSINESS_API ActionReviewEvent(Aws::Utils::Json::JsonView jsonValue)
void SetPayload(const Aws::Map< Aws::String, ActionReviewPayloadField > &value)
void SetPayloadFieldNameSeparator(const char *value)
ActionReviewEvent & WithPluginType(PluginType &&value)
void SetPayloadFieldNameSeparator(const Aws::String &value)
ActionReviewEvent & AddPayload(Aws::String &&key, ActionReviewPayloadField &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPayload(Aws::Map< Aws::String, ActionReviewPayloadField > &&value)
ActionReviewEvent & WithPluginId(Aws::String &&value)
ActionReviewEvent & AddPayload(const Aws::String &key, const ActionReviewPayloadField &value)
ActionReviewEvent & WithSystemMessageId(Aws::String &&value)
ActionReviewEvent & WithPayloadFieldNameSeparator(Aws::String &&value)
ActionReviewEvent & AddPayload(const char *key, const ActionReviewPayloadField &value)
ActionReviewEvent & WithUserMessageId(Aws::String &&value)
ActionReviewEvent & WithPayloadFieldNameSeparator(const Aws::String &value)
ActionReviewEvent & WithPayloadFieldNameSeparator(const char *value)
const Aws::String & GetPayloadFieldNameSeparator() const
const Aws::String & GetConversationId() const
ActionReviewEvent & WithUserMessageId(const char *value)
ActionReviewEvent & AddPayload(const Aws::String &key, ActionReviewPayloadField &&value)
ActionReviewEvent & WithConversationId(Aws::String &&value)
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