AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentAliasId(const Aws::String& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = value; }
48 inline void SetAgentAliasId(Aws::String&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::move(value); }
49 inline void SetAgentAliasId(const char* value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId.assign(value); }
50 inline DeleteAgentMemoryRequest& WithAgentAliasId(const Aws::String& value) { SetAgentAliasId(value); return *this;}
51 inline DeleteAgentMemoryRequest& WithAgentAliasId(Aws::String&& value) { SetAgentAliasId(std::move(value)); return *this;}
52 inline DeleteAgentMemoryRequest& WithAgentAliasId(const char* value) { SetAgentAliasId(value); return *this;}
54
56
59 inline const Aws::String& GetAgentId() const{ return m_agentId; }
60 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
61 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
62 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
63 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
64 inline DeleteAgentMemoryRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
65 inline DeleteAgentMemoryRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
66 inline DeleteAgentMemoryRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
68
70
73 inline const Aws::String& GetMemoryId() const{ return m_memoryId; }
74 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
75 inline void SetMemoryId(const Aws::String& value) { m_memoryIdHasBeenSet = true; m_memoryId = value; }
76 inline void SetMemoryId(Aws::String&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::move(value); }
77 inline void SetMemoryId(const char* value) { m_memoryIdHasBeenSet = true; m_memoryId.assign(value); }
78 inline DeleteAgentMemoryRequest& WithMemoryId(const Aws::String& value) { SetMemoryId(value); return *this;}
79 inline DeleteAgentMemoryRequest& WithMemoryId(Aws::String&& value) { SetMemoryId(std::move(value)); return *this;}
80 inline DeleteAgentMemoryRequest& WithMemoryId(const char* value) { SetMemoryId(value); return *this;}
82 private:
83
84 Aws::String m_agentAliasId;
85 bool m_agentAliasIdHasBeenSet = false;
86
87 Aws::String m_agentId;
88 bool m_agentIdHasBeenSet = false;
89
90 Aws::String m_memoryId;
91 bool m_memoryIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace BedrockAgentRuntime
96} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAgentMemoryRequest & WithMemoryId(const Aws::String &value)
DeleteAgentMemoryRequest & WithMemoryId(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
DeleteAgentMemoryRequest & WithAgentId(const Aws::String &value)
DeleteAgentMemoryRequest & WithAgentId(const char *value)
DeleteAgentMemoryRequest & WithAgentAliasId(const char *value)
DeleteAgentMemoryRequest & WithMemoryId(const char *value)
DeleteAgentMemoryRequest & WithAgentAliasId(Aws::String &&value)
DeleteAgentMemoryRequest & WithAgentId(Aws::String &&value)
DeleteAgentMemoryRequest & WithAgentAliasId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String