AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateDestinationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/FirehoseRequest.h>
9#include <aws/firehose/Firehose_EXPORTS.h>
10#include <aws/firehose/model/AmazonOpenSearchServerlessDestinationUpdate.h>
11#include <aws/firehose/model/AmazonopensearchserviceDestinationUpdate.h>
12#include <aws/firehose/model/ElasticsearchDestinationUpdate.h>
13#include <aws/firehose/model/ExtendedS3DestinationUpdate.h>
14#include <aws/firehose/model/HttpEndpointDestinationUpdate.h>
15#include <aws/firehose/model/IcebergDestinationUpdate.h>
16#include <aws/firehose/model/RedshiftDestinationUpdate.h>
17#include <aws/firehose/model/SnowflakeDestinationUpdate.h>
18#include <aws/firehose/model/SplunkDestinationUpdate.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Firehose {
24namespace Model {
25
29 public:
30 AWS_FIREHOSE_API UpdateDestinationRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
37
38 AWS_FIREHOSE_API Aws::String SerializePayload() const override;
39
41
43
46 inline const Aws::String& GetDeliveryStreamName() const { return m_deliveryStreamName; }
47 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
48 template <typename DeliveryStreamNameT = Aws::String>
49 void SetDeliveryStreamName(DeliveryStreamNameT&& value) {
50 m_deliveryStreamNameHasBeenSet = true;
51 m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value);
52 }
53 template <typename DeliveryStreamNameT = Aws::String>
54 UpdateDestinationRequest& WithDeliveryStreamName(DeliveryStreamNameT&& value) {
55 SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value));
56 return *this;
57 }
59
61
69 inline const Aws::String& GetCurrentDeliveryStreamVersionId() const { return m_currentDeliveryStreamVersionId; }
70 inline bool CurrentDeliveryStreamVersionIdHasBeenSet() const { return m_currentDeliveryStreamVersionIdHasBeenSet; }
71 template <typename CurrentDeliveryStreamVersionIdT = Aws::String>
72 void SetCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT&& value) {
73 m_currentDeliveryStreamVersionIdHasBeenSet = true;
74 m_currentDeliveryStreamVersionId = std::forward<CurrentDeliveryStreamVersionIdT>(value);
75 }
76 template <typename CurrentDeliveryStreamVersionIdT = Aws::String>
77 UpdateDestinationRequest& WithCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT&& value) {
78 SetCurrentDeliveryStreamVersionId(std::forward<CurrentDeliveryStreamVersionIdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
88 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
89 template <typename DestinationIdT = Aws::String>
90 void SetDestinationId(DestinationIdT&& value) {
91 m_destinationIdHasBeenSet = true;
92 m_destinationId = std::forward<DestinationIdT>(value);
93 }
94 template <typename DestinationIdT = Aws::String>
96 SetDestinationId(std::forward<DestinationIdT>(value));
97 return *this;
98 }
100
102
105 inline const ExtendedS3DestinationUpdate& GetExtendedS3DestinationUpdate() const { return m_extendedS3DestinationUpdate; }
106 inline bool ExtendedS3DestinationUpdateHasBeenSet() const { return m_extendedS3DestinationUpdateHasBeenSet; }
107 template <typename ExtendedS3DestinationUpdateT = ExtendedS3DestinationUpdate>
108 void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT&& value) {
109 m_extendedS3DestinationUpdateHasBeenSet = true;
110 m_extendedS3DestinationUpdate = std::forward<ExtendedS3DestinationUpdateT>(value);
111 }
112 template <typename ExtendedS3DestinationUpdateT = ExtendedS3DestinationUpdate>
113 UpdateDestinationRequest& WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT&& value) {
114 SetExtendedS3DestinationUpdate(std::forward<ExtendedS3DestinationUpdateT>(value));
115 return *this;
116 }
118
120
123 inline const RedshiftDestinationUpdate& GetRedshiftDestinationUpdate() const { return m_redshiftDestinationUpdate; }
124 inline bool RedshiftDestinationUpdateHasBeenSet() const { return m_redshiftDestinationUpdateHasBeenSet; }
125 template <typename RedshiftDestinationUpdateT = RedshiftDestinationUpdate>
126 void SetRedshiftDestinationUpdate(RedshiftDestinationUpdateT&& value) {
127 m_redshiftDestinationUpdateHasBeenSet = true;
128 m_redshiftDestinationUpdate = std::forward<RedshiftDestinationUpdateT>(value);
129 }
130 template <typename RedshiftDestinationUpdateT = RedshiftDestinationUpdate>
131 UpdateDestinationRequest& WithRedshiftDestinationUpdate(RedshiftDestinationUpdateT&& value) {
132 SetRedshiftDestinationUpdate(std::forward<RedshiftDestinationUpdateT>(value));
133 return *this;
134 }
136
138
141 inline const ElasticsearchDestinationUpdate& GetElasticsearchDestinationUpdate() const { return m_elasticsearchDestinationUpdate; }
142 inline bool ElasticsearchDestinationUpdateHasBeenSet() const { return m_elasticsearchDestinationUpdateHasBeenSet; }
143 template <typename ElasticsearchDestinationUpdateT = ElasticsearchDestinationUpdate>
144 void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT&& value) {
145 m_elasticsearchDestinationUpdateHasBeenSet = true;
146 m_elasticsearchDestinationUpdate = std::forward<ElasticsearchDestinationUpdateT>(value);
147 }
148 template <typename ElasticsearchDestinationUpdateT = ElasticsearchDestinationUpdate>
149 UpdateDestinationRequest& WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT&& value) {
150 SetElasticsearchDestinationUpdate(std::forward<ElasticsearchDestinationUpdateT>(value));
151 return *this;
152 }
154
156
160 return m_amazonopensearchserviceDestinationUpdate;
161 }
162 inline bool AmazonopensearchserviceDestinationUpdateHasBeenSet() const { return m_amazonopensearchserviceDestinationUpdateHasBeenSet; }
163 template <typename AmazonopensearchserviceDestinationUpdateT = AmazonopensearchserviceDestinationUpdate>
164 void SetAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT&& value) {
165 m_amazonopensearchserviceDestinationUpdateHasBeenSet = true;
166 m_amazonopensearchserviceDestinationUpdate = std::forward<AmazonopensearchserviceDestinationUpdateT>(value);
167 }
168 template <typename AmazonopensearchserviceDestinationUpdateT = AmazonopensearchserviceDestinationUpdate>
169 UpdateDestinationRequest& WithAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT&& value) {
170 SetAmazonopensearchserviceDestinationUpdate(std::forward<AmazonopensearchserviceDestinationUpdateT>(value));
171 return *this;
172 }
174
176
179 inline const SplunkDestinationUpdate& GetSplunkDestinationUpdate() const { return m_splunkDestinationUpdate; }
180 inline bool SplunkDestinationUpdateHasBeenSet() const { return m_splunkDestinationUpdateHasBeenSet; }
181 template <typename SplunkDestinationUpdateT = SplunkDestinationUpdate>
182 void SetSplunkDestinationUpdate(SplunkDestinationUpdateT&& value) {
183 m_splunkDestinationUpdateHasBeenSet = true;
184 m_splunkDestinationUpdate = std::forward<SplunkDestinationUpdateT>(value);
185 }
186 template <typename SplunkDestinationUpdateT = SplunkDestinationUpdate>
187 UpdateDestinationRequest& WithSplunkDestinationUpdate(SplunkDestinationUpdateT&& value) {
188 SetSplunkDestinationUpdate(std::forward<SplunkDestinationUpdateT>(value));
189 return *this;
190 }
192
194
197 inline const HttpEndpointDestinationUpdate& GetHttpEndpointDestinationUpdate() const { return m_httpEndpointDestinationUpdate; }
198 inline bool HttpEndpointDestinationUpdateHasBeenSet() const { return m_httpEndpointDestinationUpdateHasBeenSet; }
199 template <typename HttpEndpointDestinationUpdateT = HttpEndpointDestinationUpdate>
200 void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT&& value) {
201 m_httpEndpointDestinationUpdateHasBeenSet = true;
202 m_httpEndpointDestinationUpdate = std::forward<HttpEndpointDestinationUpdateT>(value);
203 }
204 template <typename HttpEndpointDestinationUpdateT = HttpEndpointDestinationUpdate>
205 UpdateDestinationRequest& WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT&& value) {
206 SetHttpEndpointDestinationUpdate(std::forward<HttpEndpointDestinationUpdateT>(value));
207 return *this;
208 }
210
212
217 return m_amazonOpenSearchServerlessDestinationUpdate;
218 }
220 return m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet;
221 }
222 template <typename AmazonOpenSearchServerlessDestinationUpdateT = AmazonOpenSearchServerlessDestinationUpdate>
223 void SetAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT&& value) {
224 m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = true;
225 m_amazonOpenSearchServerlessDestinationUpdate = std::forward<AmazonOpenSearchServerlessDestinationUpdateT>(value);
226 }
227 template <typename AmazonOpenSearchServerlessDestinationUpdateT = AmazonOpenSearchServerlessDestinationUpdate>
228 UpdateDestinationRequest& WithAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT&& value) {
229 SetAmazonOpenSearchServerlessDestinationUpdate(std::forward<AmazonOpenSearchServerlessDestinationUpdateT>(value));
230 return *this;
231 }
233
235
238 inline const SnowflakeDestinationUpdate& GetSnowflakeDestinationUpdate() const { return m_snowflakeDestinationUpdate; }
239 inline bool SnowflakeDestinationUpdateHasBeenSet() const { return m_snowflakeDestinationUpdateHasBeenSet; }
240 template <typename SnowflakeDestinationUpdateT = SnowflakeDestinationUpdate>
241 void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT&& value) {
242 m_snowflakeDestinationUpdateHasBeenSet = true;
243 m_snowflakeDestinationUpdate = std::forward<SnowflakeDestinationUpdateT>(value);
244 }
245 template <typename SnowflakeDestinationUpdateT = SnowflakeDestinationUpdate>
246 UpdateDestinationRequest& WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT&& value) {
247 SetSnowflakeDestinationUpdate(std::forward<SnowflakeDestinationUpdateT>(value));
248 return *this;
249 }
251
253
256 inline const IcebergDestinationUpdate& GetIcebergDestinationUpdate() const { return m_icebergDestinationUpdate; }
257 inline bool IcebergDestinationUpdateHasBeenSet() const { return m_icebergDestinationUpdateHasBeenSet; }
258 template <typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
259 void SetIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) {
260 m_icebergDestinationUpdateHasBeenSet = true;
261 m_icebergDestinationUpdate = std::forward<IcebergDestinationUpdateT>(value);
262 }
263 template <typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
264 UpdateDestinationRequest& WithIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) {
265 SetIcebergDestinationUpdate(std::forward<IcebergDestinationUpdateT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_deliveryStreamName;
271
272 Aws::String m_currentDeliveryStreamVersionId;
273
274 Aws::String m_destinationId;
275
276 ExtendedS3DestinationUpdate m_extendedS3DestinationUpdate;
277
278 RedshiftDestinationUpdate m_redshiftDestinationUpdate;
279
280 ElasticsearchDestinationUpdate m_elasticsearchDestinationUpdate;
281
282 AmazonopensearchserviceDestinationUpdate m_amazonopensearchserviceDestinationUpdate;
283
284 SplunkDestinationUpdate m_splunkDestinationUpdate;
285
286 HttpEndpointDestinationUpdate m_httpEndpointDestinationUpdate;
287
288 AmazonOpenSearchServerlessDestinationUpdate m_amazonOpenSearchServerlessDestinationUpdate;
289
290 SnowflakeDestinationUpdate m_snowflakeDestinationUpdate;
291
292 IcebergDestinationUpdate m_icebergDestinationUpdate;
293 bool m_deliveryStreamNameHasBeenSet = false;
294 bool m_currentDeliveryStreamVersionIdHasBeenSet = false;
295 bool m_destinationIdHasBeenSet = false;
296 bool m_extendedS3DestinationUpdateHasBeenSet = false;
297 bool m_redshiftDestinationUpdateHasBeenSet = false;
298 bool m_elasticsearchDestinationUpdateHasBeenSet = false;
299 bool m_amazonopensearchserviceDestinationUpdateHasBeenSet = false;
300 bool m_splunkDestinationUpdateHasBeenSet = false;
301 bool m_httpEndpointDestinationUpdateHasBeenSet = false;
302 bool m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = false;
303 bool m_snowflakeDestinationUpdateHasBeenSet = false;
304 bool m_icebergDestinationUpdateHasBeenSet = false;
305};
306
307} // namespace Model
308} // namespace Firehose
309} // namespace Aws
void SetIcebergDestinationUpdate(IcebergDestinationUpdateT &&value)
const SplunkDestinationUpdate & GetSplunkDestinationUpdate() const
UpdateDestinationRequest & WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT &&value)
AWS_FIREHOSE_API UpdateDestinationRequest()=default
UpdateDestinationRequest & WithIcebergDestinationUpdate(IcebergDestinationUpdateT &&value)
void SetRedshiftDestinationUpdate(RedshiftDestinationUpdateT &&value)
void SetAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT &&value)
AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const IcebergDestinationUpdate & GetIcebergDestinationUpdate() const
void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT &&value)
void SetCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT &&value)
UpdateDestinationRequest & WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT &&value)
const AmazonopensearchserviceDestinationUpdate & GetAmazonopensearchserviceDestinationUpdate() const
void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT &&value)
UpdateDestinationRequest & WithAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT &&value)
void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT &&value)
const ExtendedS3DestinationUpdate & GetExtendedS3DestinationUpdate() const
const RedshiftDestinationUpdate & GetRedshiftDestinationUpdate() const
UpdateDestinationRequest & WithDestinationId(DestinationIdT &&value)
UpdateDestinationRequest & WithRedshiftDestinationUpdate(RedshiftDestinationUpdateT &&value)
const AmazonOpenSearchServerlessDestinationUpdate & GetAmazonOpenSearchServerlessDestinationUpdate() const
UpdateDestinationRequest & WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT &&value)
void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT &&value)
void SetAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT &&value)
const ElasticsearchDestinationUpdate & GetElasticsearchDestinationUpdate() const
UpdateDestinationRequest & WithAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT &&value)
void SetDeliveryStreamName(DeliveryStreamNameT &&value)
void SetSplunkDestinationUpdate(SplunkDestinationUpdateT &&value)
UpdateDestinationRequest & WithDeliveryStreamName(DeliveryStreamNameT &&value)
UpdateDestinationRequest & WithSplunkDestinationUpdate(SplunkDestinationUpdateT &&value)
const SnowflakeDestinationUpdate & GetSnowflakeDestinationUpdate() const
UpdateDestinationRequest & WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT &&value)
AWS_FIREHOSE_API Aws::String SerializePayload() const override
const HttpEndpointDestinationUpdate & GetHttpEndpointDestinationUpdate() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String