7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgentActionGroup.h>
9#include <aws/bedrock-agent-runtime/model/AgentCollaboration.h>
10#include <aws/bedrock-agent-runtime/model/CollaboratorConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/GuardrailConfigurationWithArn.h>
12#include <aws/bedrock-agent-runtime/model/KnowledgeBase.h>
13#include <aws/bedrock-agent-runtime/model/PromptOverrideConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace BedrockAgentRuntime {
48 template <
typename ActionGroupsT = Aws::Vector<AgentActionGroup>>
50 m_actionGroupsHasBeenSet =
true;
51 m_actionGroups = std::forward<ActionGroupsT>(value);
53 template <
typename ActionGroupsT = Aws::Vector<AgentActionGroup>>
58 template <
typename ActionGroupsT = AgentActionGroup>
60 m_actionGroupsHasBeenSet =
true;
61 m_actionGroups.emplace_back(std::forward<ActionGroupsT>(value));
74 m_agentCollaborationHasBeenSet =
true;
75 m_agentCollaboration = value;
90 template <
typename AgentNameT = Aws::String>
92 m_agentNameHasBeenSet =
true;
93 m_agentName = std::forward<AgentNameT>(value);
95 template <
typename AgentNameT = Aws::String>
108 template <
typename CollaboratorConfigurationsT = Aws::Vector<CollaboratorConfiguration>>
110 m_collaboratorConfigurationsHasBeenSet =
true;
111 m_collaboratorConfigurations = std::forward<CollaboratorConfigurationsT>(value);
113 template <
typename CollaboratorConfigurationsT = Aws::Vector<CollaboratorConfiguration>>
118 template <
typename CollaboratorConfigurationsT = CollaboratorConfiguration>
120 m_collaboratorConfigurationsHasBeenSet =
true;
121 m_collaboratorConfigurations.emplace_back(std::forward<CollaboratorConfigurationsT>(value));
133 template <
typename CustomerEncryptionKeyArnT = Aws::String>
135 m_customerEncryptionKeyArnHasBeenSet =
true;
136 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
138 template <
typename CustomerEncryptionKeyArnT = Aws::String>
151 template <
typename FoundationModelT = Aws::String>
153 m_foundationModelHasBeenSet =
true;
154 m_foundationModel = std::forward<FoundationModelT>(value);
156 template <
typename FoundationModelT = Aws::String>
169 template <
typename GuardrailConfigurationT = GuardrailConfigurationWithArn>
171 m_guardrailConfigurationHasBeenSet =
true;
172 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
174 template <
typename GuardrailConfigurationT = GuardrailConfigurationWithArn>
192 m_idleSessionTTLInSecondsHasBeenSet =
true;
193 m_idleSessionTTLInSeconds = value;
208 template <
typename InstructionT = Aws::String>
210 m_instructionHasBeenSet =
true;
211 m_instruction = std::forward<InstructionT>(value);
213 template <
typename InstructionT = Aws::String>
226 template <
typename KnowledgeBasesT = Aws::Vector<KnowledgeBase>>
228 m_knowledgeBasesHasBeenSet =
true;
229 m_knowledgeBases = std::forward<KnowledgeBasesT>(value);
231 template <
typename KnowledgeBasesT = Aws::Vector<KnowledgeBase>>
236 template <
typename KnowledgeBasesT = KnowledgeBase>
238 m_knowledgeBasesHasBeenSet =
true;
239 m_knowledgeBases.emplace_back(std::forward<KnowledgeBasesT>(value));
253 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
255 m_promptOverrideConfigurationHasBeenSet =
true;
256 m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value);
258 template <
typename PromptOverr
ideConfigurationT = PromptOverr
ideConfiguration>
277 GuardrailConfigurationWithArn m_guardrailConfiguration;
279 int m_idleSessionTTLInSeconds{0};
285 PromptOverrideConfiguration m_promptOverrideConfiguration;
286 bool m_actionGroupsHasBeenSet =
false;
287 bool m_agentCollaborationHasBeenSet =
false;
288 bool m_agentNameHasBeenSet =
false;
289 bool m_collaboratorConfigurationsHasBeenSet =
false;
290 bool m_customerEncryptionKeyArnHasBeenSet =
false;
291 bool m_foundationModelHasBeenSet =
false;
292 bool m_guardrailConfigurationHasBeenSet =
false;
293 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
294 bool m_instructionHasBeenSet =
false;
295 bool m_knowledgeBasesHasBeenSet =
false;
296 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::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