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/GuardrailConfiguration.h>
13#include <aws/bedrock-agent/model/MemoryConfiguration.h>
14#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
54 inline void SetAgentArn(
const char* value) { m_agentArnHasBeenSet =
true; m_agentArn.assign(value); }
68 inline void SetAgentId(
const char* value) { m_agentIdHasBeenSet =
true; m_agentId.assign(value); }
82 inline void SetAgentName(
const char* value) { m_agentNameHasBeenSet =
true; m_agentName.assign(value); }
97 inline void SetAgentResourceRoleArn(
const char* value) { m_agentResourceRoleArnHasBeenSet =
true; m_agentResourceRoleArn.assign(value); }
130 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
148 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
174 inline void SetCustomerEncryptionKeyArn(
const char* value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn.assign(value); }
188 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
206 inline Agent&
AddFailureReasons(
const char* value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.push_back(value);
return *
this; }
217 inline void SetFoundationModel(
const char* value) { m_foundationModelHasBeenSet =
true; m_foundationModel.assign(value); }
258 inline void SetInstruction(
const char* value) { m_instructionHasBeenSet =
true; m_instruction.assign(value); }
316 inline Agent&
AddRecommendedActions(
const char* value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions.push_back(value);
return *
this; }
333 bool m_agentArnHasBeenSet =
false;
336 bool m_agentIdHasBeenSet =
false;
339 bool m_agentNameHasBeenSet =
false;
342 bool m_agentResourceRoleArnHasBeenSet =
false;
345 bool m_agentStatusHasBeenSet =
false;
348 bool m_agentVersionHasBeenSet =
false;
351 bool m_clientTokenHasBeenSet =
false;
354 bool m_createdAtHasBeenSet =
false;
357 bool m_customerEncryptionKeyArnHasBeenSet =
false;
360 bool m_descriptionHasBeenSet =
false;
363 bool m_failureReasonsHasBeenSet =
false;
366 bool m_foundationModelHasBeenSet =
false;
369 bool m_guardrailConfigurationHasBeenSet =
false;
371 int m_idleSessionTTLInSeconds;
372 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
375 bool m_instructionHasBeenSet =
false;
378 bool m_memoryConfigurationHasBeenSet =
false;
381 bool m_preparedAtHasBeenSet =
false;
384 bool m_promptOverrideConfigurationHasBeenSet =
false;
387 bool m_recommendedActionsHasBeenSet =
false;
390 bool m_updatedAtHasBeenSet =
false;
Agent & WithRecommendedActions(const Aws::Vector< Aws::String > &value)
void SetAgentArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Agent & WithFoundationModel(const Aws::String &value)
Agent & WithCreatedAt(Aws::Utils::DateTime &&value)
bool CustomerEncryptionKeyArnHasBeenSet() const
Agent & WithDescription(const Aws::String &value)
void SetAgentResourceRoleArn(Aws::String &&value)
void SetPreparedAt(const Aws::Utils::DateTime &value)
Agent & WithPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
Agent & WithInstruction(const char *value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
void SetIdleSessionTTLInSeconds(int value)
void SetAgentStatus(AgentStatus &&value)
void SetFoundationModel(Aws::String &&value)
bool FoundationModelHasBeenSet() const
bool AgentIdHasBeenSet() const
Agent & WithUpdatedAt(const Aws::Utils::DateTime &value)
Agent & WithGuardrailConfiguration(GuardrailConfiguration &&value)
Agent & AddFailureReasons(const Aws::String &value)
Agent & AddRecommendedActions(Aws::String &&value)
Agent & WithGuardrailConfiguration(const GuardrailConfiguration &value)
Agent & WithPreparedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetPreparedAt() const
void SetInstruction(Aws::String &&value)
void SetAgentId(const Aws::String &value)
void SetRecommendedActions(const Aws::Vector< Aws::String > &value)
void SetAgentArn(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Agent & WithCreatedAt(const Aws::Utils::DateTime &value)
Agent & WithCustomerEncryptionKeyArn(const Aws::String &value)
void SetAgentId(Aws::String &&value)
bool FailureReasonsHasBeenSet() const
Agent & WithIdleSessionTTLInSeconds(int value)
bool DescriptionHasBeenSet() const
void SetAgentVersion(const Aws::String &value)
Agent & WithMemoryConfiguration(MemoryConfiguration &&value)
int GetIdleSessionTTLInSeconds() const
Agent & WithAgentVersion(const Aws::String &value)
bool AgentStatusHasBeenSet() const
Agent & WithAgentResourceRoleArn(Aws::String &&value)
void SetAgentVersion(const char *value)
void SetClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
Agent & WithFoundationModel(const char *value)
bool AgentNameHasBeenSet() const
Agent & WithCustomerEncryptionKeyArn(Aws::String &&value)
const MemoryConfiguration & GetMemoryConfiguration() const
void SetPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
void SetClientToken(const char *value)
bool AgentResourceRoleArnHasBeenSet() const
void SetInstruction(const char *value)
void SetDescription(const char *value)
const Aws::String & GetClientToken() const
Agent & WithRecommendedActions(Aws::Vector< Aws::String > &&value)
Agent & WithAgentArn(const Aws::String &value)
void SetAgentArn(const char *value)
const Aws::String & GetAgentArn() const
void SetPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
bool PreparedAtHasBeenSet() const
const Aws::String & GetInstruction() const
bool PromptOverrideConfigurationHasBeenSet() const
const Aws::String & GetAgentName() const
Agent & AddRecommendedActions(const char *value)
Agent & WithInstruction(const Aws::String &value)
Agent & WithAgentVersion(const char *value)
const AgentStatus & GetAgentStatus() const
AWS_BEDROCKAGENT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecommendedActionsHasBeenSet() const
Agent & WithDescription(const char *value)
bool ClientTokenHasBeenSet() const
bool UpdatedAtHasBeenSet() const
Agent & WithClientToken(const char *value)
void SetAgentStatus(const AgentStatus &value)
void SetAgentName(Aws::String &&value)
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
Agent & WithAgentResourceRoleArn(const Aws::String &value)
Agent & WithPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
Agent & WithAgentName(const Aws::String &value)
Agent & AddFailureReasons(Aws::String &&value)
const Aws::String & GetDescription() const
Agent & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
Agent & WithClientToken(Aws::String &&value)
bool GuardrailConfigurationHasBeenSet() const
Agent & WithAgentStatus(AgentStatus &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Agent & WithAgentId(const char *value)
Agent & WithCustomerEncryptionKeyArn(const char *value)
void SetPreparedAt(Aws::Utils::DateTime &&value)
bool MemoryConfigurationHasBeenSet() const
void SetFoundationModel(const char *value)
Agent & WithAgentResourceRoleArn(const char *value)
void SetAgentResourceRoleArn(const char *value)
void SetAgentName(const char *value)
const Aws::String & GetAgentVersion() const
AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue)
Agent & WithAgentVersion(Aws::String &&value)
Agent & WithFailureReasons(const Aws::Vector< Aws::String > &value)
void SetMemoryConfiguration(const MemoryConfiguration &value)
const Aws::String & GetAgentResourceRoleArn() const
Agent & WithFailureReasons(Aws::Vector< Aws::String > &&value)
bool CreatedAtHasBeenSet() const
Agent & WithFoundationModel(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool AgentVersionHasBeenSet() const
void SetInstruction(const Aws::String &value)
void SetMemoryConfiguration(MemoryConfiguration &&value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
Agent & WithAgentId(const Aws::String &value)
bool AgentArnHasBeenSet() const
void SetDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetRecommendedActions(Aws::Vector< Aws::String > &&value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
Agent & AddRecommendedActions(const Aws::String &value)
Agent & WithInstruction(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFoundationModel() const
Agent & WithAgentId(Aws::String &&value)
Agent & WithMemoryConfiguration(const MemoryConfiguration &value)
AWS_BEDROCKAGENT_API Agent()
const Aws::Vector< Aws::String > & GetRecommendedActions() const
Agent & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
Agent & WithAgentName(const char *value)
bool InstructionHasBeenSet() const
Agent & WithAgentArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAgentName(const Aws::String &value)
Agent & WithAgentName(Aws::String &&value)
void SetAgentVersion(Aws::String &&value)
Agent & WithClientToken(const Aws::String &value)
Agent & WithAgentStatus(const AgentStatus &value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
void SetAgentId(const char *value)
void SetAgentResourceRoleArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCustomerEncryptionKeyArn(const char *value)
Agent & AddFailureReasons(const char *value)
Agent & WithAgentArn(const char *value)
const Aws::String & GetCustomerEncryptionKeyArn() const
Agent & WithPreparedAt(const Aws::Utils::DateTime &value)
void SetFoundationModel(const Aws::String &value)
bool IdleSessionTTLInSecondsHasBeenSet() const
const Aws::String & GetAgentId() 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