7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/QuickResponseDataProvider.h>
11#include <aws/qconnect/model/GroupingConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
45 template<
typename KnowledgeBaseIdT = Aws::String>
47 template<
typename KnowledgeBaseIdT = Aws::String>
57 template<
typename QuickResponseIdT = Aws::String>
59 template<
typename QuickResponseIdT = Aws::String>
69 template<
typename NameT = Aws::String>
70 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
71 template<
typename NameT = Aws::String>
81 template<
typename ContentT = QuickResponseDataProv
ider>
82 void SetContent(
ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
83 template<
typename ContentT = QuickResponseDataProv
ider>
97 template<
typename ContentTypeT = Aws::String>
99 template<
typename ContentTypeT = Aws::String>
109 template<
typename GroupingConfigurationT = GroupingConfiguration>
111 template<
typename GroupingConfigurationT = GroupingConfiguration>
131 template<
typename DescriptionT = Aws::String>
133 template<
typename DescriptionT = Aws::String>
143 inline void SetRemoveDescription(
bool value) { m_removeDescriptionHasBeenSet =
true; m_removeDescription = value; }
154 template<
typename ShortcutKeyT = Aws::String>
156 template<
typename ShortcutKeyT = Aws::String>
166 inline void SetRemoveShortcutKey(
bool value) { m_removeShortcutKeyHasBeenSet =
true; m_removeShortcutKey = value; }
176 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
187 template<
typename ChannelsT = Aws::Vector<Aws::String>>
188 void SetChannels(
ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
189 template<
typename ChannelsT = Aws::Vector<Aws::String>>
191 template<
typename ChannelsT = Aws::String>
205 template<
typename LanguageT = Aws::String>
206 void SetLanguage(
LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
207 template<
typename LanguageT = Aws::String>
213 bool m_knowledgeBaseIdHasBeenSet =
false;
216 bool m_quickResponseIdHasBeenSet =
false;
219 bool m_nameHasBeenSet =
false;
222 bool m_contentHasBeenSet =
false;
225 bool m_contentTypeHasBeenSet =
false;
228 bool m_groupingConfigurationHasBeenSet =
false;
230 bool m_removeGroupingConfiguration{
false};
231 bool m_removeGroupingConfigurationHasBeenSet =
false;
234 bool m_descriptionHasBeenSet =
false;
236 bool m_removeDescription{
false};
237 bool m_removeDescriptionHasBeenSet =
false;
240 bool m_shortcutKeyHasBeenSet =
false;
242 bool m_removeShortcutKey{
false};
243 bool m_removeShortcutKeyHasBeenSet =
false;
245 bool m_isActive{
false};
246 bool m_isActiveHasBeenSet =
false;
249 bool m_channelsHasBeenSet =
false;
252 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