7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/QuickResponseContents.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/wisdom/model/GroupingConfiguration.h>
13#include <aws/wisdom/model/QuickResponseStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
27namespace ConnectWisdomService
53 template<
typename ChannelsT = Aws::Vector<Aws::String>>
54 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
55 template<
typename ChannelsT = Aws::Vector<Aws::String>>
57 template<
typename ChannelsT = Aws::String>
58 QuickResponseData&
AddChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels.emplace_back(std::forward<ChannelsT>(value));
return *
this; }
71 template<
typename ContentTypeT = Aws::String>
72 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
73 template<
typename ContentTypeT = Aws::String>
83 template<
typename ContentsT = QuickResponseContents>
84 void SetContents(ContentsT&& value) { m_contentsHasBeenSet =
true; m_contents = std::forward<ContentsT>(value); }
85 template<
typename ContentsT = QuickResponseContents>
95 template<
typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
97 template<
typename CreatedTimeT = Aws::Utils::DateTime>
107 template<
typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
109 template<
typename DescriptionT = Aws::String>
120 template<
typename GroupingConfigurationT = GroupingConfiguration>
121 void SetGroupingConfiguration(GroupingConfigurationT&& value) { m_groupingConfigurationHasBeenSet =
true; m_groupingConfiguration = std::forward<GroupingConfigurationT>(value); }
122 template<
typename GroupingConfigurationT = GroupingConfiguration>
132 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
142 template<
typename KnowledgeBaseArnT = Aws::String>
143 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
144 template<
typename KnowledgeBaseArnT = Aws::String>
156 template<
typename KnowledgeBaseIdT = Aws::String>
157 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
158 template<
typename KnowledgeBaseIdT = Aws::String>
169 template<
typename LanguageT = Aws::String>
170 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
171 template<
typename LanguageT = Aws::String>
182 template<
typename LastModifiedByT = Aws::String>
183 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
184 template<
typename LastModifiedByT = Aws::String>
194 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
195 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
196 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
206 template<
typename NameT = Aws::String>
207 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
208 template<
typename NameT = Aws::String>
218 template<
typename QuickResponseArnT = Aws::String>
219 void SetQuickResponseArn(QuickResponseArnT&& value) { m_quickResponseArnHasBeenSet =
true; m_quickResponseArn = std::forward<QuickResponseArnT>(value); }
220 template<
typename QuickResponseArnT = Aws::String>
230 template<
typename QuickResponseIdT = Aws::String>
231 void SetQuickResponseId(QuickResponseIdT&& value) { m_quickResponseIdHasBeenSet =
true; m_quickResponseId = std::forward<QuickResponseIdT>(value); }
232 template<
typename QuickResponseIdT = Aws::String>
243 template<
typename ShortcutKeyT = Aws::String>
244 void SetShortcutKey(ShortcutKeyT&& value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey = std::forward<ShortcutKeyT>(value); }
245 template<
typename ShortcutKeyT = Aws::String>
265 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
266 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
267 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
271 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
277 bool m_channelsHasBeenSet =
false;
280 bool m_contentTypeHasBeenSet =
false;
283 bool m_contentsHasBeenSet =
false;
286 bool m_createdTimeHasBeenSet =
false;
289 bool m_descriptionHasBeenSet =
false;
291 GroupingConfiguration m_groupingConfiguration;
292 bool m_groupingConfigurationHasBeenSet =
false;
294 bool m_isActive{
false};
295 bool m_isActiveHasBeenSet =
false;
298 bool m_knowledgeBaseArnHasBeenSet =
false;
301 bool m_knowledgeBaseIdHasBeenSet =
false;
304 bool m_languageHasBeenSet =
false;
307 bool m_lastModifiedByHasBeenSet =
false;
310 bool m_lastModifiedTimeHasBeenSet =
false;
313 bool m_nameHasBeenSet =
false;
316 bool m_quickResponseArnHasBeenSet =
false;
319 bool m_quickResponseIdHasBeenSet =
false;
322 bool m_shortcutKeyHasBeenSet =
false;
325 bool m_statusHasBeenSet =
false;
328 bool m_tagsHasBeenSet =
false;
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetContentType(ContentTypeT &&value)
bool LanguageHasBeenSet() const
bool KnowledgeBaseArnHasBeenSet() const
bool IsActiveHasBeenSet() const
QuickResponseData & WithIsActive(bool value)
void SetContents(ContentsT &&value)
QuickResponseData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
QuickResponseData & WithChannels(ChannelsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetKnowledgeBaseId() const
void SetChannels(ChannelsT &&value)
bool ContentTypeHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
QuickResponseData & WithContents(ContentsT &&value)
bool TagsHasBeenSet() const
void SetQuickResponseId(QuickResponseIdT &&value)
const Aws::String & GetShortcutKey() const
QuickResponseData & WithStatus(QuickResponseStatus value)
QuickResponseData & WithLanguage(LanguageT &&value)
const QuickResponseContents & GetContents() const
QuickResponseData & WithName(NameT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetTags(TagsT &&value)
void SetIsActive(bool value)
void SetStatus(QuickResponseStatus value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuickResponseId() const
void SetLanguage(LanguageT &&value)
void SetQuickResponseArn(QuickResponseArnT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseData & WithCreatedTime(CreatedTimeT &&value)
bool QuickResponseIdHasBeenSet() const
const GroupingConfiguration & GetGroupingConfiguration() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetName() const
QuickResponseData & AddTags(TagsKeyT &&key, TagsValueT &&value)
QuickResponseData & AddChannels(ChannelsT &&value)
bool ChannelsHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseData()=default
bool StatusHasBeenSet() const
const Aws::String & GetLanguage() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDescription(DescriptionT &&value)
bool ShortcutKeyHasBeenSet() const
void SetShortcutKey(ShortcutKeyT &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseData(Aws::Utils::Json::JsonView jsonValue)
QuickResponseData & WithGroupingConfiguration(GroupingConfigurationT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
bool LastModifiedTimeHasBeenSet() const
QuickResponseData & WithTags(TagsT &&value)
const Aws::String & GetQuickResponseArn() const
QuickResponseData & WithLastModifiedTime(LastModifiedTimeT &&value)
bool CreatedTimeHasBeenSet() const
bool GroupingConfigurationHasBeenSet() const
QuickResponseData & WithShortcutKey(ShortcutKeyT &&value)
QuickResponseData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
QuickResponseData & WithDescription(DescriptionT &&value)
QuickResponseData & WithLastModifiedBy(LastModifiedByT &&value)
QuickResponseData & WithQuickResponseId(QuickResponseIdT &&value)
bool ContentsHasBeenSet() const
QuickResponseStatus GetStatus() const
bool QuickResponseArnHasBeenSet() const
void SetGroupingConfiguration(GroupingConfigurationT &&value)
const Aws::String & GetContentType() const
bool LastModifiedByHasBeenSet() const
QuickResponseData & WithContentType(ContentTypeT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetLastModifiedBy() const
QuickResponseData & WithQuickResponseArn(QuickResponseArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
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
Aws::Utils::Json::JsonValue JsonValue