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>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
47 template<
typename KnowledgeBaseIdT = Aws::String>
48 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
49 template<
typename KnowledgeBaseIdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename ContentT = QuickResponseDataProv
ider>
72 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
73 template<
typename ContentT = QuickResponseDataProv
ider>
87 template<
typename ContentTypeT = Aws::String>
88 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
89 template<
typename ContentTypeT = Aws::String>
100 template<
typename GroupingConfigurationT = GroupingConfiguration>
101 void SetGroupingConfiguration(GroupingConfigurationT&& value) { m_groupingConfigurationHasBeenSet =
true; m_groupingConfiguration = std::forward<GroupingConfigurationT>(value); }
102 template<
typename GroupingConfigurationT = GroupingConfiguration>
112 template<
typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
114 template<
typename DescriptionT = Aws::String>
125 template<
typename ShortcutKeyT = Aws::String>
126 void SetShortcutKey(ShortcutKeyT&& value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey = std::forward<ShortcutKeyT>(value); }
127 template<
typename ShortcutKeyT = Aws::String>
137 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
147 template<
typename ChannelsT = Aws::Vector<Aws::String>>
148 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
149 template<
typename ChannelsT = Aws::Vector<Aws::String>>
151 template<
typename ChannelsT = Aws::String>
165 template<
typename LanguageT = Aws::String>
166 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
167 template<
typename LanguageT = Aws::String>
181 template<
typename ClientTokenT = Aws::String>
182 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
183 template<
typename ClientTokenT = Aws::String>
193 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
195 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
199 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
205 bool m_knowledgeBaseIdHasBeenSet =
false;
208 bool m_nameHasBeenSet =
false;
211 bool m_contentHasBeenSet =
false;
214 bool m_contentTypeHasBeenSet =
false;
217 bool m_groupingConfigurationHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_shortcutKeyHasBeenSet =
false;
225 bool m_isActive{
false};
226 bool m_isActiveHasBeenSet =
false;
229 bool m_channelsHasBeenSet =
false;
232 bool m_languageHasBeenSet =
false;
235 bool m_clientTokenHasBeenSet =
true;
238 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