7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/QuickResponseStatus.h>
10#include <aws/qconnect/model/QuickResponseContents.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qconnect/model/GroupingConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
52 template<
typename QuickResponseArnT = Aws::String>
54 template<
typename QuickResponseArnT = Aws::String>
64 template<
typename QuickResponseIdT = Aws::String>
66 template<
typename QuickResponseIdT = Aws::String>
76 template<
typename KnowledgeBaseArnT = Aws::String>
78 template<
typename KnowledgeBaseArnT = Aws::String>
89 template<
typename KnowledgeBaseIdT = Aws::String>
91 template<
typename KnowledgeBaseIdT = Aws::String>
101 template<
typename NameT = Aws::String>
102 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
103 template<
typename NameT = Aws::String>
117 template<
typename ContentTypeT = Aws::String>
119 template<
typename ContentTypeT = Aws::String>
139 template<
typename ContentsT = QuickResponseContents>
140 void SetContents(
ContentsT&& value) { m_contentsHasBeenSet =
true; m_contents = std::forward<ContentsT>(value); }
141 template<
typename ContentsT = QuickResponseContents>
151 template<
typename CreatedTimeT = Aws::Utils::DateTime>
153 template<
typename CreatedTimeT = Aws::Utils::DateTime>
164 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
166 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
176 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
186 template<
typename DescriptionT = Aws::String>
188 template<
typename DescriptionT = Aws::String>
199 template<
typename GroupingConfigurationT = GroupingConfiguration>
201 template<
typename GroupingConfigurationT = GroupingConfiguration>
212 template<
typename ShortcutKeyT = Aws::String>
214 template<
typename ShortcutKeyT = Aws::String>
225 template<
typename LastModifiedByT = Aws::String>
227 template<
typename LastModifiedByT = Aws::String>
238 template<
typename ChannelsT = Aws::Vector<Aws::String>>
239 void SetChannels(
ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
240 template<
typename ChannelsT = Aws::Vector<Aws::String>>
242 template<
typename ChannelsT = Aws::String>
253 template<
typename LanguageT = Aws::String>
254 void SetLanguage(
LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
255 template<
typename LanguageT = Aws::String>
266 template<
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
268 template<
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
270 template<
typename AttributesNotInterpolatedT = Aws::String>
281 template<
typename AttributesInterpolatedT = Aws::Vector<Aws::String>>
283 template<
typename AttributesInterpolatedT = Aws::Vector<Aws::String>>
285 template<
typename AttributesInterpolatedT = Aws::String>
295 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
296 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
297 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
299 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
301 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
return *
this;
307 bool m_quickResponseArnHasBeenSet =
false;
310 bool m_quickResponseIdHasBeenSet =
false;
313 bool m_knowledgeBaseArnHasBeenSet =
false;
316 bool m_knowledgeBaseIdHasBeenSet =
false;
319 bool m_nameHasBeenSet =
false;
322 bool m_contentTypeHasBeenSet =
false;
325 bool m_statusHasBeenSet =
false;
327 QuickResponseContents m_contents;
328 bool m_contentsHasBeenSet =
false;
331 bool m_createdTimeHasBeenSet =
false;
334 bool m_lastModifiedTimeHasBeenSet =
false;
336 bool m_isActive{
false};
337 bool m_isActiveHasBeenSet =
false;
340 bool m_descriptionHasBeenSet =
false;
342 GroupingConfiguration m_groupingConfiguration;
343 bool m_groupingConfigurationHasBeenSet =
false;
346 bool m_shortcutKeyHasBeenSet =
false;
349 bool m_lastModifiedByHasBeenSet =
false;
352 bool m_channelsHasBeenSet =
false;
355 bool m_languageHasBeenSet =
false;
358 bool m_attributesNotInterpolatedHasBeenSet =
false;
361 bool m_attributesInterpolatedHasBeenSet =
false;
364 bool m_tagsHasBeenSet =
false;
void SetAttributesInterpolated(AttributesInterpolatedT &&value)
QuickResponseSearchResultData & AddChannels(ChannelsT &&value)
QuickResponseSearchResultData & WithGroupingConfiguration(GroupingConfigurationT &&value)
QuickResponseSearchResultData & WithQuickResponseId(QuickResponseIdT &&value)
const Aws::String & GetName() const
bool IsActiveHasBeenSet() const
bool TagsHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
AWS_QCONNECT_API QuickResponseSearchResultData & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSearchResultData & WithQuickResponseArn(QuickResponseArnT &&value)
void SetLanguage(LanguageT &&value)
bool KnowledgeBaseIdHasBeenSet() const
const GroupingConfiguration & GetGroupingConfiguration() const
bool ShortcutKeyHasBeenSet() const
void SetIsActive(bool value)
QuickResponseSearchResultData & WithShortcutKey(ShortcutKeyT &&value)
QuickResponseSearchResultData & WithLastModifiedBy(LastModifiedByT &&value)
void SetStatus(QuickResponseStatus value)
const Aws::String & GetQuickResponseArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool ContentTypeHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetAttributesNotInterpolated() const
QuickResponseSearchResultData & WithIsActive(bool value)
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseSearchResultData & WithAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
bool CreatedTimeHasBeenSet() const
const QuickResponseContents & GetContents() const
void SetAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithStatus(QuickResponseStatus value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetLanguage() const
bool StatusHasBeenSet() const
QuickResponseSearchResultData & WithLanguage(LanguageT &&value)
QuickResponseSearchResultData & WithContentType(ContentTypeT &&value)
bool LanguageHasBeenSet() const
bool AttributesNotInterpolatedHasBeenSet() const
QuickResponseStatus GetStatus() const
void SetShortcutKey(ShortcutKeyT &&value)
QuickResponseSearchResultData & WithDescription(DescriptionT &&value)
QuickResponseSearchResultData & WithAttributesInterpolated(AttributesInterpolatedT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetContentType(ContentTypeT &&value)
bool DescriptionHasBeenSet() const
QuickResponseSearchResultData & AddAttributesInterpolated(AttributesInterpolatedT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
AWS_QCONNECT_API QuickResponseSearchResultData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
QuickResponseSearchResultData & WithName(NameT &&value)
bool ChannelsHasBeenSet() const
void SetContents(ContentsT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetQuickResponseId() const
bool LastModifiedByHasBeenSet() const
bool GroupingConfigurationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetShortcutKey() const
QuickResponseSearchResultData & WithCreatedTime(CreatedTimeT &&value)
QuickResponseSearchResultData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool KnowledgeBaseArnHasBeenSet() const
bool ContentsHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseSearchResultData & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetChannels(ChannelsT &&value)
bool NameHasBeenSet() const
AWS_QCONNECT_API QuickResponseSearchResultData()=default
bool QuickResponseIdHasBeenSet() const
bool AttributesInterpolatedHasBeenSet() const
QuickResponseSearchResultData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
QuickResponseSearchResultData & AddAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithContents(ContentsT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool QuickResponseArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetAttributesInterpolated() const
void SetName(NameT &&value)
QuickResponseSearchResultData & WithChannels(ChannelsT &&value)
QuickResponseSearchResultData & WithTags(TagsT &&value)
void SetQuickResponseArn(QuickResponseArnT &&value)
QuickResponseSearchResultData & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetQuickResponseId(QuickResponseIdT &&value)
void SetTags(TagsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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