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>
43 template<
typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
45 template<
typename DescriptionT = Aws::String>
57 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
58 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { m_knowledgeBaseConfigurationHasBeenSet =
true; m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value); }
59 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
69 template<
typename KnowledgeBaseIdT = Aws::String>
70 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
71 template<
typename KnowledgeBaseIdT = Aws::String>
81 template<
typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
83 template<
typename NameT = Aws::String>
94 template<
typename RoleArnT = Aws::String>
95 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
96 template<
typename RoleArnT = Aws::String>
107 template<
typename StorageConfigurationT = StorageConfiguration>
108 void SetStorageConfiguration(StorageConfigurationT&& value) { m_storageConfigurationHasBeenSet =
true; m_storageConfiguration = std::forward<StorageConfigurationT>(value); }
109 template<
typename StorageConfigurationT = StorageConfiguration>
115 bool m_descriptionHasBeenSet =
false;
118 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
121 bool m_knowledgeBaseIdHasBeenSet =
false;
124 bool m_nameHasBeenSet =
false;
127 bool m_roleArnHasBeenSet =
false;
130 bool m_storageConfigurationHasBeenSet =
false;
const Aws::String & GetRoleArn() const
bool NameHasBeenSet() const
UpdateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
const Aws::String & GetKnowledgeBaseId() const
const Aws::String & GetDescription() const
const StorageConfiguration & GetStorageConfiguration() const
UpdateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API UpdateKnowledgeBaseRequest()=default
UpdateKnowledgeBaseRequest & WithStorageConfiguration(StorageConfigurationT &&value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
UpdateKnowledgeBaseRequest & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
UpdateKnowledgeBaseRequest & WithRoleArn(RoleArnT &&value)
void SetStorageConfiguration(StorageConfigurationT &&value)
void SetRoleArn(RoleArnT &&value)
bool StorageConfigurationHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
bool RoleArnHasBeenSet() const
bool KnowledgeBaseConfigurationHasBeenSet() const
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String