AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAgentMemoryRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/MemoryType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace BedrockAgentRuntime
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_BEDROCKAGENTRUNTIME_API GetAgentMemoryRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetAgentMemory"; }
36
37 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
38
39 AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetAgentAliasId() const{ return m_agentAliasId; }
47 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
48 inline void SetAgentAliasId(const Aws::String& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = value; }
49 inline void SetAgentAliasId(Aws::String&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::move(value); }
50 inline void SetAgentAliasId(const char* value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId.assign(value); }
51 inline GetAgentMemoryRequest& WithAgentAliasId(const Aws::String& value) { SetAgentAliasId(value); return *this;}
52 inline GetAgentMemoryRequest& WithAgentAliasId(Aws::String&& value) { SetAgentAliasId(std::move(value)); return *this;}
53 inline GetAgentMemoryRequest& WithAgentAliasId(const char* value) { SetAgentAliasId(value); return *this;}
55
57
60 inline const Aws::String& GetAgentId() const{ return m_agentId; }
61 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
62 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
63 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
64 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
65 inline GetAgentMemoryRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
66 inline GetAgentMemoryRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
67 inline GetAgentMemoryRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
69
71
77 inline int GetMaxItems() const{ return m_maxItems; }
78 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
79 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
80 inline GetAgentMemoryRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
82
84
87 inline const Aws::String& GetMemoryId() const{ return m_memoryId; }
88 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
89 inline void SetMemoryId(const Aws::String& value) { m_memoryIdHasBeenSet = true; m_memoryId = value; }
90 inline void SetMemoryId(Aws::String&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::move(value); }
91 inline void SetMemoryId(const char* value) { m_memoryIdHasBeenSet = true; m_memoryId.assign(value); }
92 inline GetAgentMemoryRequest& WithMemoryId(const Aws::String& value) { SetMemoryId(value); return *this;}
93 inline GetAgentMemoryRequest& WithMemoryId(Aws::String&& value) { SetMemoryId(std::move(value)); return *this;}
94 inline GetAgentMemoryRequest& WithMemoryId(const char* value) { SetMemoryId(value); return *this;}
96
98
101 inline const MemoryType& GetMemoryType() const{ return m_memoryType; }
102 inline bool MemoryTypeHasBeenSet() const { return m_memoryTypeHasBeenSet; }
103 inline void SetMemoryType(const MemoryType& value) { m_memoryTypeHasBeenSet = true; m_memoryType = value; }
104 inline void SetMemoryType(MemoryType&& value) { m_memoryTypeHasBeenSet = true; m_memoryType = std::move(value); }
105 inline GetAgentMemoryRequest& WithMemoryType(const MemoryType& value) { SetMemoryType(value); return *this;}
106 inline GetAgentMemoryRequest& WithMemoryType(MemoryType&& value) { SetMemoryType(std::move(value)); return *this;}
108
110
115 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
116 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
117 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
118 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
119 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
120 inline GetAgentMemoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 inline GetAgentMemoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
122 inline GetAgentMemoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
124 private:
125
126 Aws::String m_agentAliasId;
127 bool m_agentAliasIdHasBeenSet = false;
128
129 Aws::String m_agentId;
130 bool m_agentIdHasBeenSet = false;
131
132 int m_maxItems;
133 bool m_maxItemsHasBeenSet = false;
134
135 Aws::String m_memoryId;
136 bool m_memoryIdHasBeenSet = false;
137
138 MemoryType m_memoryType;
139 bool m_memoryTypeHasBeenSet = false;
140
141 Aws::String m_nextToken;
142 bool m_nextTokenHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace BedrockAgentRuntime
147} // namespace Aws
GetAgentMemoryRequest & WithAgentAliasId(Aws::String &&value)
GetAgentMemoryRequest & WithAgentAliasId(const char *value)
GetAgentMemoryRequest & WithMemoryId(const char *value)
GetAgentMemoryRequest & WithNextToken(const char *value)
GetAgentMemoryRequest & WithMemoryId(Aws::String &&value)
GetAgentMemoryRequest & WithMemoryType(const MemoryType &value)
AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAgentMemoryRequest & WithNextToken(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
GetAgentMemoryRequest & WithAgentAliasId(const Aws::String &value)
GetAgentMemoryRequest & WithMemoryId(const Aws::String &value)
GetAgentMemoryRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetAgentMemoryRequest & WithMemoryType(MemoryType &&value)
GetAgentMemoryRequest & WithAgentId(const Aws::String &value)
GetAgentMemoryRequest & WithAgentId(const char *value)
GetAgentMemoryRequest & WithAgentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String