7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/KnowledgeBaseConfiguration.h>
10#include <aws/bedrock-agent/model/StorageConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace BedrockAgent {
39 template <
typename KnowledgeBaseIdT = Aws::String>
41 m_knowledgeBaseIdHasBeenSet =
true;
42 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
44 template <
typename KnowledgeBaseIdT = Aws::String>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
94 template <
typename RoleArnT = Aws::String>
96 m_roleArnHasBeenSet =
true;
97 m_roleArn = std::forward<RoleArnT>(value);
99 template <
typename RoleArnT = Aws::String>
114 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
116 m_knowledgeBaseConfigurationHasBeenSet =
true;
117 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
119 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
133 template <
typename StorageConfigurationT = StorageConfiguration>
135 m_storageConfigurationHasBeenSet =
true;
136 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
138 template <
typename StorageConfigurationT = StorageConfiguration>
156 bool m_knowledgeBaseIdHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
159 bool m_roleArnHasBeenSet =
false;
160 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
161 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