AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
AgenticRetrieveAction.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveActionDetails.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveFullDocExpansionDetails.h>
10#include <aws/bedrock-agent-runtime/model/AgenticRetrieveMemoryRetrieveDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime {
22namespace Model {
23
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveAction() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AgenticRetrieveFullDocExpansionDetails& GetFullDocumentExpansion() const { return m_fullDocumentExpansion; }
41 inline bool FullDocumentExpansionHasBeenSet() const { return m_fullDocumentExpansionHasBeenSet; }
42 template <typename FullDocumentExpansionT = AgenticRetrieveFullDocExpansionDetails>
44 m_fullDocumentExpansionHasBeenSet = true;
45 m_fullDocumentExpansion = std::forward<FullDocumentExpansionT>(value);
46 }
47 template <typename FullDocumentExpansionT = AgenticRetrieveFullDocExpansionDetails>
49 SetFullDocumentExpansion(std::forward<FullDocumentExpansionT>(value));
50 return *this;
51 }
53
55
59 inline const AgenticRetrieveMemoryRetrieveDetails& GetMemoryRetrieve() const { return m_memoryRetrieve; }
60 inline bool MemoryRetrieveHasBeenSet() const { return m_memoryRetrieveHasBeenSet; }
61 template <typename MemoryRetrieveT = AgenticRetrieveMemoryRetrieveDetails>
63 m_memoryRetrieveHasBeenSet = true;
64 m_memoryRetrieve = std::forward<MemoryRetrieveT>(value);
65 }
66 template <typename MemoryRetrieveT = AgenticRetrieveMemoryRetrieveDetails>
68 SetMemoryRetrieve(std::forward<MemoryRetrieveT>(value));
69 return *this;
70 }
72
74
77 inline const AgenticRetrieveActionDetails& GetRetrieve() const { return m_retrieve; }
78 inline bool RetrieveHasBeenSet() const { return m_retrieveHasBeenSet; }
79 template <typename RetrieveT = AgenticRetrieveActionDetails>
80 void SetRetrieve(RetrieveT&& value) {
81 m_retrieveHasBeenSet = true;
82 m_retrieve = std::forward<RetrieveT>(value);
83 }
84 template <typename RetrieveT = AgenticRetrieveActionDetails>
86 SetRetrieve(std::forward<RetrieveT>(value));
87 return *this;
88 }
90 private:
91 AgenticRetrieveFullDocExpansionDetails m_fullDocumentExpansion;
92
94
96 bool m_fullDocumentExpansionHasBeenSet = false;
97 bool m_memoryRetrieveHasBeenSet = false;
98 bool m_retrieveHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgentRuntime
103} // namespace Aws
const AgenticRetrieveActionDetails & GetRetrieve() const
const AgenticRetrieveFullDocExpansionDetails & GetFullDocumentExpansion() const
const AgenticRetrieveMemoryRetrieveDetails & GetMemoryRetrieve() const
void SetFullDocumentExpansion(FullDocumentExpansionT &&value)
AgenticRetrieveAction & WithRetrieve(RetrieveT &&value)
AgenticRetrieveAction & WithMemoryRetrieve(MemoryRetrieveT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveAction(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveAction()=default
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AgenticRetrieveAction & WithFullDocumentExpansion(FullDocumentExpansionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue