7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/KnowledgeBaseState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace BedrockAgent {
39 template <
typename AgentIdT = Aws::String>
41 m_agentIdHasBeenSet =
true;
42 m_agentId = std::forward<AgentIdT>(value);
44 template <
typename AgentIdT = Aws::String>
58 template <
typename AgentVersionT = Aws::String>
60 m_agentVersionHasBeenSet =
true;
61 m_agentVersion = std::forward<AgentVersionT>(value);
63 template <
typename AgentVersionT = Aws::String>
76 template <
typename KnowledgeBaseIdT = Aws::String>
78 m_knowledgeBaseIdHasBeenSet =
true;
79 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
81 template <
typename KnowledgeBaseIdT = Aws::String>
94 template <
typename DescriptionT = Aws::String>
96 m_descriptionHasBeenSet =
true;
97 m_description = std::forward<DescriptionT>(value);
99 template <
typename DescriptionT = Aws::String>
115 m_knowledgeBaseStateHasBeenSet =
true;
116 m_knowledgeBaseState = value;
133 bool m_agentIdHasBeenSet =
false;
134 bool m_agentVersionHasBeenSet =
false;
135 bool m_knowledgeBaseIdHasBeenSet =
false;
136 bool m_descriptionHasBeenSet =
false;
137 bool m_knowledgeBaseStateHasBeenSet =
false;
void SetAgentVersion(AgentVersionT &&value)
bool AgentVersionHasBeenSet() const
AssociateAgentKnowledgeBaseRequest & WithAgentId(AgentIdT &&value)
const Aws::String & GetAgentId() const
bool KnowledgeBaseIdHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
AssociateAgentKnowledgeBaseRequest & WithAgentVersion(AgentVersionT &&value)
const Aws::String & GetAgentVersion() const
bool KnowledgeBaseStateHasBeenSet() const
AWS_BEDROCKAGENT_API AssociateAgentKnowledgeBaseRequest()=default
bool AgentIdHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetKnowledgeBaseState(KnowledgeBaseState value)
void SetDescription(DescriptionT &&value)
KnowledgeBaseState GetKnowledgeBaseState() const
AssociateAgentKnowledgeBaseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetAgentId(AgentIdT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetDescription() const
AssociateAgentKnowledgeBaseRequest & WithKnowledgeBaseState(KnowledgeBaseState value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
AssociateAgentKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String