AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetriever.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RetrieverConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AgenticRetriever() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
40 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
41 template <typename ConfigurationT = RetrieverConfiguration>
43 m_configurationHasBeenSet = true;
44 m_configuration = std::forward<ConfigurationT>(value);
45 }
46 template <typename ConfigurationT = RetrieverConfiguration>
48 SetConfiguration(std::forward<ConfigurationT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70 private:
71 RetrieverConfiguration m_configuration;
72
73 Aws::String m_description;
74 bool m_configurationHasBeenSet = false;
75 bool m_descriptionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetriever()=default
AgenticRetriever & WithConfiguration(ConfigurationT &&value)
const RetrieverConfiguration & GetConfiguration() const
AgenticRetriever & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetriever & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetriever(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