7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveMemoryPersistenceMode.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveMemoryRetrievalConfig.h>
10#include <aws/bedrock-agent-runtime/model/AgenticRetrieveMemorySessionBinding.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace BedrockAgentRuntime {
48 template <
typename MemoryIdT = Aws::String>
50 m_memoryIdHasBeenSet =
true;
51 m_memoryId = std::forward<MemoryIdT>(value);
53 template <
typename MemoryIdT = Aws::String>
73 m_persistenceModeHasBeenSet =
true;
74 m_persistenceMode = value;
90 template <
typename RetrievalConfigsT = Aws::Vector<AgenticRetrieveMemoryRetrievalConfig>>
92 m_retrievalConfigsHasBeenSet =
true;
93 m_retrievalConfigs = std::forward<RetrievalConfigsT>(value);
95 template <
typename RetrievalConfigsT = Aws::Vector<AgenticRetrieveMemoryRetrievalConfig>>
100 template <
typename RetrievalConfigsT = AgenticRetrieveMemoryRetrievalConfig>
102 m_retrievalConfigsHasBeenSet =
true;
103 m_retrievalConfigs.emplace_back(std::forward<RetrievalConfigsT>(value));
118 template <
typename SessionBindingT = AgenticRetrieveMemorySessionBinding>
120 m_sessionBindingHasBeenSet =
true;
121 m_sessionBinding = std::forward<SessionBindingT>(value);
123 template <
typename SessionBindingT = AgenticRetrieveMemorySessionBinding>
136 AgenticRetrieveMemorySessionBinding m_sessionBinding;
137 bool m_memoryIdHasBeenSet =
false;
138 bool m_persistenceModeHasBeenSet =
false;
139 bool m_retrievalConfigsHasBeenSet =
false;
140 bool m_sessionBindingHasBeenSet =
false;
void SetSessionBinding(SessionBindingT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMemoryId() const
const AgenticRetrieveMemorySessionBinding & GetSessionBinding() const
bool RetrievalConfigsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveMemoryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AgenticRetrieveMemoryConfiguration & WithMemoryId(MemoryIdT &&value)
bool PersistenceModeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveMemoryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AgenticRetrieveMemoryRetrievalConfig > & GetRetrievalConfigs() const
AgenticRetrieveMemoryConfiguration & WithPersistenceMode(AgenticRetrieveMemoryPersistenceMode value)
void SetRetrievalConfigs(RetrievalConfigsT &&value)
AgenticRetrieveMemoryConfiguration & AddRetrievalConfigs(RetrievalConfigsT &&value)
AgenticRetrieveMemoryPersistenceMode GetPersistenceMode() const
bool MemoryIdHasBeenSet() const
AgenticRetrieveMemoryConfiguration & WithRetrievalConfigs(RetrievalConfigsT &&value)
void SetMemoryId(MemoryIdT &&value)
void SetPersistenceMode(AgenticRetrieveMemoryPersistenceMode value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveMemoryConfiguration()=default
AgenticRetrieveMemoryConfiguration & WithSessionBinding(SessionBindingT &&value)
bool SessionBindingHasBeenSet() const
AgenticRetrieveMemoryPersistenceMode
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue