7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/AgentCollaboration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent-runtime/model/GuardrailConfigurationWithArn.h>
12#include <aws/bedrock-agent-runtime/model/PromptOverrideConfiguration.h>
13#include <aws/bedrock-agent-runtime/model/AgentActionGroup.h>
14#include <aws/bedrock-agent-runtime/model/CollaboratorConfiguration.h>
15#include <aws/bedrock-agent-runtime/model/KnowledgeBase.h>
28namespace BedrockAgentRuntime
54 template<
typename ActionGroupsT = Aws::Vector<AgentActionGroup>>
55 void SetActionGroups(ActionGroupsT&& value) { m_actionGroupsHasBeenSet =
true; m_actionGroups = std::forward<ActionGroupsT>(value); }
56 template<
typename ActionGroupsT = Aws::Vector<AgentActionGroup>>
58 template<
typename ActionGroupsT = AgentActionGroup>
59 Collaborator&
AddActionGroups(ActionGroupsT&& value) { m_actionGroupsHasBeenSet =
true; m_actionGroups.emplace_back(std::forward<ActionGroupsT>(value));
return *
this; }
80 template<
typename AgentNameT = Aws::String>
81 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
82 template<
typename AgentNameT = Aws::String>
92 template<
typename CollaboratorConfigurationsT = Aws::Vector<CollaboratorConfiguration>>
93 void SetCollaboratorConfigurations(CollaboratorConfigurationsT&& value) { m_collaboratorConfigurationsHasBeenSet =
true; m_collaboratorConfigurations = std::forward<CollaboratorConfigurationsT>(value); }
94 template<
typename CollaboratorConfigurationsT = Aws::Vector<CollaboratorConfiguration>>
96 template<
typename CollaboratorConfigurationsT = CollaboratorConfiguration>
97 Collaborator&
AddCollaboratorConfigurations(CollaboratorConfigurationsT&& value) { m_collaboratorConfigurationsHasBeenSet =
true; m_collaboratorConfigurations.emplace_back(std::forward<CollaboratorConfigurationsT>(value));
return *
this; }
107 template<
typename CustomerEncryptionKeyArnT = Aws::String>
108 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
109 template<
typename CustomerEncryptionKeyArnT = Aws::String>
119 template<
typename FoundationModelT = Aws::String>
120 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
121 template<
typename FoundationModelT = Aws::String>
131 template<
typename GuardrailConfigurationT = GuardrailConfigurationWithArn>
132 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet =
true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
133 template<
typename GuardrailConfigurationT = GuardrailConfigurationWithArn>
158 template<
typename InstructionT = Aws::String>
159 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet =
true; m_instruction = std::forward<InstructionT>(value); }
160 template<
typename InstructionT = Aws::String>
170 template<
typename KnowledgeBasesT = Aws::Vector<KnowledgeBase>>
171 void SetKnowledgeBases(KnowledgeBasesT&& value) { m_knowledgeBasesHasBeenSet =
true; m_knowledgeBases = std::forward<KnowledgeBasesT>(value); }
172 template<
typename KnowledgeBasesT = Aws::Vector<KnowledgeBase>>
174 template<
typename KnowledgeBasesT = KnowledgeBase>
175 Collaborator&
AddKnowledgeBases(KnowledgeBasesT&& value) { m_knowledgeBasesHasBeenSet =
true; m_knowledgeBases.emplace_back(std::forward<KnowledgeBasesT>(value));
return *
this; }
187 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
188 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet =
true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
189 template<
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
195 bool m_actionGroupsHasBeenSet =
false;
198 bool m_agentCollaborationHasBeenSet =
false;
201 bool m_agentNameHasBeenSet =
false;
204 bool m_collaboratorConfigurationsHasBeenSet =
false;
207 bool m_customerEncryptionKeyArnHasBeenSet =
false;
210 bool m_foundationModelHasBeenSet =
false;
212 GuardrailConfigurationWithArn m_guardrailConfiguration;
213 bool m_guardrailConfigurationHasBeenSet =
false;
215 int m_idleSessionTTLInSeconds{0};
216 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
219 bool m_instructionHasBeenSet =
false;
222 bool m_knowledgeBasesHasBeenSet =
false;
224 PromptOverrideConfiguration m_promptOverrideConfiguration;
225 bool m_promptOverrideConfigurationHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Collaborator()=default
void SetAgentCollaboration(AgentCollaboration value)
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
const GuardrailConfigurationWithArn & GetGuardrailConfiguration() const
bool AgentNameHasBeenSet() const
bool IdleSessionTTLInSecondsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Collaborator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionGroups(ActionGroupsT &&value)
bool CustomerEncryptionKeyArnHasBeenSet() const
Collaborator & WithAgentCollaboration(AgentCollaboration value)
void SetIdleSessionTTLInSeconds(int value)
const Aws::Vector< CollaboratorConfiguration > & GetCollaboratorConfigurations() const
Collaborator & WithKnowledgeBases(KnowledgeBasesT &&value)
bool FoundationModelHasBeenSet() const
void SetKnowledgeBases(KnowledgeBasesT &&value)
Collaborator & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
int GetIdleSessionTTLInSeconds() const
Collaborator & AddKnowledgeBases(KnowledgeBasesT &&value)
const Aws::Vector< AgentActionGroup > & GetActionGroups() const
Collaborator & AddActionGroups(ActionGroupsT &&value)
const Aws::String & GetAgentName() const
const Aws::Vector< KnowledgeBase > & GetKnowledgeBases() const
Collaborator & WithAgentName(AgentNameT &&value)
bool ActionGroupsHasBeenSet() const
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
bool CollaboratorConfigurationsHasBeenSet() const
bool InstructionHasBeenSet() const
Collaborator & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API Collaborator(Aws::Utils::Json::JsonView jsonValue)
void SetCollaboratorConfigurations(CollaboratorConfigurationsT &&value)
void SetAgentName(AgentNameT &&value)
void SetFoundationModel(FoundationModelT &&value)
bool KnowledgeBasesHasBeenSet() const
void SetInstruction(InstructionT &&value)
Collaborator & AddCollaboratorConfigurations(CollaboratorConfigurationsT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool GuardrailConfigurationHasBeenSet() const
Collaborator & WithActionGroups(ActionGroupsT &&value)
Collaborator & WithFoundationModel(FoundationModelT &&value)
Collaborator & WithInstruction(InstructionT &&value)
const Aws::String & GetFoundationModel() const
Collaborator & WithCollaboratorConfigurations(CollaboratorConfigurationsT &&value)
AgentCollaboration GetAgentCollaboration() const
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
Collaborator & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
const Aws::String & GetInstruction() const
const Aws::String & GetCustomerEncryptionKeyArn() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
bool AgentCollaborationHasBeenSet() const
bool PromptOverrideConfigurationHasBeenSet() const
Collaborator & WithIdleSessionTTLInSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue