AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeleteIngestionStreamRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace OpenSearchServerless {
16namespace Model {
17
21 public:
22 AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteIngestionStream"; }
29
30 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
31
32 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
40 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
41 template <typename CollectionIdT = Aws::String>
42 void SetCollectionId(CollectionIdT&& value) {
43 m_collectionIdHasBeenSet = true;
44 m_collectionId = std::forward<CollectionIdT>(value);
45 }
46 template <typename CollectionIdT = Aws::String>
48 SetCollectionId(std::forward<CollectionIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIngestionStreamId() const { return m_ingestionStreamId; }
58 inline bool IngestionStreamIdHasBeenSet() const { return m_ingestionStreamIdHasBeenSet; }
59 template <typename IngestionStreamIdT = Aws::String>
60 void SetIngestionStreamId(IngestionStreamIdT&& value) {
61 m_ingestionStreamIdHasBeenSet = true;
62 m_ingestionStreamId = std::forward<IngestionStreamIdT>(value);
63 }
64 template <typename IngestionStreamIdT = Aws::String>
66 SetIngestionStreamId(std::forward<IngestionStreamIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetClientToken() const { return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 template <typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) {
79 m_clientTokenHasBeenSet = true;
80 m_clientToken = std::forward<ClientTokenT>(value);
81 }
82 template <typename ClientTokenT = Aws::String>
84 SetClientToken(std::forward<ClientTokenT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_collectionId;
90
91 Aws::String m_ingestionStreamId;
92
94 bool m_collectionIdHasBeenSet = false;
95 bool m_ingestionStreamIdHasBeenSet = false;
96 bool m_clientTokenHasBeenSet = true;
97};
98
99} // namespace Model
100} // namespace OpenSearchServerless
101} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
DeleteIngestionStreamRequest & WithIngestionStreamId(IngestionStreamIdT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamRequest()=default
DeleteIngestionStreamRequest & WithCollectionId(CollectionIdT &&value)
DeleteIngestionStreamRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String