7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/AgentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
13#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
14#include <aws/bedrock-agent/model/MemoryConfiguration.h>
15#include <aws/bedrock-agent/model/AgentCollaboration.h>
53 template<
typename AgentIdT = Aws::String>
54 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
55 template<
typename AgentIdT = Aws::String>
65 template<
typename AgentNameT = Aws::String>
66 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
67 template<
typename AgentNameT = Aws::String>
77 template<
typename AgentArnT = Aws::String>
78 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet =
true; m_agentArn = std::forward<AgentArnT>(value); }
79 template<
typename AgentArnT = Aws::String>
89 template<
typename VersionT = Aws::String>
90 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
91 template<
typename VersionT = Aws::String>
101 template<
typename InstructionT = Aws::String>
102 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
103 template<
typename InstructionT = Aws::String>
123 template<
typename FoundationModelT = Aws::String>
124 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
125 template<
typename FoundationModelT = Aws::String>
135 template<
typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
137 template<
typename DescriptionT = Aws::String>
162 template<
typename AgentResourceRoleArnT = Aws::String>
163 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
164 template<
typename AgentResourceRoleArnT = Aws::String>
174 template<
typename CustomerEncryptionKeyArnT = Aws::String>
175 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
176 template<
typename CustomerEncryptionKeyArnT = Aws::String>
186 template<
typename CreatedAtT = Aws::Utils::DateTime>
187 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
188 template<
typename CreatedAtT = Aws::Utils::DateTime>
198 template<
typename UpdatedAtT = Aws::Utils::DateTime>
199 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
200 template<
typename UpdatedAtT = Aws::Utils::DateTime>
210 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
211 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
212 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
214 template<
typename FailureReasonsT = Aws::String>
215 AgentVersion&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
225 template<
typename RecommendedActionsT = Aws::Vector<Aws::String>>
226 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
227 template<
typename RecommendedActionsT = Aws::Vector<Aws::String>>
229 template<
typename RecommendedActionsT = Aws::String>
230 AgentVersion&
AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
return *
this; }
242 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
243 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
244 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
254 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
255 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
256 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
267 template<
typename MemoryConfigurationT = MemoryConfiguration>
268 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet =
true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
269 template<
typename MemoryConfigurationT = MemoryConfiguration>
285 bool m_agentIdHasBeenSet =
false;
288 bool m_agentNameHasBeenSet =
false;
291 bool m_agentArnHasBeenSet =
false;
294 bool m_versionHasBeenSet =
false;
297 bool m_instructionHasBeenSet =
false;
300 bool m_agentStatusHasBeenSet =
false;
303 bool m_foundationModelHasBeenSet =
false;
306 bool m_descriptionHasBeenSet =
false;
308 int m_idleSessionTTLInSeconds{0};
309 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
312 bool m_agentResourceRoleArnHasBeenSet =
false;
315 bool m_customerEncryptionKeyArnHasBeenSet =
false;
318 bool m_createdAtHasBeenSet =
false;
321 bool m_updatedAtHasBeenSet =
false;
324 bool m_failureReasonsHasBeenSet =
false;
327 bool m_recommendedActionsHasBeenSet =
false;
329 PromptOverrideConfiguration m_promptOverrideConfiguration;
330 bool m_promptOverrideConfigurationHasBeenSet =
false;
332 GuardrailConfiguration m_guardrailConfiguration;
333 bool m_guardrailConfigurationHasBeenSet =
false;
335 MemoryConfiguration m_memoryConfiguration;
336 bool m_memoryConfigurationHasBeenSet =
false;
339 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue