AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAgentMemoryRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace BedrockAgentRuntime
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_BEDROCKAGENTRUNTIME_API DeleteAgentMemoryRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteAgentMemory"; }
35
36 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
37
38 AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAgentAliasId() const { return m_agentAliasId; }
46 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
47 template<typename AgentAliasIdT = Aws::String>
48 void SetAgentAliasId(AgentAliasIdT&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::forward<AgentAliasIdT>(value); }
49 template<typename AgentAliasIdT = Aws::String>
50 DeleteAgentMemoryRequest& WithAgentAliasId(AgentAliasIdT&& value) { SetAgentAliasId(std::forward<AgentAliasIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAgentId() const { return m_agentId; }
58 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
59 template<typename AgentIdT = Aws::String>
60 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
61 template<typename AgentIdT = Aws::String>
62 DeleteAgentMemoryRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetMemoryId() const { return m_memoryId; }
70 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
71 template<typename MemoryIdT = Aws::String>
72 void SetMemoryId(MemoryIdT&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::forward<MemoryIdT>(value); }
73 template<typename MemoryIdT = Aws::String>
74 DeleteAgentMemoryRequest& WithMemoryId(MemoryIdT&& value) { SetMemoryId(std::forward<MemoryIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSessionId() const { return m_sessionId; }
82 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
83 template<typename SessionIdT = Aws::String>
84 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
85 template<typename SessionIdT = Aws::String>
86 DeleteAgentMemoryRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_agentAliasId;
91 bool m_agentAliasIdHasBeenSet = false;
92
93 Aws::String m_agentId;
94 bool m_agentIdHasBeenSet = false;
95
96 Aws::String m_memoryId;
97 bool m_memoryIdHasBeenSet = false;
98
99 Aws::String m_sessionId;
100 bool m_sessionIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace BedrockAgentRuntime
105} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String