AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
DeleteMemoryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchmemory/OpenSearchMemoryRequest.h>
9#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace OpenSearchMemory {
15namespace Model {
16
20 public:
21 AWS_OPENSEARCHMEMORY_API DeleteMemoryRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteMemory"; }
28
29 AWS_OPENSEARCHMEMORY_API Aws::String SerializePayload() const override;
30
31 AWS_OPENSEARCHMEMORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
36 AWS_OPENSEARCHMEMORY_API EndpointParameters GetEndpointContextParams() const override;
37
39
42 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
43 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
44 template <typename SpaceIdT = Aws::String>
45 void SetSpaceId(SpaceIdT&& value) {
46 m_spaceIdHasBeenSet = true;
47 m_spaceId = std::forward<SpaceIdT>(value);
48 }
49 template <typename SpaceIdT = Aws::String>
50 DeleteMemoryRequest& WithSpaceId(SpaceIdT&& value) {
51 SetSpaceId(std::forward<SpaceIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMemoryId() const { return m_memoryId; }
61 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
62 template <typename MemoryIdT = Aws::String>
63 void SetMemoryId(MemoryIdT&& value) {
64 m_memoryIdHasBeenSet = true;
65 m_memoryId = std::forward<MemoryIdT>(value);
66 }
67 template <typename MemoryIdT = Aws::String>
68 DeleteMemoryRequest& WithMemoryId(MemoryIdT&& value) {
69 SetMemoryId(std::forward<MemoryIdT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetActorId() const { return m_actorId; }
81 inline bool ActorIdHasBeenSet() const { return m_actorIdHasBeenSet; }
82 template <typename ActorIdT = Aws::String>
83 void SetActorId(ActorIdT&& value) {
84 m_actorIdHasBeenSet = true;
85 m_actorId = std::forward<ActorIdT>(value);
86 }
87 template <typename ActorIdT = Aws::String>
88 DeleteMemoryRequest& WithActorId(ActorIdT&& value) {
89 SetActorId(std::forward<ActorIdT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetStrategyName() const { return m_strategyName; }
101 inline bool StrategyNameHasBeenSet() const { return m_strategyNameHasBeenSet; }
102 template <typename StrategyNameT = Aws::String>
103 void SetStrategyName(StrategyNameT&& value) {
104 m_strategyNameHasBeenSet = true;
105 m_strategyName = std::forward<StrategyNameT>(value);
106 }
107 template <typename StrategyNameT = Aws::String>
108 DeleteMemoryRequest& WithStrategyName(StrategyNameT&& value) {
109 SetStrategyName(std::forward<StrategyNameT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_spaceId;
115
116 Aws::String m_memoryId;
117
118 Aws::String m_actorId;
119
120 Aws::String m_strategyName;
121 bool m_spaceIdHasBeenSet = false;
122 bool m_memoryIdHasBeenSet = false;
123 bool m_actorIdHasBeenSet = false;
124 bool m_strategyNameHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace OpenSearchMemory
129} // namespace Aws
AWS_OPENSEARCHMEMORY_API Aws::String SerializePayload() const override
DeleteMemoryRequest & WithStrategyName(StrategyNameT &&value)
DeleteMemoryRequest & WithActorId(ActorIdT &&value)
AWS_OPENSEARCHMEMORY_API DeleteMemoryRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteMemoryRequest & WithMemoryId(MemoryIdT &&value)
AWS_OPENSEARCHMEMORY_API EndpointParameters GetEndpointContextParams() const override
AWS_OPENSEARCHMEMORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteMemoryRequest & WithSpaceId(SpaceIdT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String