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>
16#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/UUID.h>
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 AgentResourceRoleArnT = Aws::String>
73 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
74 template<
typename AgentResourceRoleArnT = Aws::String>
88 template<
typename ClientTokenT = Aws::String>
89 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
90 template<
typename ClientTokenT = Aws::String>
100 template<
typename CustomOrchestrationT = CustomOrchestration>
101 void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet =
true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
102 template<
typename CustomOrchestrationT = CustomOrchestration>
113 template<
typename CustomerEncryptionKeyArnT = Aws::String>
114 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
115 template<
typename CustomerEncryptionKeyArnT = Aws::String>
125 template<
typename DescriptionT = Aws::String>
126 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
127 template<
typename DescriptionT = Aws::String>
162 template<
typename FoundationModelT = Aws::String>
163 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
164 template<
typename FoundationModelT = Aws::String>
175 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
176 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
177 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
202 template<
typename InstructionT = Aws::String>
203 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
204 template<
typename InstructionT = Aws::String>
214 template<
typename MemoryConfigurationT = MemoryConfiguration>
215 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet =
true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
216 template<
typename MemoryConfigurationT = MemoryConfiguration>
240 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
241 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
242 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
252 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
253 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
254 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
256 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
258 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
264 bool m_agentCollaborationHasBeenSet =
false;
267 bool m_agentNameHasBeenSet =
false;
270 bool m_agentResourceRoleArnHasBeenSet =
false;
273 bool m_clientTokenHasBeenSet =
true;
275 CustomOrchestration m_customOrchestration;
276 bool m_customOrchestrationHasBeenSet =
false;
279 bool m_customerEncryptionKeyArnHasBeenSet =
false;
282 bool m_descriptionHasBeenSet =
false;
285 bool m_foundationModelHasBeenSet =
false;
287 GuardrailConfiguration m_guardrailConfiguration;
288 bool m_guardrailConfigurationHasBeenSet =
false;
290 int m_idleSessionTTLInSeconds{0};
291 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
294 bool m_instructionHasBeenSet =
false;
296 MemoryConfiguration m_memoryConfiguration;
297 bool m_memoryConfigurationHasBeenSet =
false;
300 bool m_orchestrationTypeHasBeenSet =
false;
302 PromptOverrideConfiguration m_promptOverrideConfiguration;
303 bool m_promptOverrideConfigurationHasBeenSet =
false;
306 bool m_tagsHasBeenSet =
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