AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDestinationRequest.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/FirehoseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/firehose/model/ExtendedS3DestinationUpdate.h>
11#include <aws/firehose/model/RedshiftDestinationUpdate.h>
12#include <aws/firehose/model/ElasticsearchDestinationUpdate.h>
13#include <aws/firehose/model/AmazonopensearchserviceDestinationUpdate.h>
14#include <aws/firehose/model/SplunkDestinationUpdate.h>
15#include <aws/firehose/model/HttpEndpointDestinationUpdate.h>
16#include <aws/firehose/model/AmazonOpenSearchServerlessDestinationUpdate.h>
17#include <aws/firehose/model/SnowflakeDestinationUpdate.h>
18#include <aws/firehose/model/IcebergDestinationUpdate.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Firehose
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_FIREHOSE_API UpdateDestinationRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
40
41 AWS_FIREHOSE_API Aws::String SerializePayload() const override;
42
44
45
47
50 inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
51 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
52 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
53 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
54 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
56 inline UpdateDestinationRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
57 inline UpdateDestinationRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
59
61
69 inline const Aws::String& GetCurrentDeliveryStreamVersionId() const{ return m_currentDeliveryStreamVersionId; }
70 inline bool CurrentDeliveryStreamVersionIdHasBeenSet() const { return m_currentDeliveryStreamVersionIdHasBeenSet; }
71 inline void SetCurrentDeliveryStreamVersionId(const Aws::String& value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId = value; }
72 inline void SetCurrentDeliveryStreamVersionId(Aws::String&& value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId = std::move(value); }
73 inline void SetCurrentDeliveryStreamVersionId(const char* value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId.assign(value); }
78
80
83 inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
84 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
85 inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
86 inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
87 inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
88 inline UpdateDestinationRequest& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
89 inline UpdateDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
90 inline UpdateDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
92
94
97 inline const ExtendedS3DestinationUpdate& GetExtendedS3DestinationUpdate() const{ return m_extendedS3DestinationUpdate; }
98 inline bool ExtendedS3DestinationUpdateHasBeenSet() const { return m_extendedS3DestinationUpdateHasBeenSet; }
99 inline void SetExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate& value) { m_extendedS3DestinationUpdateHasBeenSet = true; m_extendedS3DestinationUpdate = value; }
100 inline void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate&& value) { m_extendedS3DestinationUpdateHasBeenSet = true; m_extendedS3DestinationUpdate = std::move(value); }
104
106
109 inline const RedshiftDestinationUpdate& GetRedshiftDestinationUpdate() const{ return m_redshiftDestinationUpdate; }
110 inline bool RedshiftDestinationUpdateHasBeenSet() const { return m_redshiftDestinationUpdateHasBeenSet; }
111 inline void SetRedshiftDestinationUpdate(const RedshiftDestinationUpdate& value) { m_redshiftDestinationUpdateHasBeenSet = true; m_redshiftDestinationUpdate = value; }
112 inline void SetRedshiftDestinationUpdate(RedshiftDestinationUpdate&& value) { m_redshiftDestinationUpdateHasBeenSet = true; m_redshiftDestinationUpdate = std::move(value); }
116
118
121 inline const ElasticsearchDestinationUpdate& GetElasticsearchDestinationUpdate() const{ return m_elasticsearchDestinationUpdate; }
122 inline bool ElasticsearchDestinationUpdateHasBeenSet() const { return m_elasticsearchDestinationUpdateHasBeenSet; }
123 inline void SetElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate& value) { m_elasticsearchDestinationUpdateHasBeenSet = true; m_elasticsearchDestinationUpdate = value; }
124 inline void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate&& value) { m_elasticsearchDestinationUpdateHasBeenSet = true; m_elasticsearchDestinationUpdate = std::move(value); }
128
130
133 inline const AmazonopensearchserviceDestinationUpdate& GetAmazonopensearchserviceDestinationUpdate() const{ return m_amazonopensearchserviceDestinationUpdate; }
134 inline bool AmazonopensearchserviceDestinationUpdateHasBeenSet() const { return m_amazonopensearchserviceDestinationUpdateHasBeenSet; }
135 inline void SetAmazonopensearchserviceDestinationUpdate(const AmazonopensearchserviceDestinationUpdate& value) { m_amazonopensearchserviceDestinationUpdateHasBeenSet = true; m_amazonopensearchserviceDestinationUpdate = value; }
136 inline void SetAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdate&& value) { m_amazonopensearchserviceDestinationUpdateHasBeenSet = true; m_amazonopensearchserviceDestinationUpdate = std::move(value); }
140
142
145 inline const SplunkDestinationUpdate& GetSplunkDestinationUpdate() const{ return m_splunkDestinationUpdate; }
146 inline bool SplunkDestinationUpdateHasBeenSet() const { return m_splunkDestinationUpdateHasBeenSet; }
147 inline void SetSplunkDestinationUpdate(const SplunkDestinationUpdate& value) { m_splunkDestinationUpdateHasBeenSet = true; m_splunkDestinationUpdate = value; }
148 inline void SetSplunkDestinationUpdate(SplunkDestinationUpdate&& value) { m_splunkDestinationUpdateHasBeenSet = true; m_splunkDestinationUpdate = std::move(value); }
152
154
157 inline const HttpEndpointDestinationUpdate& GetHttpEndpointDestinationUpdate() const{ return m_httpEndpointDestinationUpdate; }
158 inline bool HttpEndpointDestinationUpdateHasBeenSet() const { return m_httpEndpointDestinationUpdateHasBeenSet; }
159 inline void SetHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate& value) { m_httpEndpointDestinationUpdateHasBeenSet = true; m_httpEndpointDestinationUpdate = value; }
160 inline void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate&& value) { m_httpEndpointDestinationUpdateHasBeenSet = true; m_httpEndpointDestinationUpdate = std::move(value); }
164
166
170 inline const AmazonOpenSearchServerlessDestinationUpdate& GetAmazonOpenSearchServerlessDestinationUpdate() const{ return m_amazonOpenSearchServerlessDestinationUpdate; }
171 inline bool AmazonOpenSearchServerlessDestinationUpdateHasBeenSet() const { return m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet; }
172 inline void SetAmazonOpenSearchServerlessDestinationUpdate(const AmazonOpenSearchServerlessDestinationUpdate& value) { m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = true; m_amazonOpenSearchServerlessDestinationUpdate = value; }
173 inline void SetAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdate&& value) { m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = true; m_amazonOpenSearchServerlessDestinationUpdate = std::move(value); }
177
179
182 inline const SnowflakeDestinationUpdate& GetSnowflakeDestinationUpdate() const{ return m_snowflakeDestinationUpdate; }
183 inline bool SnowflakeDestinationUpdateHasBeenSet() const { return m_snowflakeDestinationUpdateHasBeenSet; }
184 inline void SetSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate& value) { m_snowflakeDestinationUpdateHasBeenSet = true; m_snowflakeDestinationUpdate = value; }
185 inline void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdate&& value) { m_snowflakeDestinationUpdateHasBeenSet = true; m_snowflakeDestinationUpdate = std::move(value); }
189
191
195 inline const IcebergDestinationUpdate& GetIcebergDestinationUpdate() const{ return m_icebergDestinationUpdate; }
196 inline bool IcebergDestinationUpdateHasBeenSet() const { return m_icebergDestinationUpdateHasBeenSet; }
197 inline void SetIcebergDestinationUpdate(const IcebergDestinationUpdate& value) { m_icebergDestinationUpdateHasBeenSet = true; m_icebergDestinationUpdate = value; }
198 inline void SetIcebergDestinationUpdate(IcebergDestinationUpdate&& value) { m_icebergDestinationUpdateHasBeenSet = true; m_icebergDestinationUpdate = std::move(value); }
202 private:
203
204 Aws::String m_deliveryStreamName;
205 bool m_deliveryStreamNameHasBeenSet = false;
206
207 Aws::String m_currentDeliveryStreamVersionId;
208 bool m_currentDeliveryStreamVersionIdHasBeenSet = false;
209
210 Aws::String m_destinationId;
211 bool m_destinationIdHasBeenSet = false;
212
213 ExtendedS3DestinationUpdate m_extendedS3DestinationUpdate;
214 bool m_extendedS3DestinationUpdateHasBeenSet = false;
215
216 RedshiftDestinationUpdate m_redshiftDestinationUpdate;
217 bool m_redshiftDestinationUpdateHasBeenSet = false;
218
219 ElasticsearchDestinationUpdate m_elasticsearchDestinationUpdate;
220 bool m_elasticsearchDestinationUpdateHasBeenSet = false;
221
222 AmazonopensearchserviceDestinationUpdate m_amazonopensearchserviceDestinationUpdate;
223 bool m_amazonopensearchserviceDestinationUpdateHasBeenSet = false;
224
225 SplunkDestinationUpdate m_splunkDestinationUpdate;
226 bool m_splunkDestinationUpdateHasBeenSet = false;
227
228 HttpEndpointDestinationUpdate m_httpEndpointDestinationUpdate;
229 bool m_httpEndpointDestinationUpdateHasBeenSet = false;
230
231 AmazonOpenSearchServerlessDestinationUpdate m_amazonOpenSearchServerlessDestinationUpdate;
232 bool m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = false;
233
234 SnowflakeDestinationUpdate m_snowflakeDestinationUpdate;
235 bool m_snowflakeDestinationUpdateHasBeenSet = false;
236
237 IcebergDestinationUpdate m_icebergDestinationUpdate;
238 bool m_icebergDestinationUpdateHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace Firehose
243} // namespace Aws
UpdateDestinationRequest & WithRedshiftDestinationUpdate(const RedshiftDestinationUpdate &value)
void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate &&value)
const SplunkDestinationUpdate & GetSplunkDestinationUpdate() const
void SetIcebergDestinationUpdate(const IcebergDestinationUpdate &value)
void SetHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate &value)
void SetAmazonopensearchserviceDestinationUpdate(const AmazonopensearchserviceDestinationUpdate &value)
void SetAmazonOpenSearchServerlessDestinationUpdate(const AmazonOpenSearchServerlessDestinationUpdate &value)
UpdateDestinationRequest & WithAmazonopensearchserviceDestinationUpdate(const AmazonopensearchserviceDestinationUpdate &value)
void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate &&value)
UpdateDestinationRequest & WithAmazonOpenSearchServerlessDestinationUpdate(const AmazonOpenSearchServerlessDestinationUpdate &value)
void SetExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate &value)
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(const Aws::String &value)
AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const IcebergDestinationUpdate & GetIcebergDestinationUpdate() const
void SetRedshiftDestinationUpdate(RedshiftDestinationUpdate &&value)
void SetAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdate &&value)
UpdateDestinationRequest & WithIcebergDestinationUpdate(IcebergDestinationUpdate &&value)
virtual const char * GetServiceRequestName() const override
UpdateDestinationRequest & WithIcebergDestinationUpdate(const IcebergDestinationUpdate &value)
UpdateDestinationRequest & WithDestinationId(const Aws::String &value)
void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdate &&value)
UpdateDestinationRequest & WithDeliveryStreamName(const char *value)
const AmazonopensearchserviceDestinationUpdate & GetAmazonopensearchserviceDestinationUpdate() const
UpdateDestinationRequest & WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate &&value)
UpdateDestinationRequest & WithSplunkDestinationUpdate(SplunkDestinationUpdate &&value)
UpdateDestinationRequest & WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate &&value)
void SetAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdate &&value)
UpdateDestinationRequest & WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate &&value)
void SetIcebergDestinationUpdate(IcebergDestinationUpdate &&value)
const ExtendedS3DestinationUpdate & GetExtendedS3DestinationUpdate() const
const RedshiftDestinationUpdate & GetRedshiftDestinationUpdate() const
UpdateDestinationRequest & WithAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdate &&value)
const AmazonOpenSearchServerlessDestinationUpdate & GetAmazonOpenSearchServerlessDestinationUpdate() const
UpdateDestinationRequest & WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdate &&value)
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(const char *value)
void SetRedshiftDestinationUpdate(const RedshiftDestinationUpdate &value)
UpdateDestinationRequest & WithDeliveryStreamName(Aws::String &&value)
void SetSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate &value)
const ElasticsearchDestinationUpdate & GetElasticsearchDestinationUpdate() const
UpdateDestinationRequest & WithDestinationId(const char *value)
void SetSplunkDestinationUpdate(SplunkDestinationUpdate &&value)
UpdateDestinationRequest & WithHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate &value)
void SetCurrentDeliveryStreamVersionId(const Aws::String &value)
UpdateDestinationRequest & WithSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate &value)
void SetElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate &value)
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(Aws::String &&value)
UpdateDestinationRequest & WithDeliveryStreamName(const Aws::String &value)
const SnowflakeDestinationUpdate & GetSnowflakeDestinationUpdate() const
UpdateDestinationRequest & WithAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdate &&value)
void SetSplunkDestinationUpdate(const SplunkDestinationUpdate &value)
UpdateDestinationRequest & WithDestinationId(Aws::String &&value)
UpdateDestinationRequest & WithSplunkDestinationUpdate(const SplunkDestinationUpdate &value)
UpdateDestinationRequest & WithExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate &value)
AWS_FIREHOSE_API Aws::String SerializePayload() const override
void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate &&value)
const HttpEndpointDestinationUpdate & GetHttpEndpointDestinationUpdate() const
UpdateDestinationRequest & WithElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate &value)
UpdateDestinationRequest & WithRedshiftDestinationUpdate(RedshiftDestinationUpdate &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String