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/GuardrailConfiguration.h>
11#include <aws/bedrock-agent/model/MemoryConfiguration.h>
12#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
48 inline void SetAgentName(
const char* value) { m_agentNameHasBeenSet =
true; m_agentName.assign(value); }
63 inline void SetAgentResourceRoleArn(
const char* value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn.assign(value); }
81 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
96 inline void SetCustomerEncryptionKeyArn(
const char* value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn.assign(value); }
110 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
149 inline void SetFoundationModel(
const char* value) { m_foundationModelHasBeenSet =
true; m_foundationModel.assign(value); }
191 inline void SetInstruction(
const char* value) { m_instructionHasBeenSet =
true; m_instruction.assign(value); }
240 inline CreateAgentRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
245 bool m_agentNameHasBeenSet =
false;
248 bool m_agentResourceRoleArnHasBeenSet =
false;
251 bool m_clientTokenHasBeenSet =
false;
254 bool m_customerEncryptionKeyArnHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_foundationModelHasBeenSet =
false;
263 bool m_guardrailConfigurationHasBeenSet =
false;
265 int m_idleSessionTTLInSeconds;
266 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
269 bool m_instructionHasBeenSet =
false;
272 bool m_memoryConfigurationHasBeenSet =
false;
275 bool m_promptOverrideConfigurationHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
void SetAgentResourceRoleArn(const Aws::String &value)
void SetIdleSessionTTLInSeconds(int value)
const Aws::String & GetAgentResourceRoleArn() const
const GuardrailConfiguration & GetGuardrailConfiguration() const
CreateAgentRequest & AddTags(const char *key, Aws::String &&value)
void SetInstruction(const Aws::String &value)
bool IdleSessionTTLInSecondsHasBeenSet() const
void SetAgentResourceRoleArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateAgentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAgentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool InstructionHasBeenSet() const
CreateAgentRequest & WithFoundationModel(const Aws::String &value)
const Aws::String & GetInstruction() const
bool ClientTokenHasBeenSet() const
void SetFoundationModel(Aws::String &&value)
CreateAgentRequest & WithAgentName(const char *value)
const Aws::String & GetDescription() const
bool AgentResourceRoleArnHasBeenSet() const
CreateAgentRequest & WithAgentResourceRoleArn(Aws::String &&value)
void SetAgentName(Aws::String &&value)
CreateAgentRequest & WithFoundationModel(Aws::String &&value)
bool GuardrailConfigurationHasBeenSet() const
bool CustomerEncryptionKeyArnHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAgentRequest & WithCustomerEncryptionKeyArn(const char *value)
CreateAgentRequest & WithAgentResourceRoleArn(const Aws::String &value)
void SetAgentResourceRoleArn(const char *value)
CreateAgentRequest & WithMemoryConfiguration(MemoryConfiguration &&value)
void SetMemoryConfiguration(MemoryConfiguration &&value)
void SetInstruction(const char *value)
bool FoundationModelHasBeenSet() const
CreateAgentRequest & WithClientToken(Aws::String &&value)
void SetClientToken(const char *value)
bool AgentNameHasBeenSet() const
CreateAgentRequest & WithGuardrailConfiguration(const GuardrailConfiguration &value)
const Aws::String & GetClientToken() const
CreateAgentRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
CreateAgentRequest & WithCustomerEncryptionKeyArn(const Aws::String &value)
void SetDescription(const char *value)
CreateAgentRequest & WithGuardrailConfiguration(GuardrailConfiguration &&value)
CreateAgentRequest & WithAgentName(Aws::String &&value)
void SetPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
bool DescriptionHasBeenSet() const
void SetCustomerEncryptionKeyArn(const char *value)
CreateAgentRequest & WithInstruction(Aws::String &&value)
CreateAgentRequest & WithClientToken(const char *value)
CreateAgentRequest & WithInstruction(const char *value)
CreateAgentRequest & WithFoundationModel(const char *value)
CreateAgentRequest & WithDescription(Aws::String &&value)
CreateAgentRequest & WithDescription(const Aws::String &value)
CreateAgentRequest & AddTags(const char *key, const char *value)
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
void SetCustomerEncryptionKeyArn(Aws::String &&value)
void SetFoundationModel(const Aws::String &value)
CreateAgentRequest & WithAgentName(const Aws::String &value)
void SetAgentName(const Aws::String &value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetInstruction(Aws::String &&value)
CreateAgentRequest & AddTags(Aws::String &&key, const char *value)
CreateAgentRequest & WithMemoryConfiguration(const MemoryConfiguration &value)
CreateAgentRequest & WithPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
void SetPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
CreateAgentRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetAgentName(const char *value)
CreateAgentRequest & WithDescription(const char *value)
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
CreateAgentRequest & WithAgentResourceRoleArn(const char *value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
CreateAgentRequest & WithPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
CreateAgentRequest & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateAgentRequest & WithInstruction(const Aws::String &value)
bool TagsHasBeenSet() const
const Aws::String & GetAgentName() const
AWS_BEDROCKAGENT_API CreateAgentRequest()
const Aws::String & GetCustomerEncryptionKeyArn() const
int GetIdleSessionTTLInSeconds() const
CreateAgentRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAgentRequest & WithClientToken(const Aws::String &value)
CreateAgentRequest & WithIdleSessionTTLInSeconds(int value)
CreateAgentRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool MemoryConfigurationHasBeenSet() const
bool PromptOverrideConfigurationHasBeenSet() const
void SetMemoryConfiguration(const MemoryConfiguration &value)
const Aws::String & GetFoundationModel() const
const MemoryConfiguration & GetMemoryConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetFoundationModel(const char *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