AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAgentKnowledgeBaseRequest.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:
24 AWS_BEDROCKAGENT_API GetAgentKnowledgeBaseRequest();
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 "GetAgentKnowledgeBase"; }
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 GetAgentKnowledgeBaseRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
46 inline GetAgentKnowledgeBaseRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
47 inline GetAgentKnowledgeBaseRequest& 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); }
59 inline GetAgentKnowledgeBaseRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
60 inline GetAgentKnowledgeBaseRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
61 inline GetAgentKnowledgeBaseRequest& 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); }
74 inline GetAgentKnowledgeBaseRequest& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
75 inline GetAgentKnowledgeBaseRequest& 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
GetAgentKnowledgeBaseRequest & WithKnowledgeBaseId(const Aws::String &value)
GetAgentKnowledgeBaseRequest & WithKnowledgeBaseId(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
GetAgentKnowledgeBaseRequest & WithAgentId(Aws::String &&value)
GetAgentKnowledgeBaseRequest & WithAgentVersion(Aws::String &&value)
GetAgentKnowledgeBaseRequest & WithAgentId(const Aws::String &value)
GetAgentKnowledgeBaseRequest & WithKnowledgeBaseId(const char *value)
GetAgentKnowledgeBaseRequest & WithAgentId(const char *value)
GetAgentKnowledgeBaseRequest & WithAgentVersion(const char *value)
GetAgentKnowledgeBaseRequest & WithAgentVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String