AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateAgentKnowledgeBaseRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace BedrockAgent
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateAgentKnowledgeBase"; }
31
32 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAgentId() const{ return m_agentId; }
41 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
42 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
43 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
44 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
45 inline DisassociateAgentKnowledgeBaseRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
46 inline DisassociateAgentKnowledgeBaseRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
47 inline DisassociateAgentKnowledgeBaseRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
49
51
54 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
55 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
56 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
57 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
58 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
60 inline DisassociateAgentKnowledgeBaseRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
61 inline DisassociateAgentKnowledgeBaseRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
63
65
68 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
69 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
70 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
71 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
72 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
75 inline DisassociateAgentKnowledgeBaseRequest& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
77 private:
78
79 Aws::String m_agentId;
80 bool m_agentIdHasBeenSet = false;
81
82 Aws::String m_agentVersion;
83 bool m_agentVersionHasBeenSet = false;
84
85 Aws::String m_knowledgeBaseId;
86 bool m_knowledgeBaseIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace BedrockAgent
91} // namespace Aws
DisassociateAgentKnowledgeBaseRequest & WithAgentId(Aws::String &&value)
DisassociateAgentKnowledgeBaseRequest & WithKnowledgeBaseId(Aws::String &&value)
DisassociateAgentKnowledgeBaseRequest & WithAgentVersion(Aws::String &&value)
DisassociateAgentKnowledgeBaseRequest & WithAgentId(const Aws::String &value)
DisassociateAgentKnowledgeBaseRequest & WithAgentId(const char *value)
DisassociateAgentKnowledgeBaseRequest & WithAgentVersion(const Aws::String &value)
DisassociateAgentKnowledgeBaseRequest & WithKnowledgeBaseId(const char *value)
DisassociateAgentKnowledgeBaseRequest & WithKnowledgeBaseId(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
DisassociateAgentKnowledgeBaseRequest & WithAgentVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String