AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DeleteAgentMemoryRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace BedrockAgentRuntime {
18namespace Model {
19
23 public:
24 AWS_BEDROCKAGENTRUNTIME_API DeleteAgentMemoryRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteAgentMemory"; }
31
32 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
33
34 AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetAgentAliasId() const { return m_agentAliasId; }
41 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
42 template <typename AgentAliasIdT = Aws::String>
44 m_agentAliasIdHasBeenSet = true;
45 m_agentAliasId = std::forward<AgentAliasIdT>(value);
46 }
47 template <typename AgentAliasIdT = Aws::String>
49 SetAgentAliasId(std::forward<AgentAliasIdT>(value));
50 return *this;
51 }
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) {
62 m_agentIdHasBeenSet = true;
63 m_agentId = std::forward<AgentIdT>(value);
64 }
65 template <typename AgentIdT = Aws::String>
67 SetAgentId(std::forward<AgentIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetMemoryId() const { return m_memoryId; }
77 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
78 template <typename MemoryIdT = Aws::String>
79 void SetMemoryId(MemoryIdT&& value) {
80 m_memoryIdHasBeenSet = true;
81 m_memoryId = std::forward<MemoryIdT>(value);
82 }
83 template <typename MemoryIdT = Aws::String>
85 SetMemoryId(std::forward<MemoryIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSessionId() const { return m_sessionId; }
95 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
96 template <typename SessionIdT = Aws::String>
97 void SetSessionId(SessionIdT&& value) {
98 m_sessionIdHasBeenSet = true;
99 m_sessionId = std::forward<SessionIdT>(value);
100 }
101 template <typename SessionIdT = Aws::String>
103 SetSessionId(std::forward<SessionIdT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_agentAliasId;
109
110 Aws::String m_agentId;
111
112 Aws::String m_memoryId;
113
114 Aws::String m_sessionId;
115 bool m_agentAliasIdHasBeenSet = false;
116 bool m_agentIdHasBeenSet = false;
117 bool m_memoryIdHasBeenSet = false;
118 bool m_sessionIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace BedrockAgentRuntime
123} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAgentMemoryRequest & WithAgentId(AgentIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
DeleteAgentMemoryRequest & WithMemoryId(MemoryIdT &&value)
DeleteAgentMemoryRequest & WithAgentAliasId(AgentAliasIdT &&value)
DeleteAgentMemoryRequest & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API DeleteAgentMemoryRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String