7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnectRequest.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/GroupingConfiguration.h>
12#include <aws/qconnect/model/QuickResponseDataProvider.h>
41 template <
typename KnowledgeBaseIdT = Aws::String>
43 m_knowledgeBaseIdHasBeenSet =
true;
44 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
46 template <
typename KnowledgeBaseIdT = Aws::String>
59 template <
typename QuickResponseIdT = Aws::String>
61 m_quickResponseIdHasBeenSet =
true;
62 m_quickResponseId = std::forward<QuickResponseIdT>(value);
64 template <
typename QuickResponseIdT = Aws::String>
77 template <
typename NameT = Aws::String>
79 m_nameHasBeenSet =
true;
80 m_name = std::forward<NameT>(value);
82 template <
typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
95 template <
typename ContentT = QuickResponseDataProv
ider>
97 m_contentHasBeenSet =
true;
98 m_content = std::forward<ContentT>(value);
100 template <
typename ContentT = QuickResponseDataProv
ider>
117 template <
typename ContentTypeT = Aws::String>
119 m_contentTypeHasBeenSet =
true;
120 m_contentType = std::forward<ContentTypeT>(value);
122 template <
typename ContentTypeT = Aws::String>
135 template <
typename GroupingConfigurationT = GroupingConfiguration>
137 m_groupingConfigurationHasBeenSet =
true;
138 m_groupingConfiguration = std::forward<GroupingConfigurationT>(value);
140 template <
typename GroupingConfigurationT = GroupingConfiguration>
154 m_removeGroupingConfigurationHasBeenSet =
true;
155 m_removeGroupingConfiguration = value;
169 template <
typename DescriptionT = Aws::String>
171 m_descriptionHasBeenSet =
true;
172 m_description = std::forward<DescriptionT>(value);
174 template <
typename DescriptionT = Aws::String>
188 m_removeDescriptionHasBeenSet =
true;
189 m_removeDescription = value;
204 template <
typename ShortcutKeyT = Aws::String>
206 m_shortcutKeyHasBeenSet =
true;
207 m_shortcutKey = std::forward<ShortcutKeyT>(value);
209 template <
typename ShortcutKeyT = Aws::String>
223 m_removeShortcutKeyHasBeenSet =
true;
224 m_removeShortcutKey = value;
239 m_isActiveHasBeenSet =
true;
255 template <
typename ChannelsT = Aws::Vector<Aws::String>>
257 m_channelsHasBeenSet =
true;
258 m_channels = std::forward<ChannelsT>(value);
260 template <
typename ChannelsT = Aws::Vector<Aws::String>>
265 template <
typename ChannelsT = Aws::String>
267 m_channelsHasBeenSet =
true;
268 m_channels.emplace_back(std::forward<ChannelsT>(value));
283 template <
typename LanguageT = Aws::String>
285 m_languageHasBeenSet =
true;
286 m_language = std::forward<LanguageT>(value);
288 template <
typename LanguageT = Aws::String>
307 bool m_removeGroupingConfiguration{
false};
311 bool m_removeDescription{
false};
315 bool m_removeShortcutKey{
false};
317 bool m_isActive{
false};
322 bool m_knowledgeBaseIdHasBeenSet =
false;
323 bool m_quickResponseIdHasBeenSet =
false;
324 bool m_nameHasBeenSet =
false;
325 bool m_contentHasBeenSet =
false;
326 bool m_contentTypeHasBeenSet =
false;
327 bool m_groupingConfigurationHasBeenSet =
false;
328 bool m_removeGroupingConfigurationHasBeenSet =
false;
329 bool m_descriptionHasBeenSet =
false;
330 bool m_removeDescriptionHasBeenSet =
false;
331 bool m_shortcutKeyHasBeenSet =
false;
332 bool m_removeShortcutKeyHasBeenSet =
false;
333 bool m_isActiveHasBeenSet =
false;
334 bool m_channelsHasBeenSet =
false;
335 bool m_languageHasBeenSet =
false;
UpdateQuickResponseRequest & WithContentType(ContentTypeT &&value)
UpdateQuickResponseRequest & WithShortcutKey(ShortcutKeyT &&value)
UpdateQuickResponseRequest & WithDescription(DescriptionT &&value)
AWS_QCONNECT_API UpdateQuickResponseRequest()=default
bool ContentHasBeenSet() const
const Aws::String & GetContentType() const
void SetRemoveGroupingConfiguration(bool value)
const Aws::Vector< Aws::String > & GetChannels() const
const Aws::String & GetKnowledgeBaseId() const
void SetDescription(DescriptionT &&value)
bool ChannelsHasBeenSet() const
UpdateQuickResponseRequest & WithContent(ContentT &&value)
void SetRemoveShortcutKey(bool value)
UpdateQuickResponseRequest & WithRemoveGroupingConfiguration(bool value)
const QuickResponseDataProvider & GetContent() const
virtual const char * GetServiceRequestName() const override
void SetShortcutKey(ShortcutKeyT &&value)
void SetName(NameT &&value)
void SetQuickResponseId(QuickResponseIdT &&value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetIsActive(bool value)
bool RemoveGroupingConfigurationHasBeenSet() const
void SetChannels(ChannelsT &&value)
const Aws::String & GetLanguage() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
bool LanguageHasBeenSet() const
UpdateQuickResponseRequest & WithName(NameT &&value)
bool GroupingConfigurationHasBeenSet() const
const Aws::String & GetDescription() const
bool IsActiveHasBeenSet() const
bool ShortcutKeyHasBeenSet() const
const Aws::String & GetQuickResponseId() const
const Aws::String & GetShortcutKey() const
bool GetRemoveShortcutKey() const
void SetRemoveDescription(bool value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
void SetContentType(ContentTypeT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
UpdateQuickResponseRequest & WithIsActive(bool value)
void SetLanguage(LanguageT &&value)
UpdateQuickResponseRequest & WithQuickResponseId(QuickResponseIdT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool ContentTypeHasBeenSet() const
bool NameHasBeenSet() const
bool RemoveDescriptionHasBeenSet() const
UpdateQuickResponseRequest & WithChannels(ChannelsT &&value)
UpdateQuickResponseRequest & AddChannels(ChannelsT &&value)
UpdateQuickResponseRequest & WithRemoveShortcutKey(bool value)
bool GetRemoveGroupingConfiguration() const
void SetContent(ContentT &&value)
const GroupingConfiguration & GetGroupingConfiguration() const
bool GetRemoveDescription() const
UpdateQuickResponseRequest & WithLanguage(LanguageT &&value)
bool QuickResponseIdHasBeenSet() const
UpdateQuickResponseRequest & WithGroupingConfiguration(GroupingConfigurationT &&value)
UpdateQuickResponseRequest & WithRemoveDescription(bool value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
bool RemoveShortcutKeyHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector