7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentCollaboration.h>
9#include <aws/bedrock-agent/model/AgentStatus.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/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
28namespace BedrockAgent {
38 AWS_BEDROCKAGENT_API
Agent() =
default;
49 template <
typename AgentIdT = Aws::String>
51 m_agentIdHasBeenSet =
true;
52 m_agentId = std::forward<AgentIdT>(value);
54 template <
typename AgentIdT = Aws::String>
67 template <
typename AgentNameT = Aws::String>
69 m_agentNameHasBeenSet =
true;
70 m_agentName = std::forward<AgentNameT>(value);
72 template <
typename AgentNameT = Aws::String>
85 template <
typename AgentArnT = Aws::String>
87 m_agentArnHasBeenSet =
true;
88 m_agentArn = std::forward<AgentArnT>(value);
90 template <
typename AgentArnT = Aws::String>
103 template <
typename AgentVersionT = Aws::String>
105 m_agentVersionHasBeenSet =
true;
106 m_agentVersion = std::forward<AgentVersionT>(value);
108 template <
typename AgentVersionT = Aws::String>
125 template <
typename ClientTokenT = Aws::String>
127 m_clientTokenHasBeenSet =
true;
128 m_clientToken = std::forward<ClientTokenT>(value);
130 template <
typename ClientTokenT = Aws::String>
144 template <
typename InstructionT = Aws::String>
146 m_instructionHasBeenSet =
true;
147 m_instruction = std::forward<InstructionT>(value);
149 template <
typename InstructionT = Aws::String>
170 m_agentStatusHasBeenSet =
true;
171 m_agentStatus = value;
185 template <
typename FoundationModelT = Aws::String>
187 m_foundationModelHasBeenSet =
true;
188 m_foundationModel = std::forward<FoundationModelT>(value);
190 template <
typename FoundationModelT = Aws::String>
203 template <
typename DescriptionT = Aws::String>
205 m_descriptionHasBeenSet =
true;
206 m_description = std::forward<DescriptionT>(value);
208 template <
typename DescriptionT = Aws::String>
222 m_orchestrationTypeHasBeenSet =
true;
223 m_orchestrationType = value;
237 template <
typename CustomOrchestrationT = CustomOrchestration>
239 m_customOrchestrationHasBeenSet =
true;
240 m_customOrchestration = std::forward<CustomOrchestrationT>(value);
242 template <
typename CustomOrchestrationT = CustomOrchestration>
260 m_idleSessionTTLInSecondsHasBeenSet =
true;
261 m_idleSessionTTLInSeconds = value;
276 template <
typename AgentResourceRoleArnT = Aws::String>
278 m_agentResourceRoleArnHasBeenSet =
true;
279 m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value);
281 template <
typename AgentResourceRoleArnT = Aws::String>
294 template <
typename CustomerEncryptionKeyArnT = Aws::String>
296 m_customerEncryptionKeyArnHasBeenSet =
true;
297 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
299 template <
typename CustomerEncryptionKeyArnT = Aws::String>
312 template <
typename CreatedAtT = Aws::Utils::DateTime>
314 m_createdAtHasBeenSet =
true;
315 m_createdAt = std::forward<CreatedAtT>(value);
317 template <
typename CreatedAtT = Aws::Utils::DateTime>
330 template <
typename UpdatedAtT = Aws::Utils::DateTime>
332 m_updatedAtHasBeenSet =
true;
333 m_updatedAt = std::forward<UpdatedAtT>(value);
335 template <
typename UpdatedAtT = Aws::Utils::DateTime>
348 template <
typename PreparedAtT = Aws::Utils::DateTime>
350 m_preparedAtHasBeenSet =
true;
351 m_preparedAt = std::forward<PreparedAtT>(value);
353 template <
typename PreparedAtT = Aws::Utils::DateTime>
366 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
368 m_failureReasonsHasBeenSet =
true;
369 m_failureReasons = std::forward<FailureReasonsT>(value);
371 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
376 template <
typename FailureReasonsT = Aws::String>
378 m_failureReasonsHasBeenSet =
true;
379 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
391 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
393 m_recommendedActionsHasBeenSet =
true;
394 m_recommendedActions = std::forward<RecommendedActionsT>(value);
396 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
401 template <
typename RecommendedActionsT = Aws::String>
403 m_recommendedActionsHasBeenSet =
true;
404 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
418 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
420 m_promptOverrideConfigurationHasBeenSet =
true;
421 m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value);
423 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
436 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
438 m_guardrailConfigurationHasBeenSet =
true;
439 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
441 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
454 template <
typename MemoryConfigurationT = MemoryConfiguration>
456 m_memoryConfigurationHasBeenSet =
true;
457 m_memoryConfiguration = std::forward<MemoryConfigurationT>(value);
459 template <
typename MemoryConfigurationT = MemoryConfiguration>
473 m_agentCollaborationHasBeenSet =
true;
474 m_agentCollaboration = value;
502 CustomOrchestration m_customOrchestration;
504 int m_idleSessionTTLInSeconds{0};
520 PromptOverrideConfiguration m_promptOverrideConfiguration;
522 GuardrailConfiguration m_guardrailConfiguration;
524 MemoryConfiguration m_memoryConfiguration;
527 bool m_agentIdHasBeenSet =
false;
528 bool m_agentNameHasBeenSet =
false;
529 bool m_agentArnHasBeenSet =
false;
530 bool m_agentVersionHasBeenSet =
false;
531 bool m_clientTokenHasBeenSet =
false;
532 bool m_instructionHasBeenSet =
false;
533 bool m_agentStatusHasBeenSet =
false;
534 bool m_foundationModelHasBeenSet =
false;
535 bool m_descriptionHasBeenSet =
false;
536 bool m_orchestrationTypeHasBeenSet =
false;
537 bool m_customOrchestrationHasBeenSet =
false;
538 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
539 bool m_agentResourceRoleArnHasBeenSet =
false;
540 bool m_customerEncryptionKeyArnHasBeenSet =
false;
541 bool m_createdAtHasBeenSet =
false;
542 bool m_updatedAtHasBeenSet =
false;
543 bool m_preparedAtHasBeenSet =
false;
544 bool m_failureReasonsHasBeenSet =
false;
545 bool m_recommendedActionsHasBeenSet =
false;
546 bool m_promptOverrideConfigurationHasBeenSet =
false;
547 bool m_guardrailConfigurationHasBeenSet =
false;
548 bool m_memoryConfigurationHasBeenSet =
false;
549 bool m_agentCollaborationHasBeenSet =
false;
bool CustomerEncryptionKeyArnHasBeenSet() const
const GuardrailConfiguration & GetGuardrailConfiguration() const
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
void SetIdleSessionTTLInSeconds(int value)
bool FoundationModelHasBeenSet() const
bool AgentIdHasBeenSet() const
bool OrchestrationTypeHasBeenSet() const
Agent & WithInstruction(InstructionT &&value)
Agent & AddFailureReasons(FailureReasonsT &&value)
Agent & WithAgentArn(AgentArnT &&value)
Agent & WithFoundationModel(FoundationModelT &&value)
const Aws::Utils::DateTime & GetPreparedAt() const
Agent & WithAgentCollaboration(AgentCollaboration value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API Agent()=default
OrchestrationType GetOrchestrationType() const
void SetMemoryConfiguration(MemoryConfigurationT &&value)
Agent & WithCreatedAt(CreatedAtT &&value)
bool FailureReasonsHasBeenSet() const
void SetAgentVersion(AgentVersionT &&value)
Agent & WithIdleSessionTTLInSeconds(int value)
bool DescriptionHasBeenSet() const
bool AgentCollaborationHasBeenSet() const
int GetIdleSessionTTLInSeconds() const
bool AgentStatusHasBeenSet() const
void SetRecommendedActions(RecommendedActionsT &&value)
bool AgentNameHasBeenSet() const
Agent & WithRecommendedActions(RecommendedActionsT &&value)
const MemoryConfiguration & GetMemoryConfiguration() const
Agent & WithAgentStatus(AgentStatus value)
Agent & WithClientToken(ClientTokenT &&value)
bool AgentResourceRoleArnHasBeenSet() const
void SetFailureReasons(FailureReasonsT &&value)
const Aws::String & GetClientToken() const
Agent & WithDescription(DescriptionT &&value)
Agent & WithOrchestrationType(OrchestrationType value)
const Aws::String & GetAgentArn() const
void SetCustomOrchestration(CustomOrchestrationT &&value)
void SetDescription(DescriptionT &&value)
bool PreparedAtHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetInstruction() const
bool PromptOverrideConfigurationHasBeenSet() const
const Aws::String & GetAgentName() const
Agent & WithAgentName(AgentNameT &&value)
AWS_BEDROCKAGENT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentName(AgentNameT &&value)
Agent & WithAgentVersion(AgentVersionT &&value)
bool RecommendedActionsHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
bool UpdatedAtHasBeenSet() const
void SetAgentArn(AgentArnT &&value)
Agent & WithAgentId(AgentIdT &&value)
Agent & WithMemoryConfiguration(MemoryConfigurationT &&value)
void SetOrchestrationType(OrchestrationType value)
void SetCreatedAt(CreatedAtT &&value)
Agent & WithPreparedAt(PreparedAtT &&value)
const Aws::String & GetDescription() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Agent & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
void SetPreparedAt(PreparedAtT &&value)
Agent & WithCustomOrchestration(CustomOrchestrationT &&value)
bool GuardrailConfigurationHasBeenSet() const
AgentCollaboration GetAgentCollaboration() const
Agent & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
void SetAgentCollaboration(AgentCollaboration value)
const CustomOrchestration & GetCustomOrchestration() const
void SetClientToken(ClientTokenT &&value)
bool MemoryConfigurationHasBeenSet() const
void SetAgentStatus(AgentStatus value)
AgentStatus GetAgentStatus() const
const Aws::String & GetAgentVersion() const
AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAgentResourceRoleArn() const
Agent & WithUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool AgentVersionHasBeenSet() const
bool AgentArnHasBeenSet() const
Agent & WithFailureReasons(FailureReasonsT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
const Aws::String & GetFoundationModel() const
const Aws::Vector< Aws::String > & GetRecommendedActions() const
void SetFoundationModel(FoundationModelT &&value)
Agent & AddRecommendedActions(RecommendedActionsT &&value)
bool InstructionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
Agent & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Agent & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
void SetInstruction(InstructionT &&value)
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
void SetAgentId(AgentIdT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
bool CustomOrchestrationHasBeenSet() const
bool IdleSessionTTLInSecondsHasBeenSet() const
const Aws::String & GetAgentId() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue