7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/AgentCollaboration.h>
10#include <aws/bedrock-agent/model/CustomOrchestration.h>
11#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
12#include <aws/bedrock-agent/model/MemoryConfiguration.h>
13#include <aws/bedrock-agent/model/OrchestrationType.h>
14#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgent {
43 template <
typename AgentIdT = Aws::String>
45 m_agentIdHasBeenSet =
true;
46 m_agentId = std::forward<AgentIdT>(value);
48 template <
typename AgentIdT = Aws::String>
61 template <
typename AgentNameT = Aws::String>
63 m_agentNameHasBeenSet =
true;
64 m_agentName = std::forward<AgentNameT>(value);
66 template <
typename AgentNameT = Aws::String>
80 template <
typename InstructionT = Aws::String>
82 m_instructionHasBeenSet =
true;
83 m_instruction = std::forward<InstructionT>(value);
85 template <
typename InstructionT = Aws::String>
123 template <
typename FoundationModelT = Aws::String>
125 m_foundationModelHasBeenSet =
true;
126 m_foundationModel = std::forward<FoundationModelT>(value);
128 template <
typename FoundationModelT = Aws::String>
141 template <
typename DescriptionT = Aws::String>
143 m_descriptionHasBeenSet =
true;
144 m_description = std::forward<DescriptionT>(value);
146 template <
typename DescriptionT = Aws::String>
161 m_orchestrationTypeHasBeenSet =
true;
162 m_orchestrationType = value;
176 template <
typename CustomOrchestrationT = CustomOrchestration>
178 m_customOrchestrationHasBeenSet =
true;
179 m_customOrchestration = std::forward<CustomOrchestrationT>(value);
181 template <
typename CustomOrchestrationT = CustomOrchestration>
199 m_idleSessionTTLInSecondsHasBeenSet =
true;
200 m_idleSessionTTLInSeconds = value;
215 template <
typename AgentResourceRoleArnT = Aws::String>
217 m_agentResourceRoleArnHasBeenSet =
true;
218 m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value);
220 template <
typename AgentResourceRoleArnT = Aws::String>
234 template <
typename CustomerEncryptionKeyArnT = Aws::String>
236 m_customerEncryptionKeyArnHasBeenSet =
true;
237 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
239 template <
typename CustomerEncryptionKeyArnT = Aws::String>
255 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
257 m_promptOverrideConfigurationHasBeenSet =
true;
258 m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value);
260 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
274 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
276 m_guardrailConfigurationHasBeenSet =
true;
277 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
279 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
292 template <
typename MemoryConfigurationT = MemoryConfiguration>
294 m_memoryConfigurationHasBeenSet =
true;
295 m_memoryConfiguration = std::forward<MemoryConfigurationT>(value);
297 template <
typename MemoryConfigurationT = MemoryConfiguration>
311 m_agentCollaborationHasBeenSet =
true;
312 m_agentCollaboration = value;
332 CustomOrchestration m_customOrchestration;
334 int m_idleSessionTTLInSeconds{0};
340 PromptOverrideConfiguration m_promptOverrideConfiguration;
342 GuardrailConfiguration m_guardrailConfiguration;
344 MemoryConfiguration m_memoryConfiguration;
347 bool m_agentIdHasBeenSet =
false;
348 bool m_agentNameHasBeenSet =
false;
349 bool m_instructionHasBeenSet =
false;
350 bool m_foundationModelHasBeenSet =
false;
351 bool m_descriptionHasBeenSet =
false;
352 bool m_orchestrationTypeHasBeenSet =
false;
353 bool m_customOrchestrationHasBeenSet =
false;
354 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
355 bool m_agentResourceRoleArnHasBeenSet =
false;
356 bool m_customerEncryptionKeyArnHasBeenSet =
false;
357 bool m_promptOverrideConfigurationHasBeenSet =
false;
358 bool m_guardrailConfigurationHasBeenSet =
false;
359 bool m_memoryConfigurationHasBeenSet =
false;
360 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