7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/AgentCollaboration.h>
10#include <aws/bedrock-agent/model/AgentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
14#include <aws/bedrock-agent/model/MemoryConfiguration.h>
15#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
53 template<
typename AgentArnT = Aws::String>
54 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet =
true; m_agentArn = std::forward<AgentArnT>(value); }
55 template<
typename AgentArnT = Aws::String>
75 template<
typename AgentIdT = Aws::String>
76 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
77 template<
typename AgentIdT = Aws::String>
87 template<
typename AgentNameT = Aws::String>
88 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
89 template<
typename AgentNameT = Aws::String>
100 template<
typename AgentResourceRoleArnT = Aws::String>
101 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
102 template<
typename AgentResourceRoleArnT = Aws::String>
122 template<
typename CreatedAtT = Aws::Utils::DateTime>
123 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
124 template<
typename CreatedAtT = Aws::Utils::DateTime>
134 template<
typename CustomerEncryptionKeyArnT = Aws::String>
135 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
136 template<
typename CustomerEncryptionKeyArnT = Aws::String>
146 template<
typename DescriptionT = Aws::String>
147 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
148 template<
typename DescriptionT = Aws::String>
158 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
159 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
160 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
162 template<
typename FailureReasonsT = Aws::String>
163 AgentVersion&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
172 template<
typename FoundationModelT = Aws::String>
173 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
174 template<
typename FoundationModelT = Aws::String>
184 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
185 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
186 template<
typename GuardrailConfigurationT = GuardrailConfiguration>
210 template<
typename InstructionT = Aws::String>
211 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
212 template<
typename InstructionT = Aws::String>
223 template<
typename MemoryConfigurationT = MemoryConfiguration>
224 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet =
true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
225 template<
typename MemoryConfigurationT = MemoryConfiguration>
238 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
239 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
240 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
251 template<
typename RecommendedActionsT = Aws::Vector<Aws::String>>
252 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
253 template<
typename RecommendedActionsT = Aws::Vector<Aws::String>>
255 template<
typename RecommendedActionsT = Aws::String>
256 AgentVersion&
AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
return *
this; }
265 template<
typename UpdatedAtT = Aws::Utils::DateTime>
266 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
267 template<
typename UpdatedAtT = Aws::Utils::DateTime>
277 template<
typename VersionT = Aws::String>
278 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
279 template<
typename VersionT = Aws::String>
285 bool m_agentArnHasBeenSet =
false;
288 bool m_agentCollaborationHasBeenSet =
false;
291 bool m_agentIdHasBeenSet =
false;
294 bool m_agentNameHasBeenSet =
false;
297 bool m_agentResourceRoleArnHasBeenSet =
false;
300 bool m_agentStatusHasBeenSet =
false;
303 bool m_createdAtHasBeenSet =
false;
306 bool m_customerEncryptionKeyArnHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
312 bool m_failureReasonsHasBeenSet =
false;
315 bool m_foundationModelHasBeenSet =
false;
317 GuardrailConfiguration m_guardrailConfiguration;
318 bool m_guardrailConfigurationHasBeenSet =
false;
320 int m_idleSessionTTLInSeconds{0};
321 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
324 bool m_instructionHasBeenSet =
false;
326 MemoryConfiguration m_memoryConfiguration;
327 bool m_memoryConfigurationHasBeenSet =
false;
329 PromptOverrideConfiguration m_promptOverrideConfiguration;
330 bool m_promptOverrideConfigurationHasBeenSet =
false;
333 bool m_recommendedActionsHasBeenSet =
false;
336 bool m_updatedAtHasBeenSet =
false;
339 bool m_versionHasBeenSet =
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