7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/KnowledgeBaseConfiguration.h>
12#include <aws/bedrock-agent/model/KnowledgeBaseStatus.h>
13#include <aws/bedrock-agent/model/StorageConfiguration.h>
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
94 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
121 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
135 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
150 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
199 bool m_createdAtHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_failureReasonsHasBeenSet =
false;
208 bool m_knowledgeBaseArnHasBeenSet =
false;
211 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
214 bool m_knowledgeBaseIdHasBeenSet =
false;
217 bool m_nameHasBeenSet =
false;
220 bool m_roleArnHasBeenSet =
false;
223 bool m_statusHasBeenSet =
false;
226 bool m_storageConfigurationHasBeenSet =
false;
229 bool m_updatedAtHasBeenSet =
false;
void SetName(const Aws::String &value)
KnowledgeBase & WithName(const char *value)
KnowledgeBase & WithFailureReasons(Aws::Vector< Aws::String > &&value)
KnowledgeBase & WithKnowledgeBaseId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
KnowledgeBase & WithStorageConfiguration(const StorageConfiguration &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKnowledgeBaseId() const
KnowledgeBase & WithDescription(const Aws::String &value)
const KnowledgeBaseStatus & GetStatus() const
const Aws::String & GetName() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetStorageConfiguration(const StorageConfiguration &value)
KnowledgeBase & WithKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
void SetKnowledgeBaseArn(const char *value)
KnowledgeBase & WithName(Aws::String &&value)
KnowledgeBase & WithKnowledgeBaseArn(const Aws::String &value)
KnowledgeBase & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
bool NameHasBeenSet() const
void SetKnowledgeBaseId(const char *value)
KnowledgeBase & WithKnowledgeBaseArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
KnowledgeBase & WithStorageConfiguration(StorageConfiguration &&value)
AWS_BEDROCKAGENT_API KnowledgeBase & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBase & WithRoleArn(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
KnowledgeBase & WithStatus(const KnowledgeBaseStatus &value)
KnowledgeBase & WithKnowledgeBaseId(Aws::String &&value)
AWS_BEDROCKAGENT_API KnowledgeBase(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(KnowledgeBaseStatus &&value)
bool DescriptionHasBeenSet() const
bool FailureReasonsHasBeenSet() const
void SetName(const char *value)
KnowledgeBase & AddFailureReasons(const Aws::String &value)
bool KnowledgeBaseArnHasBeenSet() const
KnowledgeBase & AddFailureReasons(Aws::String &&value)
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
const StorageConfiguration & GetStorageConfiguration() const
void SetKnowledgeBaseId(const Aws::String &value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
void SetStatus(const KnowledgeBaseStatus &value)
KnowledgeBase & WithKnowledgeBaseArn(const char *value)
bool StatusHasBeenSet() const
KnowledgeBase & WithRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetRoleArn(const char *value)
void SetRoleArn(const Aws::String &value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
void SetKnowledgeBaseArn(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
KnowledgeBase & WithDescription(Aws::String &&value)
KnowledgeBase & WithStatus(KnowledgeBaseStatus &&value)
KnowledgeBase & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetKnowledgeBaseArn() const
KnowledgeBase & WithRoleArn(const Aws::String &value)
KnowledgeBase & WithFailureReasons(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDescription() const
KnowledgeBase & WithDescription(const char *value)
KnowledgeBase & AddFailureReasons(const char *value)
bool KnowledgeBaseIdHasBeenSet() const
bool RoleArnHasBeenSet() const
KnowledgeBase & WithKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
void SetRoleArn(Aws::String &&value)
AWS_BEDROCKAGENT_API KnowledgeBase()
bool CreatedAtHasBeenSet() const
void SetName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(const Aws::String &value)
KnowledgeBase & WithCreatedAt(const Aws::Utils::DateTime &value)
bool StorageConfigurationHasBeenSet() const
KnowledgeBase & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
void SetDescription(const char *value)
void SetKnowledgeBaseArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetStorageConfiguration(StorageConfiguration &&value)
bool KnowledgeBaseConfigurationHasBeenSet() const
KnowledgeBase & WithName(const Aws::String &value)
KnowledgeBase & WithKnowledgeBaseId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue