AWS SDK for C++

AWS SDK for C++ Version 1.11.849

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveAction() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AgenticRetrieveFullDocExpansionDetails& GetFullDocumentExpansion() const { return m_fullDocumentExpansion; }
40 inline bool FullDocumentExpansionHasBeenSet() const { return m_fullDocumentExpansionHasBeenSet; }
41 template <typename FullDocumentExpansionT = AgenticRetrieveFullDocExpansionDetails>
43 m_fullDocumentExpansionHasBeenSet = true;
44 m_fullDocumentExpansion = std::forward<FullDocumentExpansionT>(value);
45 }
46 template <typename FullDocumentExpansionT = AgenticRetrieveFullDocExpansionDetails>
48 SetFullDocumentExpansion(std::forward<FullDocumentExpansionT>(value));
49 return *this;
50 }
52
54
57 inline const AgenticRetrieveActionDetails& GetRetrieve() const { return m_retrieve; }
58 inline bool RetrieveHasBeenSet() const { return m_retrieveHasBeenSet; }
59 template <typename RetrieveT = AgenticRetrieveActionDetails>
60 void SetRetrieve(RetrieveT&& value) {
61 m_retrieveHasBeenSet = true;
62 m_retrieve = std::forward<RetrieveT>(value);
63 }
64 template <typename RetrieveT = AgenticRetrieveActionDetails>
66 SetRetrieve(std::forward<RetrieveT>(value));
67 return *this;
68 }
70 private:
71 AgenticRetrieveFullDocExpansionDetails m_fullDocumentExpansion;
72
74 bool m_fullDocumentExpansionHasBeenSet = false;
75 bool m_retrieveHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
const AgenticRetrieveActionDetails & GetRetrieve() const
const AgenticRetrieveFullDocExpansionDetails & GetFullDocumentExpansion() const
void SetFullDocumentExpansion(FullDocumentExpansionT &&value)
AgenticRetrieveAction & WithRetrieve(RetrieveT &&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