7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/KnowledgeBaseType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wisdom/model/RenderingConfiguration.h>
12#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
13#include <aws/wisdom/model/SourceConfiguration.h>
14#include <aws/wisdom/model/KnowledgeBaseStatus.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
28namespace ConnectWisdomService
55 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
69 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
84 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
124 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
201 inline KnowledgeBaseData&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
206 bool m_descriptionHasBeenSet =
false;
209 bool m_knowledgeBaseArnHasBeenSet =
false;
212 bool m_knowledgeBaseIdHasBeenSet =
false;
215 bool m_knowledgeBaseTypeHasBeenSet =
false;
218 bool m_lastContentModificationTimeHasBeenSet =
false;
221 bool m_nameHasBeenSet =
false;
224 bool m_renderingConfigurationHasBeenSet =
false;
227 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
230 bool m_sourceConfigurationHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
bool LastContentModificationTimeHasBeenSet() const
void SetRenderingConfiguration(const RenderingConfiguration &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseData & WithRenderingConfiguration(const RenderingConfiguration &value)
KnowledgeBaseData & AddTags(const char *key, const char *value)
const Aws::String & GetName() const
void SetRenderingConfiguration(RenderingConfiguration &&value)
const Aws::String & GetDescription() const
void SetSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseData & AddTags(Aws::String &&key, const char *value)
KnowledgeBaseData & WithLastContentModificationTime(Aws::Utils::DateTime &&value)
KnowledgeBaseData & AddTags(const Aws::String &key, Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
void SetLastContentModificationTime(const Aws::Utils::DateTime &value)
void SetKnowledgeBaseArn(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData()
KnowledgeBaseData & WithKnowledgeBaseArn(const Aws::String &value)
void SetKnowledgeBaseType(KnowledgeBaseType &&value)
KnowledgeBaseData & AddTags(const char *key, Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKnowledgeBaseId(const char *value)
KnowledgeBaseData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
void SetKnowledgeBaseArn(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseData & WithName(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
const KnowledgeBaseStatus & GetStatus() const
void SetDescription(const Aws::String &value)
KnowledgeBaseData & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
KnowledgeBaseData & WithKnowledgeBaseArn(Aws::String &&value)
void SetKnowledgeBaseId(Aws::String &&value)
KnowledgeBaseData & WithDescription(const char *value)
void SetKnowledgeBaseType(const KnowledgeBaseType &value)
bool KnowledgeBaseArnHasBeenSet() const
KnowledgeBaseData & WithKnowledgeBaseId(const char *value)
const KnowledgeBaseType & GetKnowledgeBaseType() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseData & WithDescription(const Aws::String &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetLastContentModificationTime() const
const RenderingConfiguration & GetRenderingConfiguration() const
KnowledgeBaseData & AddTags(const Aws::String &key, const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetKnowledgeBaseArn(const char *value)
KnowledgeBaseData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(const char *value)
KnowledgeBaseData & WithName(const char *value)
bool RenderingConfigurationHasBeenSet() const
KnowledgeBaseData & WithKnowledgeBaseArn(const char *value)
const Aws::String & GetKnowledgeBaseArn() const
KnowledgeBaseData & WithRenderingConfiguration(RenderingConfiguration &&value)
bool TagsHasBeenSet() const
KnowledgeBaseData & WithKnowledgeBaseId(Aws::String &&value)
bool NameHasBeenSet() const
KnowledgeBaseData & WithKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseData & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetSourceConfiguration(const SourceConfiguration &value)
bool KnowledgeBaseTypeHasBeenSet() const
KnowledgeBaseData & WithKnowledgeBaseType(KnowledgeBaseType &&value)
bool StatusHasBeenSet() const
void SetName(Aws::String &&value)
void SetLastContentModificationTime(Aws::Utils::DateTime &&value)
KnowledgeBaseData & WithKnowledgeBaseType(const KnowledgeBaseType &value)
KnowledgeBaseData & WithSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseData & WithStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseData & WithName(Aws::String &&value)
const SourceConfiguration & GetSourceConfiguration() const
KnowledgeBaseData & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
KnowledgeBaseData & WithStatus(KnowledgeBaseStatus &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
KnowledgeBaseData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const char *value)
void SetName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStatus(KnowledgeBaseStatus &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseData & WithLastContentModificationTime(const Aws::Utils::DateTime &value)
KnowledgeBaseData & WithSourceConfiguration(const SourceConfiguration &value)
bool SourceConfigurationHasBeenSet() const
KnowledgeBaseData & AddTags(Aws::String &&key, 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
Aws::Utils::Json::JsonValue JsonValue