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/GuardrailConfiguration.h>
11#include <aws/bedrock-agent/model/MemoryConfiguration.h>
12#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace BedrockAgent {
47 template <
typename AgentIdT = Aws::String>
49 m_agentIdHasBeenSet =
true;
50 m_agentId = std::forward<AgentIdT>(value);
52 template <
typename AgentIdT = Aws::String>
65 template <
typename AgentNameT = Aws::String>
67 m_agentNameHasBeenSet =
true;
68 m_agentName = std::forward<AgentNameT>(value);
70 template <
typename AgentNameT = Aws::String>
83 template <
typename AgentArnT = Aws::String>
85 m_agentArnHasBeenSet =
true;
86 m_agentArn = std::forward<AgentArnT>(value);
88 template <
typename AgentArnT = Aws::String>
101 template <
typename VersionT = Aws::String>
103 m_versionHasBeenSet =
true;
104 m_version = std::forward<VersionT>(value);
106 template <
typename VersionT = Aws::String>
119 template <
typename InstructionT = Aws::String>
121 m_instructionHasBeenSet =
true;
122 m_instruction = std::forward<InstructionT>(value);
124 template <
typename InstructionT = Aws::String>
138 m_agentStatusHasBeenSet =
true;
139 m_agentStatus = value;
153 template <
typename FoundationModelT = Aws::String>
155 m_foundationModelHasBeenSet =
true;
156 m_foundationModel = std::forward<FoundationModelT>(value);
158 template <
typename FoundationModelT = Aws::String>
171 template <
typename DescriptionT = Aws::String>
173 m_descriptionHasBeenSet =
true;
174 m_description = std::forward<DescriptionT>(value);
176 template <
typename DescriptionT = Aws::String>
194 m_idleSessionTTLInSecondsHasBeenSet =
true;
195 m_idleSessionTTLInSeconds = value;
210 template <
typename AgentResourceRoleArnT = Aws::String>
212 m_agentResourceRoleArnHasBeenSet =
true;
213 m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value);
215 template <
typename AgentResourceRoleArnT = Aws::String>
228 template <
typename CustomerEncryptionKeyArnT = Aws::String>
230 m_customerEncryptionKeyArnHasBeenSet =
true;
231 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
233 template <
typename CustomerEncryptionKeyArnT = Aws::String>
246 template <
typename CreatedAtT = Aws::Utils::DateTime>
248 m_createdAtHasBeenSet =
true;
249 m_createdAt = std::forward<CreatedAtT>(value);
251 template <
typename CreatedAtT = Aws::Utils::DateTime>
264 template <
typename UpdatedAtT = Aws::Utils::DateTime>
266 m_updatedAtHasBeenSet =
true;
267 m_updatedAt = std::forward<UpdatedAtT>(value);
269 template <
typename UpdatedAtT = Aws::Utils::DateTime>
282 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
284 m_failureReasonsHasBeenSet =
true;
285 m_failureReasons = std::forward<FailureReasonsT>(value);
287 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
292 template <
typename FailureReasonsT = Aws::String>
294 m_failureReasonsHasBeenSet =
true;
295 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
307 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
309 m_recommendedActionsHasBeenSet =
true;
310 m_recommendedActions = std::forward<RecommendedActionsT>(value);
312 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
317 template <
typename RecommendedActionsT = Aws::String>
319 m_recommendedActionsHasBeenSet =
true;
320 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
334 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
336 m_promptOverrideConfigurationHasBeenSet =
true;
337 m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value);
339 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
352 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
354 m_guardrailConfigurationHasBeenSet =
true;
355 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
357 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
371 template <
typename MemoryConfigurationT = MemoryConfiguration>
373 m_memoryConfigurationHasBeenSet =
true;
374 m_memoryConfiguration = std::forward<MemoryConfigurationT>(value);
376 template <
typename MemoryConfigurationT = MemoryConfiguration>
390 m_agentCollaborationHasBeenSet =
true;
391 m_agentCollaboration = value;
415 int m_idleSessionTTLInSeconds{0};
429 PromptOverrideConfiguration m_promptOverrideConfiguration;
431 GuardrailConfiguration m_guardrailConfiguration;
433 MemoryConfiguration m_memoryConfiguration;
436 bool m_agentIdHasBeenSet =
false;
437 bool m_agentNameHasBeenSet =
false;
438 bool m_agentArnHasBeenSet =
false;
439 bool m_versionHasBeenSet =
false;
440 bool m_instructionHasBeenSet =
false;
441 bool m_agentStatusHasBeenSet =
false;
442 bool m_foundationModelHasBeenSet =
false;
443 bool m_descriptionHasBeenSet =
false;
444 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
445 bool m_agentResourceRoleArnHasBeenSet =
false;
446 bool m_customerEncryptionKeyArnHasBeenSet =
false;
447 bool m_createdAtHasBeenSet =
false;
448 bool m_updatedAtHasBeenSet =
false;
449 bool m_failureReasonsHasBeenSet =
false;
450 bool m_recommendedActionsHasBeenSet =
false;
451 bool m_promptOverrideConfigurationHasBeenSet =
false;
452 bool m_guardrailConfigurationHasBeenSet =
false;
453 bool m_memoryConfigurationHasBeenSet =
false;
454 bool m_agentCollaborationHasBeenSet =
false;
AgentVersion & WithFailureReasons(FailureReasonsT &&value)
bool AgentIdHasBeenSet() const
AgentVersion & WithFoundationModel(FoundationModelT &&value)
AgentVersion & WithVersion(VersionT &&value)
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
bool FoundationModelHasBeenSet() const
void SetAgentStatus(AgentStatus value)
bool CustomerEncryptionKeyArnHasBeenSet() const
AgentVersion & WithRecommendedActions(RecommendedActionsT &&value)
const Aws::Vector< Aws::String > & GetRecommendedActions() const
const Aws::String & GetAgentResourceRoleArn() const
bool AgentArnHasBeenSet() const
AgentStatus GetAgentStatus() const
bool IdleSessionTTLInSecondsHasBeenSet() const
const Aws::String & GetAgentId() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
AgentVersion & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
const Aws::String & GetInstruction() const
const Aws::String & GetAgentArn() const
bool CreatedAtHasBeenSet() const
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool DescriptionHasBeenSet() const
bool AgentNameHasBeenSet() const
const Aws::String & GetAgentName() const
bool PromptOverrideConfigurationHasBeenSet() const
void SetMemoryConfiguration(MemoryConfigurationT &&value)
bool AgentStatusHasBeenSet() const
void SetAgentName(AgentNameT &&value)
void SetInstruction(InstructionT &&value)
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
void SetFoundationModel(FoundationModelT &&value)
AWS_BEDROCKAGENT_API AgentVersion(Aws::Utils::Json::JsonView jsonValue)
void SetAgentId(AgentIdT &&value)
void SetDescription(DescriptionT &&value)
int GetIdleSessionTTLInSeconds() const
void SetVersion(VersionT &&value)
bool VersionHasBeenSet() const
AgentVersion & WithMemoryConfiguration(MemoryConfigurationT &&value)
AgentVersion & WithInstruction(InstructionT &&value)
AgentVersion & WithAgentCollaboration(AgentCollaboration value)
bool AgentResourceRoleArnHasBeenSet() const
void SetRecommendedActions(RecommendedActionsT &&value)
bool MemoryConfigurationHasBeenSet() const
bool AgentCollaborationHasBeenSet() const
void SetAgentArn(AgentArnT &&value)
AgentVersion & AddFailureReasons(FailureReasonsT &&value)
void SetIdleSessionTTLInSeconds(int value)
const Aws::String & GetDescription() const
AgentVersion & AddRecommendedActions(RecommendedActionsT &&value)
AgentCollaboration GetAgentCollaboration() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetFailureReasons(FailureReasonsT &&value)
AWS_BEDROCKAGENT_API AgentVersion()=default
void SetCreatedAt(CreatedAtT &&value)
bool GuardrailConfigurationHasBeenSet() const
AgentVersion & WithAgentArn(AgentArnT &&value)
AgentVersion & WithAgentStatus(AgentStatus value)
void SetAgentCollaboration(AgentCollaboration value)
AgentVersion & WithUpdatedAt(UpdatedAtT &&value)
AgentVersion & WithAgentId(AgentIdT &&value)
bool FailureReasonsHasBeenSet() const
AgentVersion & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
AgentVersion & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetVersion() const
AWS_BEDROCKAGENT_API AgentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFoundationModel() const
const MemoryConfiguration & GetMemoryConfiguration() const
AgentVersion & WithCreatedAt(CreatedAtT &&value)
AgentVersion & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
AgentVersion & WithAgentName(AgentNameT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
AgentVersion & WithIdleSessionTTLInSeconds(int value)
bool InstructionHasBeenSet() const
bool RecommendedActionsHasBeenSet() const
const GuardrailConfiguration & GetGuardrailConfiguration() const
const Aws::String & GetCustomerEncryptionKeyArn() const
AgentVersion & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
bool UpdatedAtHasBeenSet() 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