AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AgentAliasIdT = Aws::String>
49 void SetAgentAliasId(AgentAliasIdT&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::forward<AgentAliasIdT>(value); }
50 template<typename AgentAliasIdT = Aws::String>
51 GetAgentMemoryRequest& WithAgentAliasId(AgentAliasIdT&& value) { SetAgentAliasId(std::forward<AgentAliasIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAgentId() const { return m_agentId; }
59 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
60 template<typename AgentIdT = Aws::String>
61 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
62 template<typename AgentIdT = Aws::String>
63 GetAgentMemoryRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
65
67
73 inline int GetMaxItems() const { return m_maxItems; }
74 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
75 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
76 inline GetAgentMemoryRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
78
80
83 inline const Aws::String& GetMemoryId() const { return m_memoryId; }
84 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
85 template<typename MemoryIdT = Aws::String>
86 void SetMemoryId(MemoryIdT&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::forward<MemoryIdT>(value); }
87 template<typename MemoryIdT = Aws::String>
88 GetAgentMemoryRequest& WithMemoryId(MemoryIdT&& value) { SetMemoryId(std::forward<MemoryIdT>(value)); return *this;}
90
92
95 inline MemoryType GetMemoryType() const { return m_memoryType; }
96 inline bool MemoryTypeHasBeenSet() const { return m_memoryTypeHasBeenSet; }
97 inline void SetMemoryType(MemoryType value) { m_memoryTypeHasBeenSet = true; m_memoryType = value; }
98 inline GetAgentMemoryRequest& WithMemoryType(MemoryType value) { SetMemoryType(value); return *this;}
100
102
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template<typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
111 template<typename NextTokenT = Aws::String>
112 GetAgentMemoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
114 private:
115
116 Aws::String m_agentAliasId;
117 bool m_agentAliasIdHasBeenSet = false;
118
119 Aws::String m_agentId;
120 bool m_agentIdHasBeenSet = false;
121
122 int m_maxItems{0};
123 bool m_maxItemsHasBeenSet = false;
124
125 Aws::String m_memoryId;
126 bool m_memoryIdHasBeenSet = false;
127
128 MemoryType m_memoryType{MemoryType::NOT_SET};
129 bool m_memoryTypeHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace BedrockAgentRuntime
137} // namespace Aws
GetAgentMemoryRequest & WithAgentAliasId(AgentAliasIdT &&value)
GetAgentMemoryRequest & WithNextToken(NextTokenT &&value)
AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
AWS_BEDROCKAGENTRUNTIME_API GetAgentMemoryRequest()=default
virtual const char * GetServiceRequestName() const override
GetAgentMemoryRequest & WithAgentId(AgentIdT &&value)
GetAgentMemoryRequest & WithMemoryId(MemoryIdT &&value)
GetAgentMemoryRequest & WithMemoryType(MemoryType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String