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>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
106 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
147 bool m_clientTokenHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
153 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
156 bool m_nameHasBeenSet =
false;
159 bool m_roleArnHasBeenSet =
false;
162 bool m_storageConfigurationHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
CreateKnowledgeBaseRequest & AddTags(const char *key, Aws::String &&value)
CreateKnowledgeBaseRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(const Aws::String &value)
const Aws::String & GetName() const
CreateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
CreateKnowledgeBaseRequest & WithDescription(const Aws::String &value)
CreateKnowledgeBaseRequest & WithRoleArn(const Aws::String &value)
void SetClientToken(const char *value)
void SetDescription(const char *value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetClientToken() const
CreateKnowledgeBaseRequest & WithStorageConfiguration(StorageConfiguration &&value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetName(const char *value)
void SetRoleArn(Aws::String &&value)
CreateKnowledgeBaseRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
bool StorageConfigurationHasBeenSet() const
CreateKnowledgeBaseRequest & WithStorageConfiguration(const StorageConfiguration &value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfiguration &&value)
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
bool KnowledgeBaseConfigurationHasBeenSet() const
CreateKnowledgeBaseRequest & WithName(const Aws::String &value)
void SetRoleArn(const char *value)
CreateKnowledgeBaseRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const StorageConfiguration & GetStorageConfiguration() const
CreateKnowledgeBaseRequest & WithDescription(Aws::String &&value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateKnowledgeBaseRequest & WithRoleArn(const char *value)
void SetClientToken(Aws::String &&value)
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
AWS_BEDROCKAGENT_API CreateKnowledgeBaseRequest()
CreateKnowledgeBaseRequest & AddTags(const char *key, const char *value)
CreateKnowledgeBaseRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
CreateKnowledgeBaseRequest & WithDescription(const char *value)
CreateKnowledgeBaseRequest & WithClientToken(const char *value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetRoleArn() const
CreateKnowledgeBaseRequest & WithName(const char *value)
CreateKnowledgeBaseRequest & WithRoleArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
CreateKnowledgeBaseRequest & WithClientToken(const Aws::String &value)
void SetStorageConfiguration(StorageConfiguration &&value)
void SetStorageConfiguration(const StorageConfiguration &value)
CreateKnowledgeBaseRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool ClientTokenHasBeenSet() const
CreateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(const KnowledgeBaseConfiguration &value)
bool RoleArnHasBeenSet() const
void SetName(const Aws::String &value)
CreateKnowledgeBaseRequest & WithClientToken(Aws::String &&value)
void SetName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String