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/UUID.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgent {
45 template <
typename AgentNameT = Aws::String>
47 m_agentNameHasBeenSet =
true;
48 m_agentName = std::forward<AgentNameT>(value);
50 template <
typename AgentNameT = Aws::String>
67 template <
typename ClientTokenT = Aws::String>
69 m_clientTokenHasBeenSet =
true;
70 m_clientToken = std::forward<ClientTokenT>(value);
72 template <
typename ClientTokenT = Aws::String>
86 template <
typename InstructionT = Aws::String>
88 m_instructionHasBeenSet =
true;
89 m_instruction = std::forward<InstructionT>(value);
91 template <
typename InstructionT = Aws::String>
129 template <
typename FoundationModelT = Aws::String>
131 m_foundationModelHasBeenSet =
true;
132 m_foundationModel = std::forward<FoundationModelT>(value);
134 template <
typename FoundationModelT = Aws::String>
147 template <
typename DescriptionT = Aws::String>
149 m_descriptionHasBeenSet =
true;
150 m_description = std::forward<DescriptionT>(value);
152 template <
typename DescriptionT = Aws::String>
167 m_orchestrationTypeHasBeenSet =
true;
168 m_orchestrationType = value;
182 template <
typename CustomOrchestrationT = CustomOrchestration>
184 m_customOrchestrationHasBeenSet =
true;
185 m_customOrchestration = std::forward<CustomOrchestrationT>(value);
187 template <
typename CustomOrchestrationT = CustomOrchestration>
205 m_idleSessionTTLInSecondsHasBeenSet =
true;
206 m_idleSessionTTLInSeconds = value;
221 template <
typename AgentResourceRoleArnT = Aws::String>
223 m_agentResourceRoleArnHasBeenSet =
true;
224 m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value);
226 template <
typename AgentResourceRoleArnT = Aws::String>
240 template <
typename CustomerEncryptionKeyArnT = Aws::String>
242 m_customerEncryptionKeyArnHasBeenSet =
true;
243 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
245 template <
typename CustomerEncryptionKeyArnT = Aws::String>
258 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
260 m_tagsHasBeenSet =
true;
261 m_tags = std::forward<TagsT>(value);
263 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
265 SetTags(std::forward<TagsT>(value));
268 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
270 m_tagsHasBeenSet =
true;
271 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
285 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
287 m_promptOverrideConfigurationHasBeenSet =
true;
288 m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value);
290 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
304 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
306 m_guardrailConfigurationHasBeenSet =
true;
307 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
309 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
322 template <
typename MemoryConfigurationT = MemoryConfiguration>
324 m_memoryConfigurationHasBeenSet =
true;
325 m_memoryConfiguration = std::forward<MemoryConfigurationT>(value);
327 template <
typename MemoryConfigurationT = MemoryConfiguration>
341 m_agentCollaborationHasBeenSet =
true;
342 m_agentCollaboration = value;
362 CustomOrchestration m_customOrchestration;
364 int m_idleSessionTTLInSeconds{0};
372 PromptOverrideConfiguration m_promptOverrideConfiguration;
374 GuardrailConfiguration m_guardrailConfiguration;
376 MemoryConfiguration m_memoryConfiguration;
379 bool m_agentNameHasBeenSet =
false;
380 bool m_clientTokenHasBeenSet =
true;
381 bool m_instructionHasBeenSet =
false;
382 bool m_foundationModelHasBeenSet =
false;
383 bool m_descriptionHasBeenSet =
false;
384 bool m_orchestrationTypeHasBeenSet =
false;
385 bool m_customOrchestrationHasBeenSet =
false;
386 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
387 bool m_agentResourceRoleArnHasBeenSet =
false;
388 bool m_customerEncryptionKeyArnHasBeenSet =
false;
389 bool m_tagsHasBeenSet =
false;
390 bool m_promptOverrideConfigurationHasBeenSet =
false;
391 bool m_guardrailConfigurationHasBeenSet =
false;
392 bool m_memoryConfigurationHasBeenSet =
false;
393 bool m_agentCollaborationHasBeenSet =
false;
void SetIdleSessionTTLInSeconds(int value)
const Aws::String & GetAgentResourceRoleArn() const
const GuardrailConfiguration & GetGuardrailConfiguration() const
OrchestrationType GetOrchestrationType() const
bool IdleSessionTTLInSecondsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateAgentRequest & WithInstruction(InstructionT &&value)
bool InstructionHasBeenSet() const
const Aws::String & GetInstruction() const
void SetClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
bool AgentResourceRoleArnHasBeenSet() const
CreateAgentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAgentRequest & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
bool GuardrailConfigurationHasBeenSet() const
bool CustomerEncryptionKeyArnHasBeenSet() const
const CustomOrchestration & GetCustomOrchestration() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
bool FoundationModelHasBeenSet() const
bool AgentNameHasBeenSet() const
void SetMemoryConfiguration(MemoryConfigurationT &&value)
bool AgentCollaborationHasBeenSet() const
const Aws::String & GetClientToken() const
bool OrchestrationTypeHasBeenSet() const
void SetOrchestrationType(OrchestrationType value)
bool DescriptionHasBeenSet() const
CreateAgentRequest & WithAgentCollaboration(AgentCollaboration value)
void SetInstruction(InstructionT &&value)
CreateAgentRequest & WithDescription(DescriptionT &&value)
CreateAgentRequest & WithCustomOrchestration(CustomOrchestrationT &&value)
CreateAgentRequest & WithAgentName(AgentNameT &&value)
CreateAgentRequest & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
CreateAgentRequest & WithFoundationModel(FoundationModelT &&value)
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
CreateAgentRequest & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
void SetTags(TagsT &&value)
CreateAgentRequest & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
CreateAgentRequest & WithOrchestrationType(OrchestrationType value)
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
AgentCollaboration GetAgentCollaboration() const
void SetFoundationModel(FoundationModelT &&value)
void SetCustomOrchestration(CustomOrchestrationT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
CreateAgentRequest & WithMemoryConfiguration(MemoryConfigurationT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetAgentName() const
AWS_BEDROCKAGENT_API CreateAgentRequest()=default
const Aws::String & GetCustomerEncryptionKeyArn() const
CreateAgentRequest & WithClientToken(ClientTokenT &&value)
int GetIdleSessionTTLInSeconds() const
CreateAgentRequest & WithTags(TagsT &&value)
bool CustomOrchestrationHasBeenSet() const
CreateAgentRequest & WithIdleSessionTTLInSeconds(int value)
bool MemoryConfigurationHasBeenSet() const
bool PromptOverrideConfigurationHasBeenSet() const
const Aws::String & GetFoundationModel() const
void SetAgentCollaboration(AgentCollaboration value)
void SetAgentName(AgentNameT &&value)
const MemoryConfiguration & GetMemoryConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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