AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeleteIngestionStreamResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10#include <aws/opensearchserverless/model/IngestionStreamStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchServerless {
24namespace Model {
26 public:
27 AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamResult() = default;
29 AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamResult& operator=(
31
33
36 inline const Aws::String& GetIngestionStreamId() const { return m_ingestionStreamId; }
37 template <typename IngestionStreamIdT = Aws::String>
38 void SetIngestionStreamId(IngestionStreamIdT&& value) {
39 m_ingestionStreamIdHasBeenSet = true;
40 m_ingestionStreamId = std::forward<IngestionStreamIdT>(value);
41 }
42 template <typename IngestionStreamIdT = Aws::String>
44 SetIngestionStreamId(std::forward<IngestionStreamIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
55 template <typename CollectionIdT = Aws::String>
56 void SetCollectionId(CollectionIdT&& value) {
57 m_collectionIdHasBeenSet = true;
58 m_collectionId = std::forward<CollectionIdT>(value);
59 }
60 template <typename CollectionIdT = Aws::String>
62 SetCollectionId(std::forward<CollectionIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetIngestionStreamName() const { return m_ingestionStreamName; }
72 template <typename IngestionStreamNameT = Aws::String>
73 void SetIngestionStreamName(IngestionStreamNameT&& value) {
74 m_ingestionStreamNameHasBeenSet = true;
75 m_ingestionStreamName = std::forward<IngestionStreamNameT>(value);
76 }
77 template <typename IngestionStreamNameT = Aws::String>
79 SetIngestionStreamName(std::forward<IngestionStreamNameT>(value));
80 return *this;
81 }
83
85
88 inline IngestionStreamStatus GetStatus() const { return m_status; }
89 inline void SetStatus(IngestionStreamStatus value) {
90 m_statusHasBeenSet = true;
91 m_status = value;
92 }
94 SetStatus(value);
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_ingestionStreamId;
117
118 Aws::String m_collectionId;
119
120 Aws::String m_ingestionStreamName;
121
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_ingestionStreamIdHasBeenSet = false;
127 bool m_collectionIdHasBeenSet = false;
128 bool m_ingestionStreamNameHasBeenSet = false;
129 bool m_statusHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace OpenSearchServerless
135} // namespace Aws
DeleteIngestionStreamResult & WithRequestId(RequestIdT &&value)
DeleteIngestionStreamResult & WithIngestionStreamName(IngestionStreamNameT &&value)
AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamResult()=default
DeleteIngestionStreamResult & WithCollectionId(CollectionIdT &&value)
DeleteIngestionStreamResult & WithStatus(IngestionStreamStatus value)
AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteIngestionStreamResult & WithIngestionStreamId(IngestionStreamIdT &&value)
AWS_OPENSEARCHSERVERLESS_API DeleteIngestionStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue