AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
KnowledgeBaseLookupInput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupInput() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
40 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
41 template <typename KnowledgeBaseIdT = Aws::String>
43 m_knowledgeBaseIdHasBeenSet = true;
44 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
45 }
46 template <typename KnowledgeBaseIdT = Aws::String>
48 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetText() const { return m_text; }
58 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
59 template <typename TextT = Aws::String>
60 void SetText(TextT&& value) {
61 m_textHasBeenSet = true;
62 m_text = std::forward<TextT>(value);
63 }
64 template <typename TextT = Aws::String>
66 SetText(std::forward<TextT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_knowledgeBaseId;
72
73 Aws::String m_text;
74 bool m_knowledgeBaseIdHasBeenSet = false;
75 bool m_textHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupInput()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupInput & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseLookupInput & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupInput(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue