AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Memory.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/MemorySessionSummary.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime
22{
23namespace Model
24{
25
31 class Memory
32 {
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API Memory();
35 AWS_BEDROCKAGENTRUNTIME_API Memory(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENTRUNTIME_API Memory& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const MemorySessionSummary& GetSessionSummary() const{ return m_sessionSummary; }
45 inline bool SessionSummaryHasBeenSet() const { return m_sessionSummaryHasBeenSet; }
46 inline void SetSessionSummary(const MemorySessionSummary& value) { m_sessionSummaryHasBeenSet = true; m_sessionSummary = value; }
47 inline void SetSessionSummary(MemorySessionSummary&& value) { m_sessionSummaryHasBeenSet = true; m_sessionSummary = std::move(value); }
48 inline Memory& WithSessionSummary(const MemorySessionSummary& value) { SetSessionSummary(value); return *this;}
49 inline Memory& WithSessionSummary(MemorySessionSummary&& value) { SetSessionSummary(std::move(value)); return *this;}
51 private:
52
53 MemorySessionSummary m_sessionSummary;
54 bool m_sessionSummaryHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace BedrockAgentRuntime
59} // namespace Aws
Memory & WithSessionSummary(MemorySessionSummary &&value)
Definition Memory.h:49
AWS_BEDROCKAGENTRUNTIME_API Memory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Memory()
AWS_BEDROCKAGENTRUNTIME_API Memory(Aws::Utils::Json::JsonView jsonValue)
const MemorySessionSummary & GetSessionSummary() const
Definition Memory.h:44
void SetSessionSummary(MemorySessionSummary &&value)
Definition Memory.h:47
Memory & WithSessionSummary(const MemorySessionSummary &value)
Definition Memory.h:48
void SetSessionSummary(const MemorySessionSummary &value)
Definition Memory.h:46
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue