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/OrchestrationType.h>
11#include <aws/bedrock-agent/model/CustomOrchestration.h>
12#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
13#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
14#include <aws/bedrock-agent/model/MemoryConfiguration.h>
15#include <aws/bedrock-agent/model/AgentCollaboration.h>
47 template<
typename AgentIdT = Aws::String>
48 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
49 template<
typename AgentIdT = Aws::String>
59 template<
typename AgentNameT = Aws::String>
60 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
61 template<
typename AgentNameT = Aws::String>
72 template<
typename InstructionT = Aws::String>
73 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
74 template<
typename InstructionT = Aws::String>
109 template<
typename FoundationModelT = Aws::String>
110 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
111 template<
typename FoundationModelT = Aws::String>
121 template<
typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
123 template<
typename DescriptionT = Aws::String>
144 template<
typename CustomOrchestrationT = CustomOrchestration>
145 void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet =
true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
146 template<
typename CustomOrchestrationT = CustomOrchestration>
171 template<
typename AgentResourceRoleArnT = Aws::String>
172 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
173 template<
typename AgentResourceRoleArnT = Aws::String>
184 template<
typename CustomerEncryptionKeyArnT = Aws::String>
185 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
186 template<
typename CustomerEncryptionKeyArnT = Aws::String>
199 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
200 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
201 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
212 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
213 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
214 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
224 template<
typename MemoryConfigurationT = MemoryConfiguration>
225 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet =
true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
226 template<
typename MemoryConfigurationT = MemoryConfiguration>
242 bool m_agentIdHasBeenSet =
false;
245 bool m_agentNameHasBeenSet =
false;
248 bool m_instructionHasBeenSet =
false;
251 bool m_foundationModelHasBeenSet =
false;
254 bool m_descriptionHasBeenSet =
false;
257 bool m_orchestrationTypeHasBeenSet =
false;
259 CustomOrchestration m_customOrchestration;
260 bool m_customOrchestrationHasBeenSet =
false;
262 int m_idleSessionTTLInSeconds{0};
263 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
266 bool m_agentResourceRoleArnHasBeenSet =
false;
269 bool m_customerEncryptionKeyArnHasBeenSet =
false;
271 PromptOverrideConfiguration m_promptOverrideConfiguration;
272 bool m_promptOverrideConfigurationHasBeenSet =
false;
274 GuardrailConfiguration m_guardrailConfiguration;
275 bool m_guardrailConfigurationHasBeenSet =
false;
277 MemoryConfiguration m_memoryConfiguration;
278 bool m_memoryConfigurationHasBeenSet =
false;
281 bool m_agentCollaborationHasBeenSet =
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