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
74 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
137 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
149 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
165 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
180 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
195 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
221 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
235 inline void SetQuickResponseArn(
const char* value) { m_quickResponseArnHasBeenSet =
true; m_quickResponseArn.assign(value); }
249 inline void SetQuickResponseId(
const char* value) { m_quickResponseIdHasBeenSet =
true; m_quickResponseId.assign(value); }
264 inline void SetShortcutKey(
const char* value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey.assign(value); }
298 inline QuickResponseData&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
303 bool m_channelsHasBeenSet =
false;
306 bool m_contentTypeHasBeenSet =
false;
309 bool m_contentsHasBeenSet =
false;
312 bool m_createdTimeHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
318 bool m_groupingConfigurationHasBeenSet =
false;
321 bool m_isActiveHasBeenSet =
false;
324 bool m_knowledgeBaseArnHasBeenSet =
false;
327 bool m_knowledgeBaseIdHasBeenSet =
false;
330 bool m_languageHasBeenSet =
false;
333 bool m_lastModifiedByHasBeenSet =
false;
336 bool m_lastModifiedTimeHasBeenSet =
false;
339 bool m_nameHasBeenSet =
false;
342 bool m_quickResponseArnHasBeenSet =
false;
345 bool m_quickResponseIdHasBeenSet =
false;
348 bool m_shortcutKeyHasBeenSet =
false;
351 bool m_statusHasBeenSet =
false;
354 bool m_tagsHasBeenSet =
false;
void SetQuickResponseId(Aws::String &&value)
QuickResponseData & AddChannels(const char *value)
QuickResponseData & WithLanguage(const char *value)
void SetKnowledgeBaseArn(const char *value)
bool LanguageHasBeenSet() const
void SetContentType(const char *value)
void SetQuickResponseArn(Aws::String &&value)
QuickResponseData & AddTags(const char *key, const char *value)
QuickResponseData & AddTags(const Aws::String &key, const Aws::String &value)
QuickResponseData & AddTags(const char *key, Aws::String &&value)
bool KnowledgeBaseArnHasBeenSet() const
bool IsActiveHasBeenSet() const
QuickResponseData & WithIsActive(bool value)
QuickResponseData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetKnowledgeBaseId() const
bool ContentTypeHasBeenSet() const
QuickResponseData & WithQuickResponseId(const char *value)
QuickResponseData & WithName(const Aws::String &value)
QuickResponseData & WithStatus(QuickResponseStatus &&value)
bool TagsHasBeenSet() const
const Aws::String & GetShortcutKey() const
QuickResponseData & WithLastModifiedBy(const Aws::String &value)
QuickResponseData & WithLanguage(Aws::String &&value)
QuickResponseData & WithContents(QuickResponseContents &&value)
QuickResponseData & WithGroupingConfiguration(GroupingConfiguration &&value)
void SetKnowledgeBaseArn(Aws::String &&value)
void SetContents(const QuickResponseContents &value)
void SetStatus(QuickResponseStatus &&value)
QuickResponseData & WithKnowledgeBaseId(const char *value)
void SetChannels(const Aws::Vector< Aws::String > &value)
const QuickResponseContents & GetContents() const
void SetLastModifiedBy(const Aws::String &value)
QuickResponseData & WithContentType(const Aws::String &value)
QuickResponseData & WithContentType(Aws::String &&value)
QuickResponseData & WithChannels(const Aws::Vector< Aws::String > &value)
void SetQuickResponseId(const Aws::String &value)
QuickResponseData & WithQuickResponseId(Aws::String &&value)
void SetLanguage(const Aws::String &value)
QuickResponseData & WithKnowledgeBaseArn(const char *value)
void SetShortcutKey(Aws::String &&value)
void SetIsActive(bool value)
QuickResponseData & WithName(const char *value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseData & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseData & WithLanguage(const Aws::String &value)
const Aws::String & GetQuickResponseId() const
const Aws::Vector< Aws::String > & GetChannels() const
bool QuickResponseIdHasBeenSet() const
QuickResponseData & WithLastModifiedBy(const char *value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const GroupingConfiguration & GetGroupingConfiguration() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetLastModifiedBy(Aws::String &&value)
const QuickResponseStatus & GetStatus() const
void SetLanguage(Aws::String &&value)
const Aws::String & GetName() const
QuickResponseData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickResponseData & WithLastModifiedTime(Aws::Utils::DateTime &&value)
bool ChannelsHasBeenSet() const
QuickResponseData & WithLastModifiedTime(const Aws::Utils::DateTime &value)
bool KnowledgeBaseIdHasBeenSet() const
QuickResponseData & WithKnowledgeBaseArn(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
QuickResponseData & WithChannels(Aws::Vector< Aws::String > &&value)
QuickResponseData & WithLastModifiedBy(Aws::String &&value)
QuickResponseData & WithContentType(const char *value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetKnowledgeBaseId(const char *value)
QuickResponseData & WithDescription(Aws::String &&value)
void SetContentType(const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::String & GetLanguage() const
void SetContentType(Aws::String &&value)
QuickResponseData & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
QuickResponseData & WithName(Aws::String &&value)
bool DescriptionHasBeenSet() const
QuickResponseData & AddChannels(const Aws::String &value)
QuickResponseData & WithKnowledgeBaseId(Aws::String &&value)
QuickResponseData & WithShortcutKey(const Aws::String &value)
QuickResponseData & WithQuickResponseArn(Aws::String &&value)
bool ShortcutKeyHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseData(Aws::Utils::Json::JsonView jsonValue)
QuickResponseData & AddTags(const Aws::String &key, Aws::String &&value)
QuickResponseData & WithKnowledgeBaseId(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetShortcutKey(const Aws::String &value)
void SetContents(QuickResponseContents &&value)
bool NameHasBeenSet() const
void SetLastModifiedBy(const char *value)
bool LastModifiedTimeHasBeenSet() const
void SetChannels(Aws::Vector< Aws::String > &&value)
QuickResponseData & WithCreatedTime(Aws::Utils::DateTime &&value)
QuickResponseData & WithKnowledgeBaseArn(const Aws::String &value)
QuickResponseData & WithShortcutKey(const char *value)
QuickResponseData & WithQuickResponseId(const Aws::String &value)
void SetStatus(const QuickResponseStatus &value)
void SetDescription(const char *value)
void SetKnowledgeBaseArn(const Aws::String &value)
QuickResponseData & AddTags(Aws::String &&key, const Aws::String &value)
void SetLanguage(const char *value)
const Aws::String & GetQuickResponseArn() const
QuickResponseData & WithQuickResponseArn(const Aws::String &value)
void SetShortcutKey(const char *value)
void SetQuickResponseId(const char *value)
bool CreatedTimeHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetGroupingConfiguration(GroupingConfiguration &&value)
bool GroupingConfigurationHasBeenSet() const
QuickResponseData & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
QuickResponseData & WithContents(const QuickResponseContents &value)
QuickResponseData & AddTags(Aws::String &&key, Aws::String &&value)
void SetQuickResponseArn(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
QuickResponseData & AddTags(Aws::String &&key, const char *value)
QuickResponseData & WithDescription(const char *value)
bool ContentsHasBeenSet() const
void SetQuickResponseArn(const char *value)
bool QuickResponseArnHasBeenSet() const
QuickResponseData & WithShortcutKey(Aws::String &&value)
void SetName(const Aws::String &value)
QuickResponseData & WithQuickResponseArn(const char *value)
void SetGroupingConfiguration(const GroupingConfiguration &value)
QuickResponseData & AddChannels(Aws::String &&value)
void SetName(const char *value)
const Aws::String & GetContentType() const
bool LastModifiedByHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseData()
QuickResponseData & WithStatus(const QuickResponseStatus &value)
const Aws::String & GetLastModifiedBy() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseData & WithGroupingConfiguration(const GroupingConfiguration &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&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