/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the knowledge base.See Also:
AWS
* API Reference
The description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description.
*/ inline KnowledgeBaseData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description.
*/ inline KnowledgeBaseData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description.
*/ inline KnowledgeBaseData& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; } /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; } /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); } /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;} /** *The identifier of the knowledge base.
*/ inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; } /** *The identifier of the knowledge base.
*/ inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; } /** *The identifier of the knowledge base.
*/ inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; } /** *The identifier of the knowledge base.
*/ inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); } /** *The identifier of the knowledge base.
*/ inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); } /** *The identifier of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;} /** *The identifier of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;} /** *The identifier of the knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;} /** *The type of knowledge base.
*/ inline const KnowledgeBaseType& GetKnowledgeBaseType() const{ return m_knowledgeBaseType; } /** *The type of knowledge base.
*/ inline bool KnowledgeBaseTypeHasBeenSet() const { return m_knowledgeBaseTypeHasBeenSet; } /** *The type of knowledge base.
*/ inline void SetKnowledgeBaseType(const KnowledgeBaseType& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = value; } /** *The type of knowledge base.
*/ inline void SetKnowledgeBaseType(KnowledgeBaseType&& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = std::move(value); } /** *The type of knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseType(const KnowledgeBaseType& value) { SetKnowledgeBaseType(value); return *this;} /** *The type of knowledge base.
*/ inline KnowledgeBaseData& WithKnowledgeBaseType(KnowledgeBaseType&& value) { SetKnowledgeBaseType(std::move(value)); return *this;} /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline const Aws::Utils::DateTime& GetLastContentModificationTime() const{ return m_lastContentModificationTime; } /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline bool LastContentModificationTimeHasBeenSet() const { return m_lastContentModificationTimeHasBeenSet; } /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline void SetLastContentModificationTime(const Aws::Utils::DateTime& value) { m_lastContentModificationTimeHasBeenSet = true; m_lastContentModificationTime = value; } /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline void SetLastContentModificationTime(Aws::Utils::DateTime&& value) { m_lastContentModificationTimeHasBeenSet = true; m_lastContentModificationTime = std::move(value); } /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline KnowledgeBaseData& WithLastContentModificationTime(const Aws::Utils::DateTime& value) { SetLastContentModificationTime(value); return *this;} /** *An epoch timestamp indicating the most recent content modification inside the * knowledge base. If no content exists in a knowledge base, this value is * unset.
*/ inline KnowledgeBaseData& WithLastContentModificationTime(Aws::Utils::DateTime&& value) { SetLastContentModificationTime(std::move(value)); return *this;} /** *The name of the knowledge base.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the knowledge base.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the knowledge base.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the knowledge base.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the knowledge base.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the knowledge base.
*/ inline KnowledgeBaseData& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the knowledge base.
*/ inline KnowledgeBaseData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the knowledge base.
*/ inline KnowledgeBaseData& WithName(const char* value) { SetName(value); return *this;} /** *Information about how to render the content.
*/ inline const RenderingConfiguration& GetRenderingConfiguration() const{ return m_renderingConfiguration; } /** *Information about how to render the content.
*/ inline bool RenderingConfigurationHasBeenSet() const { return m_renderingConfigurationHasBeenSet; } /** *Information about how to render the content.
*/ inline void SetRenderingConfiguration(const RenderingConfiguration& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = value; } /** *Information about how to render the content.
*/ inline void SetRenderingConfiguration(RenderingConfiguration&& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = std::move(value); } /** *Information about how to render the content.
*/ inline KnowledgeBaseData& WithRenderingConfiguration(const RenderingConfiguration& value) { SetRenderingConfiguration(value); return *this;} /** *Information about how to render the content.
*/ inline KnowledgeBaseData& WithRenderingConfiguration(RenderingConfiguration&& value) { SetRenderingConfiguration(std::move(value)); return *this;} /** *The KMS key used for encryption.
*/ inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; } /** *The KMS key used for encryption.
*/ inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; } /** *The KMS key used for encryption.
*/ inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; } /** *The KMS key used for encryption.
*/ inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); } /** *The KMS key used for encryption.
*/ inline KnowledgeBaseData& WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { SetServerSideEncryptionConfiguration(value); return *this;} /** *The KMS key used for encryption.
*/ inline KnowledgeBaseData& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { SetServerSideEncryptionConfiguration(std::move(value)); return *this;} /** *Source configuration information about the knowledge base.
*/ inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; } /** *Source configuration information about the knowledge base.
*/ inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; } /** *Source configuration information about the knowledge base.
*/ inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; } /** *Source configuration information about the knowledge base.
*/ inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); } /** *Source configuration information about the knowledge base.
*/ inline KnowledgeBaseData& WithSourceConfiguration(const SourceConfiguration& value) { SetSourceConfiguration(value); return *this;} /** *Source configuration information about the knowledge base.
*/ inline KnowledgeBaseData& WithSourceConfiguration(SourceConfiguration&& value) { SetSourceConfiguration(std::move(value)); return *this;} /** *The status of the knowledge base.
*/ inline const KnowledgeBaseStatus& GetStatus() const{ return m_status; } /** *The status of the knowledge base.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the knowledge base.
*/ inline void SetStatus(const KnowledgeBaseStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the knowledge base.
*/ inline void SetStatus(KnowledgeBaseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the knowledge base.
*/ inline KnowledgeBaseData& WithStatus(const KnowledgeBaseStatus& value) { SetStatus(value); return *this;} /** *The status of the knowledge base.
*/ inline KnowledgeBaseData& WithStatus(KnowledgeBaseStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The tags used to organize, track, or control access for this resource.
*/ inline const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags used to organize, track, or control access for this resource.
*/ inline void SetTags(const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline void SetTags(Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& WithTags(const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& WithTags(Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline KnowledgeBaseData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_knowledgeBaseArn; bool m_knowledgeBaseArnHasBeenSet = false; Aws::String m_knowledgeBaseId; bool m_knowledgeBaseIdHasBeenSet = false; KnowledgeBaseType m_knowledgeBaseType; bool m_knowledgeBaseTypeHasBeenSet = false; Aws::Utils::DateTime m_lastContentModificationTime; bool m_lastContentModificationTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; RenderingConfiguration m_renderingConfiguration; bool m_renderingConfigurationHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet = false; SourceConfiguration m_sourceConfiguration; bool m_sourceConfigurationHasBeenSet = false; KnowledgeBaseStatus m_status; bool m_statusHasBeenSet = false; Aws::Map