7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/bedrock-agent/model/AgentCollaboration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent/model/CustomOrchestration.h>
12#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
13#include <aws/bedrock-agent/model/MemoryConfiguration.h>
14#include <aws/bedrock-agent/model/OrchestrationType.h>
15#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
57 template<
typename AgentIdT = Aws::String>
58 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
59 template<
typename AgentIdT = Aws::String>
69 template<
typename AgentNameT = Aws::String>
70 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
71 template<
typename AgentNameT = Aws::String>
82 template<
typename AgentResourceRoleArnT = Aws::String>
83 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
84 template<
typename AgentResourceRoleArnT = Aws::String>
94 template<
typename CustomOrchestrationT = CustomOrchestration>
95 void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet =
true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
96 template<
typename CustomOrchestrationT = CustomOrchestration>
107 template<
typename CustomerEncryptionKeyArnT = Aws::String>
108 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
109 template<
typename CustomerEncryptionKeyArnT = Aws::String>
119 template<
typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
121 template<
typename DescriptionT = Aws::String>
156 template<
typename FoundationModelT = Aws::String>
157 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
158 template<
typename FoundationModelT = Aws::String>
169 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
170 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
171 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
196 template<
typename InstructionT = Aws::String>
197 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
198 template<
typename InstructionT = Aws::String>
208 template<
typename MemoryConfigurationT = MemoryConfiguration>
209 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet =
true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
210 template<
typename MemoryConfigurationT = MemoryConfiguration>
234 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
235 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
236 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
242 bool m_agentCollaborationHasBeenSet =
false;
245 bool m_agentIdHasBeenSet =
false;
248 bool m_agentNameHasBeenSet =
false;
251 bool m_agentResourceRoleArnHasBeenSet =
false;
253 CustomOrchestration m_customOrchestration;
254 bool m_customOrchestrationHasBeenSet =
false;
257 bool m_customerEncryptionKeyArnHasBeenSet =
false;
260 bool m_descriptionHasBeenSet =
false;
263 bool m_foundationModelHasBeenSet =
false;
265 GuardrailConfiguration m_guardrailConfiguration;
266 bool m_guardrailConfigurationHasBeenSet =
false;
268 int m_idleSessionTTLInSeconds{0};
269 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
272 bool m_instructionHasBeenSet =
false;
274 MemoryConfiguration m_memoryConfiguration;
275 bool m_memoryConfigurationHasBeenSet =
false;
278 bool m_orchestrationTypeHasBeenSet =
false;
280 PromptOverrideConfiguration m_promptOverrideConfiguration;
281 bool m_promptOverrideConfigurationHasBeenSet =
false;
UpdateAgentRequest & WithDescription(DescriptionT &&value)
void SetAgentCollaboration(AgentCollaboration value)
void SetAgentName(AgentNameT &&value)
void SetFoundationModel(FoundationModelT &&value)
UpdateAgentRequest & WithIdleSessionTTLInSeconds(int value)
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
void SetInstruction(InstructionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAgentRequest & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
const Aws::String & GetDescription() const
const MemoryConfiguration & GetMemoryConfiguration() const
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
bool AgentIdHasBeenSet() const
const Aws::String & GetAgentId() const
bool PromptOverrideConfigurationHasBeenSet() const
UpdateAgentRequest & WithMemoryConfiguration(MemoryConfigurationT &&value)
const CustomOrchestration & GetCustomOrchestration() const
const Aws::String & GetAgentName() const
UpdateAgentRequest & WithAgentName(AgentNameT &&value)
void SetMemoryConfiguration(MemoryConfigurationT &&value)
bool InstructionHasBeenSet() const
bool AgentResourceRoleArnHasBeenSet() const
void SetCustomOrchestration(CustomOrchestrationT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentRequest & WithAgentCollaboration(AgentCollaboration value)
UpdateAgentRequest & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetInstruction() const
bool FoundationModelHasBeenSet() const
UpdateAgentRequest & WithOrchestrationType(OrchestrationType value)
UpdateAgentRequest & WithAgentId(AgentIdT &&value)
bool DescriptionHasBeenSet() const
bool CustomerEncryptionKeyArnHasBeenSet() const
int GetIdleSessionTTLInSeconds() const
UpdateAgentRequest & WithInstruction(InstructionT &&value)
bool CustomOrchestrationHasBeenSet() const
UpdateAgentRequest & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
OrchestrationType GetOrchestrationType() const
void SetIdleSessionTTLInSeconds(int value)
UpdateAgentRequest & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
bool AgentCollaborationHasBeenSet() const
void SetAgentId(AgentIdT &&value)
AgentCollaboration GetAgentCollaboration() const
void SetOrchestrationType(OrchestrationType value)
UpdateAgentRequest & WithCustomOrchestration(CustomOrchestrationT &&value)
UpdateAgentRequest & WithFoundationModel(FoundationModelT &&value)
bool OrchestrationTypeHasBeenSet() const
bool AgentNameHasBeenSet() const
AWS_BEDROCKAGENT_API UpdateAgentRequest()=default
bool GuardrailConfigurationHasBeenSet() const
bool MemoryConfigurationHasBeenSet() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
bool IdleSessionTTLInSecondsHasBeenSet() const
const Aws::String & GetAgentResourceRoleArn() const
const Aws::String & GetFoundationModel() const
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String