AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
DeleteEventRequest.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 DeleteEventRequest() = 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 "DeleteEvent"; }
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 DeleteEventRequest& WithSpaceId(SpaceIdT&& value) {
51 SetSpaceId(std::forward<SpaceIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetEventId() const { return m_eventId; }
61 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
62 template <typename EventIdT = Aws::String>
63 void SetEventId(EventIdT&& value) {
64 m_eventIdHasBeenSet = true;
65 m_eventId = std::forward<EventIdT>(value);
66 }
67 template <typename EventIdT = Aws::String>
68 DeleteEventRequest& WithEventId(EventIdT&& value) {
69 SetEventId(std::forward<EventIdT>(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 DeleteEventRequest& WithActorId(ActorIdT&& value) {
89 SetActorId(std::forward<ActorIdT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetSessionId() const { return m_sessionId; }
101 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
102 template <typename SessionIdT = Aws::String>
103 void SetSessionId(SessionIdT&& value) {
104 m_sessionIdHasBeenSet = true;
105 m_sessionId = std::forward<SessionIdT>(value);
106 }
107 template <typename SessionIdT = Aws::String>
108 DeleteEventRequest& WithSessionId(SessionIdT&& value) {
109 SetSessionId(std::forward<SessionIdT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_spaceId;
115
116 Aws::String m_eventId;
117
118 Aws::String m_actorId;
119
120 Aws::String m_sessionId;
121 bool m_spaceIdHasBeenSet = false;
122 bool m_eventIdHasBeenSet = false;
123 bool m_actorIdHasBeenSet = false;
124 bool m_sessionIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace OpenSearchMemory
129} // namespace Aws
AWS_OPENSEARCHMEMORY_API EndpointParameters GetEndpointContextParams() const override
AWS_OPENSEARCHMEMORY_API Aws::String SerializePayload() const override
DeleteEventRequest & WithSessionId(SessionIdT &&value)
DeleteEventRequest & WithActorId(ActorIdT &&value)
DeleteEventRequest & WithEventId(EventIdT &&value)
DeleteEventRequest & WithSpaceId(SpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHMEMORY_API DeleteEventRequest()=default
AWS_OPENSEARCHMEMORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String