7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qconnect/QConnectRequest.h>
12#include <aws/qconnect/QConnect_EXPORTS.h>
13#include <aws/qconnect/model/GroupingConfiguration.h>
14#include <aws/qconnect/model/QuickResponseDataProvider.h>
43 template <
typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet =
true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
48 template <
typename KnowledgeBaseIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename ContentT = QuickResponseDataProv
ider>
81 m_contentHasBeenSet =
true;
82 m_content = std::forward<ContentT>(value);
84 template <
typename ContentT = QuickResponseDataProv
ider>
101 template <
typename ContentTypeT = Aws::String>
103 m_contentTypeHasBeenSet =
true;
104 m_contentType = std::forward<ContentTypeT>(value);
106 template <
typename ContentTypeT = Aws::String>
120 template <
typename GroupingConfigurationT = GroupingConfiguration>
122 m_groupingConfigurationHasBeenSet =
true;
123 m_groupingConfiguration = std::forward<GroupingConfigurationT>(value);
125 template <
typename GroupingConfigurationT = GroupingConfiguration>
138 template <
typename DescriptionT = Aws::String>
140 m_descriptionHasBeenSet =
true;
141 m_description = std::forward<DescriptionT>(value);
143 template <
typename DescriptionT = Aws::String>
157 template <
typename ShortcutKeyT = Aws::String>
159 m_shortcutKeyHasBeenSet =
true;
160 m_shortcutKey = std::forward<ShortcutKeyT>(value);
162 template <
typename ShortcutKeyT = Aws::String>
176 m_isActiveHasBeenSet =
true;
191 template <
typename ChannelsT = Aws::Vector<Aws::String>>
193 m_channelsHasBeenSet =
true;
194 m_channels = std::forward<ChannelsT>(value);
196 template <
typename ChannelsT = Aws::Vector<Aws::String>>
201 template <
typename ChannelsT = Aws::String>
203 m_channelsHasBeenSet =
true;
204 m_channels.emplace_back(std::forward<ChannelsT>(value));
219 template <
typename LanguageT = Aws::String>
221 m_languageHasBeenSet =
true;
222 m_language = std::forward<LanguageT>(value);
224 template <
typename LanguageT = Aws::String>
241 template <
typename ClientTokenT = Aws::String>
243 m_clientTokenHasBeenSet =
true;
244 m_clientToken = std::forward<ClientTokenT>(value);
246 template <
typename ClientTokenT = Aws::String>
259 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
261 m_tagsHasBeenSet =
true;
262 m_tags = std::forward<TagsT>(value);
264 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
266 SetTags(std::forward<TagsT>(value));
269 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
271 m_tagsHasBeenSet =
true;
272 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
291 bool m_isActive{
false};
300 bool m_knowledgeBaseIdHasBeenSet =
false;
301 bool m_nameHasBeenSet =
false;
302 bool m_contentHasBeenSet =
false;
303 bool m_contentTypeHasBeenSet =
false;
304 bool m_groupingConfigurationHasBeenSet =
false;
305 bool m_descriptionHasBeenSet =
false;
306 bool m_shortcutKeyHasBeenSet =
false;
307 bool m_isActiveHasBeenSet =
false;
308 bool m_channelsHasBeenSet =
false;
309 bool m_languageHasBeenSet =
false;
310 bool m_clientTokenHasBeenSet =
true;
311 bool m_tagsHasBeenSet =
false;
CreateQuickResponseRequest & AddChannels(ChannelsT &&value)
const Aws::String & GetKnowledgeBaseId() const
CreateQuickResponseRequest & WithGroupingConfiguration(GroupingConfigurationT &&value)
CreateQuickResponseRequest & WithContent(ContentT &&value)
const Aws::String & GetLanguage() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateQuickResponseRequest & WithDescription(DescriptionT &&value)
void SetChannels(ChannelsT &&value)
void SetIsActive(bool value)
const Aws::String & GetClientToken() const
const GroupingConfiguration & GetGroupingConfiguration() const
CreateQuickResponseRequest & WithLanguage(LanguageT &&value)
void SetName(NameT &&value)
void SetContentType(ContentTypeT &&value)
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool ChannelsHasBeenSet() const
CreateQuickResponseRequest & WithClientToken(ClientTokenT &&value)
CreateQuickResponseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool KnowledgeBaseIdHasBeenSet() const
CreateQuickResponseRequest & WithName(NameT &&value)
const Aws::String & GetName() const
void SetContent(ContentT &&value)
virtual const char * GetServiceRequestName() const override
CreateQuickResponseRequest & WithShortcutKey(ShortcutKeyT &&value)
CreateQuickResponseRequest & WithChannels(ChannelsT &&value)
void SetShortcutKey(ShortcutKeyT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool IsActiveHasBeenSet() const
void SetLanguage(LanguageT &&value)
CreateQuickResponseRequest & WithContentType(ContentTypeT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
AWS_QCONNECT_API CreateQuickResponseRequest()=default
bool ShortcutKeyHasBeenSet() const
const Aws::Vector< Aws::String > & GetChannels() const
CreateQuickResponseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
const QuickResponseDataProvider & GetContent() const
CreateQuickResponseRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
bool ContentHasBeenSet() const
bool LanguageHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
bool GroupingConfigurationHasBeenSet() const
bool ContentTypeHasBeenSet() const
CreateQuickResponseRequest & WithIsActive(bool value)
bool DescriptionHasBeenSet() const
const Aws::String & GetContentType() const
const Aws::String & GetShortcutKey() const
static Aws::Utils::UUID PseudoRandomUUID()
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
std::vector< T, Aws::Allocator< T > > Vector