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 AttributesInterpolatedT = Aws::Vector<Aws::String>>
54 void SetAttributesInterpolated(AttributesInterpolatedT&& value) { m_attributesInterpolatedHasBeenSet =
true; m_attributesInterpolated = std::forward<AttributesInterpolatedT>(value); }
55 template<
typename AttributesInterpolatedT = Aws::Vector<Aws::String>>
57 template<
typename AttributesInterpolatedT = Aws::String>
68 template<
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
69 void SetAttributesNotInterpolated(AttributesNotInterpolatedT&& value) { m_attributesNotInterpolatedHasBeenSet =
true; m_attributesNotInterpolated = std::forward<AttributesNotInterpolatedT>(value); }
70 template<
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
72 template<
typename AttributesNotInterpolatedT = Aws::String>
83 template<
typename ChannelsT = Aws::Vector<Aws::String>>
84 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
85 template<
typename ChannelsT = Aws::Vector<Aws::String>>
87 template<
typename ChannelsT = Aws::String>
101 template<
typename ContentTypeT = Aws::String>
102 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
103 template<
typename ContentTypeT = Aws::String>
113 template<
typename ContentsT = QuickResponseContents>
114 void SetContents(ContentsT&& value) { m_contentsHasBeenSet =
true; m_contents = std::forward<ContentsT>(value); }
115 template<
typename ContentsT = QuickResponseContents>
125 template<
typename CreatedTimeT = Aws::Utils::DateTime>
126 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
127 template<
typename CreatedTimeT = Aws::Utils::DateTime>
137 template<
typename DescriptionT = Aws::String>
138 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
139 template<
typename DescriptionT = Aws::String>
150 template<
typename GroupingConfigurationT = GroupingConfiguration>
151 void SetGroupingConfiguration(GroupingConfigurationT&& value) { m_groupingConfigurationHasBeenSet =
true; m_groupingConfiguration = std::forward<GroupingConfigurationT>(value); }
152 template<
typename GroupingConfigurationT = GroupingConfiguration>
162 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
172 template<
typename KnowledgeBaseArnT = Aws::String>
173 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
174 template<
typename KnowledgeBaseArnT = Aws::String>
186 template<
typename KnowledgeBaseIdT = Aws::String>
187 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
188 template<
typename KnowledgeBaseIdT = Aws::String>
199 template<
typename LanguageT = Aws::String>
200 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
201 template<
typename LanguageT = Aws::String>
212 template<
typename LastModifiedByT = Aws::String>
213 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
214 template<
typename LastModifiedByT = Aws::String>
225 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
226 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
227 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
237 template<
typename NameT = Aws::String>
238 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
239 template<
typename NameT = Aws::String>
249 template<
typename QuickResponseArnT = Aws::String>
250 void SetQuickResponseArn(QuickResponseArnT&& value) { m_quickResponseArnHasBeenSet =
true; m_quickResponseArn = std::forward<QuickResponseArnT>(value); }
251 template<
typename QuickResponseArnT = Aws::String>
261 template<
typename QuickResponseIdT = Aws::String>
262 void SetQuickResponseId(QuickResponseIdT&& value) { m_quickResponseIdHasBeenSet =
true; m_quickResponseId = std::forward<QuickResponseIdT>(value); }
263 template<
typename QuickResponseIdT = Aws::String>
274 template<
typename ShortcutKeyT = Aws::String>
275 void SetShortcutKey(ShortcutKeyT&& value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey = std::forward<ShortcutKeyT>(value); }
276 template<
typename ShortcutKeyT = Aws::String>
296 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
297 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
298 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
300 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
302 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
308 bool m_attributesInterpolatedHasBeenSet =
false;
311 bool m_attributesNotInterpolatedHasBeenSet =
false;
314 bool m_channelsHasBeenSet =
false;
317 bool m_contentTypeHasBeenSet =
false;
320 bool m_contentsHasBeenSet =
false;
323 bool m_createdTimeHasBeenSet =
false;
326 bool m_descriptionHasBeenSet =
false;
328 GroupingConfiguration m_groupingConfiguration;
329 bool m_groupingConfigurationHasBeenSet =
false;
331 bool m_isActive{
false};
332 bool m_isActiveHasBeenSet =
false;
335 bool m_knowledgeBaseArnHasBeenSet =
false;
338 bool m_knowledgeBaseIdHasBeenSet =
false;
341 bool m_languageHasBeenSet =
false;
344 bool m_lastModifiedByHasBeenSet =
false;
347 bool m_lastModifiedTimeHasBeenSet =
false;
350 bool m_nameHasBeenSet =
false;
353 bool m_quickResponseArnHasBeenSet =
false;
356 bool m_quickResponseIdHasBeenSet =
false;
359 bool m_shortcutKeyHasBeenSet =
false;
362 bool m_statusHasBeenSet =
false;
365 bool m_tagsHasBeenSet =
false;
QuickResponseSearchResultData & WithGroupingConfiguration(GroupingConfigurationT &&value)
bool ShortcutKeyHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
void SetChannels(ChannelsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool LanguageHasBeenSet() const
const Aws::String & GetName() const
bool CreatedTimeHasBeenSet() const
void SetQuickResponseId(QuickResponseIdT &&value)
const Aws::String & GetContentType() const
QuickResponseSearchResultData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseSearchResultData & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSearchResultData & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool QuickResponseArnHasBeenSet() const
QuickResponseSearchResultData & WithTags(TagsT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool NameHasBeenSet() const
QuickResponseSearchResultData & AddAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
bool AttributesNotInterpolatedHasBeenSet() const
const Aws::String & GetLanguage() const
void SetContents(ContentsT &&value)
bool StatusHasBeenSet() const
bool IsActiveHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
QuickResponseSearchResultData & WithLastModifiedBy(LastModifiedByT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool GroupingConfigurationHasBeenSet() const
QuickResponseSearchResultData & AddAttributesInterpolated(AttributesInterpolatedT &&value)
QuickResponseSearchResultData & WithStatus(QuickResponseStatus value)
void SetShortcutKey(ShortcutKeyT &&value)
QuickResponseSearchResultData & WithContents(ContentsT &&value)
QuickResponseSearchResultData & WithIsActive(bool value)
void SetAttributesInterpolated(AttributesInterpolatedT &&value)
bool ContentsHasBeenSet() const
bool ContentTypeHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
const QuickResponseContents & GetContents() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseSearchResultData()=default
QuickResponseStatus GetStatus() const
void SetQuickResponseArn(QuickResponseArnT &&value)
const Aws::String & GetQuickResponseArn() const
bool DescriptionHasBeenSet() const
void SetContentType(ContentTypeT &&value)
bool AttributesInterpolatedHasBeenSet() const
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseSearchResultData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseSearchResultData & WithAttributesInterpolated(AttributesInterpolatedT &&value)
void SetStatus(QuickResponseStatus value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ChannelsHasBeenSet() const
QuickResponseSearchResultData & AddChannels(ChannelsT &&value)
const Aws::String & GetQuickResponseId() const
const Aws::Vector< Aws::String > & GetAttributesNotInterpolated() const
const GroupingConfiguration & GetGroupingConfiguration() const
QuickResponseSearchResultData & WithChannels(ChannelsT &&value)
QuickResponseSearchResultData & WithLanguage(LanguageT &&value)
QuickResponseSearchResultData & WithShortcutKey(ShortcutKeyT &&value)
bool KnowledgeBaseIdHasBeenSet() const
QuickResponseSearchResultData & WithCreatedTime(CreatedTimeT &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseSearchResultData(Aws::Utils::Json::JsonView jsonValue)
void SetIsActive(bool value)
const Aws::Vector< Aws::String > & GetAttributesInterpolated() const
QuickResponseSearchResultData & WithName(NameT &&value)
const Aws::String & GetShortcutKey() const
bool TagsHasBeenSet() const
void SetAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithContentType(ContentTypeT &&value)
QuickResponseSearchResultData & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
QuickResponseSearchResultData & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetTags(TagsT &&value)
void SetLanguage(LanguageT &&value)
QuickResponseSearchResultData & WithQuickResponseId(QuickResponseIdT &&value)
bool KnowledgeBaseArnHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetDescription() const
bool LastModifiedByHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool QuickResponseIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
QuickResponseSearchResultData & WithAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithQuickResponseArn(QuickResponseArnT &&value)
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