AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveActionDetails.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveMessageContent.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveSourceRetriever.h>
10#include <aws/core/utils/memory/stl/AWSVector.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
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveActionDetails() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const AgenticRetrieveMessageContent& GetInputQuery() const { return m_inputQuery; }
42 inline bool InputQueryHasBeenSet() const { return m_inputQueryHasBeenSet; }
43 template <typename InputQueryT = AgenticRetrieveMessageContent>
44 void SetInputQuery(InputQueryT&& value) {
45 m_inputQueryHasBeenSet = true;
46 m_inputQuery = std::forward<InputQueryT>(value);
47 }
48 template <typename InputQueryT = AgenticRetrieveMessageContent>
50 SetInputQuery(std::forward<InputQueryT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<AgenticRetrieveSourceRetriever>& GetSourceRetrievers() const { return m_sourceRetrievers; }
60 inline bool SourceRetrieversHasBeenSet() const { return m_sourceRetrieversHasBeenSet; }
61 template <typename SourceRetrieversT = Aws::Vector<AgenticRetrieveSourceRetriever>>
63 m_sourceRetrieversHasBeenSet = true;
64 m_sourceRetrievers = std::forward<SourceRetrieversT>(value);
65 }
66 template <typename SourceRetrieversT = Aws::Vector<AgenticRetrieveSourceRetriever>>
68 SetSourceRetrievers(std::forward<SourceRetrieversT>(value));
69 return *this;
70 }
71 template <typename SourceRetrieversT = AgenticRetrieveSourceRetriever>
73 m_sourceRetrieversHasBeenSet = true;
74 m_sourceRetrievers.emplace_back(std::forward<SourceRetrieversT>(value));
75 return *this;
76 }
78 private:
80
82 bool m_inputQueryHasBeenSet = false;
83 bool m_sourceRetrieversHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace BedrockAgentRuntime
88} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveActionDetails()=default
AgenticRetrieveActionDetails & AddSourceRetrievers(SourceRetrieversT &&value)
AgenticRetrieveActionDetails & WithSourceRetrievers(SourceRetrieversT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveActionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveActionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AgenticRetrieveSourceRetriever > & GetSourceRetrievers() const
AgenticRetrieveActionDetails & WithInputQuery(InputQueryT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue