7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/KnowledgeBaseConfiguration.h>
11#include <aws/bedrock-agent/model/StorageConfiguration.h>
45 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
73 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
87 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
102 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
123 bool m_descriptionHasBeenSet =
false;
126 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
129 bool m_knowledgeBaseIdHasBeenSet =
false;
132 bool m_nameHasBeenSet =
false;
135 bool m_roleArnHasBeenSet =
false;
138 bool m_storageConfigurationHasBeenSet =
false;
const Aws::String & GetRoleArn() const
void SetRoleArn(const Aws::String &value)
bool NameHasBeenSet() const
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(const Aws::String &value)
UpdateKnowledgeBaseRequest & WithName(const char *value)
void SetStorageConfiguration(const StorageConfiguration &value)
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(const char *value)
UpdateKnowledgeBaseRequest & WithName(Aws::String &&value)
void SetStorageConfiguration(StorageConfiguration &&value)
const Aws::String & GetKnowledgeBaseId() const
const Aws::String & GetDescription() const
const StorageConfiguration & GetStorageConfiguration() const
void SetRoleArn(const char *value)
UpdateKnowledgeBaseRequest & WithRoleArn(const char *value)
UpdateKnowledgeBaseRequest & WithRoleArn(const Aws::String &value)
UpdateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
AWS_BEDROCKAGENT_API UpdateKnowledgeBaseRequest()
void SetDescription(Aws::String &&value)
UpdateKnowledgeBaseRequest & WithStorageConfiguration(StorageConfiguration &&value)
void SetDescription(const Aws::String &value)
void SetKnowledgeBaseId(Aws::String &&value)
UpdateKnowledgeBaseRequest & WithStorageConfiguration(const StorageConfiguration &value)
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetKnowledgeBaseId(const char *value)
void SetName(const char *value)
virtual const char * GetServiceRequestName() const override
void SetName(const Aws::String &value)
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(Aws::String &&value)
UpdateKnowledgeBaseRequest & WithDescription(const Aws::String &value)
UpdateKnowledgeBaseRequest & WithDescription(Aws::String &&value)
UpdateKnowledgeBaseRequest & WithRoleArn(Aws::String &&value)
void SetName(Aws::String &&value)
UpdateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
UpdateKnowledgeBaseRequest & WithName(const Aws::String &value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
UpdateKnowledgeBaseRequest & WithDescription(const char *value)
void SetDescription(const char *value)
void SetRoleArn(Aws::String &&value)
bool StorageConfigurationHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
bool RoleArnHasBeenSet() const
bool KnowledgeBaseConfigurationHasBeenSet() const
void SetKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
void SetKnowledgeBaseId(const Aws::String &value)
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String