7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wisdom/model/QuickResponseDataProvider.h>
12#include <aws/wisdom/model/GroupingConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
19namespace ConnectWisdomService
46 template<
typename ChannelsT = Aws::Vector<Aws::String>>
47 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
48 template<
typename ChannelsT = Aws::Vector<Aws::String>>
50 template<
typename ChannelsT = Aws::String>
64 template<
typename ClientTokenT = Aws::String>
65 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
66 template<
typename ClientTokenT = Aws::String>
76 template<
typename ContentT = QuickResponseDataProv
ider>
77 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
78 template<
typename ContentT = QuickResponseDataProv
ider>
92 template<
typename ContentTypeT = Aws::String>
93 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
94 template<
typename ContentTypeT = Aws::String>
104 template<
typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
106 template<
typename DescriptionT = Aws::String>
117 template<
typename GroupingConfigurationT = GroupingConfiguration>
118 void SetGroupingConfiguration(GroupingConfigurationT&& value) { m_groupingConfigurationHasBeenSet =
true; m_groupingConfiguration = std::forward<GroupingConfigurationT>(value); }
119 template<
typename GroupingConfigurationT = GroupingConfiguration>
129 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
141 template<
typename KnowledgeBaseIdT = Aws::String>
142 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
143 template<
typename KnowledgeBaseIdT = Aws::String>
157 template<
typename LanguageT = Aws::String>
158 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
159 template<
typename LanguageT = Aws::String>
169 template<
typename NameT = Aws::String>
170 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
171 template<
typename NameT = Aws::String>
182 template<
typename ShortcutKeyT = Aws::String>
183 void SetShortcutKey(ShortcutKeyT&& value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey = std::forward<ShortcutKeyT>(value); }
184 template<
typename ShortcutKeyT = Aws::String>
194 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
206 bool m_channelsHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
211 QuickResponseDataProvider m_content;
212 bool m_contentHasBeenSet =
false;
215 bool m_contentTypeHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
220 GroupingConfiguration m_groupingConfiguration;
221 bool m_groupingConfigurationHasBeenSet =
false;
223 bool m_isActive{
false};
224 bool m_isActiveHasBeenSet =
false;
227 bool m_knowledgeBaseIdHasBeenSet =
false;
230 bool m_languageHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
236 bool m_shortcutKeyHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
void SetName(NameT &&value)
void SetTags(TagsT &&value)
CreateQuickResponseRequest & WithLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
CreateQuickResponseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetContent(ContentT &&value)
CreateQuickResponseRequest & AddChannels(ChannelsT &&value)
bool NameHasBeenSet() const
bool IsActiveHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool LanguageHasBeenSet() const
bool GroupingConfigurationHasBeenSet() const
const Aws::String & GetName() const
void SetIsActive(bool value)
CreateQuickResponseRequest & WithIsActive(bool value)
CreateQuickResponseRequest & WithClientToken(ClientTokenT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool ShortcutKeyHasBeenSet() const
void SetChannels(ChannelsT &&value)
bool ContentTypeHasBeenSet() const
CreateQuickResponseRequest & WithDescription(DescriptionT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
CreateQuickResponseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetContentType(ContentTypeT &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
const Aws::String & GetContentType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ContentHasBeenSet() const
const Aws::Vector< Aws::String > & GetChannels() const
void SetLanguage(LanguageT &&value)
CreateQuickResponseRequest & WithGroupingConfiguration(GroupingConfigurationT &&value)
CreateQuickResponseRequest & WithChannels(ChannelsT &&value)
const Aws::String & GetClientToken() const
const QuickResponseDataProvider & GetContent() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetShortcutKey() const
const GroupingConfiguration & GetGroupingConfiguration() const
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
void SetShortcutKey(ShortcutKeyT &&value)
AWS_CONNECTWISDOMSERVICE_API CreateQuickResponseRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
CreateQuickResponseRequest & WithShortcutKey(ShortcutKeyT &&value)
bool ClientTokenHasBeenSet() const
CreateQuickResponseRequest & WithContentType(ContentTypeT &&value)
const Aws::String & GetKnowledgeBaseId() const
CreateQuickResponseRequest & WithContent(ContentT &&value)
bool DescriptionHasBeenSet() const
bool ChannelsHasBeenSet() const
CreateQuickResponseRequest & WithTags(TagsT &&value)
CreateQuickResponseRequest & WithName(NameT &&value)
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