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>
46 inline void SetAgentId(
const char* value) { m_agentIdHasBeenSet =
true; m_agentId.assign(value); }
60 inline void SetAgentName(
const char* value) { m_agentNameHasBeenSet =
true; m_agentName.assign(value); }
75 inline void SetAgentResourceRoleArn(
const char* value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn.assign(value); }
90 inline void SetCustomerEncryptionKeyArn(
const char* value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn.assign(value); }
104 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
143 inline void SetFoundationModel(
const char* value) { m_foundationModelHasBeenSet =
true; m_foundationModel.assign(value); }
185 inline void SetInstruction(
const char* value) { m_instructionHasBeenSet =
true; m_instruction.assign(value); }
220 bool m_agentIdHasBeenSet =
false;
223 bool m_agentNameHasBeenSet =
false;
226 bool m_agentResourceRoleArnHasBeenSet =
false;
229 bool m_customerEncryptionKeyArnHasBeenSet =
false;
232 bool m_descriptionHasBeenSet =
false;
235 bool m_foundationModelHasBeenSet =
false;
238 bool m_guardrailConfigurationHasBeenSet =
false;
240 int m_idleSessionTTLInSeconds;
241 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
244 bool m_instructionHasBeenSet =
false;
247 bool m_memoryConfigurationHasBeenSet =
false;
250 bool m_promptOverrideConfigurationHasBeenSet =
false;
void SetAgentResourceRoleArn(const char *value)
void SetPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
UpdateAgentRequest & WithIdleSessionTTLInSeconds(int value)
UpdateAgentRequest & WithInstruction(Aws::String &&value)
UpdateAgentRequest & WithAgentResourceRoleArn(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
const MemoryConfiguration & GetMemoryConfiguration() const
void SetDescription(const char *value)
void SetAgentId(const Aws::String &value)
UpdateAgentRequest & WithPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
void SetDescription(Aws::String &&value)
bool AgentIdHasBeenSet() const
void SetPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
UpdateAgentRequest & WithDescription(const char *value)
void SetAgentId(const char *value)
const Aws::String & GetAgentId() const
UpdateAgentRequest & WithMemoryConfiguration(const MemoryConfiguration &value)
void SetInstruction(const char *value)
bool PromptOverrideConfigurationHasBeenSet() const
void SetAgentName(Aws::String &&value)
UpdateAgentRequest & WithCustomerEncryptionKeyArn(const char *value)
const Aws::String & GetAgentName() const
void SetInstruction(Aws::String &&value)
bool InstructionHasBeenSet() const
bool AgentResourceRoleArnHasBeenSet() const
UpdateAgentRequest & WithAgentName(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentRequest & WithFoundationModel(Aws::String &&value)
UpdateAgentRequest & WithAgentResourceRoleArn(Aws::String &&value)
void SetAgentResourceRoleArn(const Aws::String &value)
UpdateAgentRequest & WithInstruction(const char *value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
UpdateAgentRequest & WithAgentId(const char *value)
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
const Aws::String & GetInstruction() const
bool FoundationModelHasBeenSet() const
void SetAgentName(const char *value)
bool DescriptionHasBeenSet() const
bool CustomerEncryptionKeyArnHasBeenSet() const
UpdateAgentRequest & WithFoundationModel(const char *value)
int GetIdleSessionTTLInSeconds() const
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
void SetAgentName(const Aws::String &value)
UpdateAgentRequest & WithAgentName(const char *value)
void SetDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API UpdateAgentRequest()
UpdateAgentRequest & WithGuardrailConfiguration(const GuardrailConfiguration &value)
void SetMemoryConfiguration(const MemoryConfiguration &value)
UpdateAgentRequest & WithMemoryConfiguration(MemoryConfiguration &&value)
void SetInstruction(const Aws::String &value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
UpdateAgentRequest & WithGuardrailConfiguration(GuardrailConfiguration &&value)
UpdateAgentRequest & WithDescription(Aws::String &&value)
UpdateAgentRequest & WithAgentName(const Aws::String &value)
void SetFoundationModel(Aws::String &&value)
UpdateAgentRequest & WithAgentResourceRoleArn(const Aws::String &value)
UpdateAgentRequest & WithFoundationModel(const Aws::String &value)
UpdateAgentRequest & WithDescription(const Aws::String &value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
void SetIdleSessionTTLInSeconds(int value)
void SetFoundationModel(const char *value)
void SetFoundationModel(const Aws::String &value)
UpdateAgentRequest & WithPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
UpdateAgentRequest & WithCustomerEncryptionKeyArn(const Aws::String &value)
void SetAgentId(Aws::String &&value)
bool AgentNameHasBeenSet() const
void SetAgentResourceRoleArn(Aws::String &&value)
UpdateAgentRequest & WithAgentId(const Aws::String &value)
bool GuardrailConfigurationHasBeenSet() const
UpdateAgentRequest & WithAgentId(Aws::String &&value)
UpdateAgentRequest & WithCustomerEncryptionKeyArn(Aws::String &&value)
bool MemoryConfigurationHasBeenSet() const
const Aws::String & GetCustomerEncryptionKeyArn() const
void SetCustomerEncryptionKeyArn(const char *value)
UpdateAgentRequest & WithInstruction(const Aws::String &value)
bool IdleSessionTTLInSecondsHasBeenSet() const
void SetCustomerEncryptionKeyArn(Aws::String &&value)
void SetMemoryConfiguration(MemoryConfiguration &&value)
const Aws::String & GetAgentResourceRoleArn() const
const Aws::String & GetFoundationModel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String