AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DeliveryStreamNameT = Aws::String>
53 void SetDeliveryStreamName(DeliveryStreamNameT&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value); }
54 template<typename DeliveryStreamNameT = Aws::String>
55 UpdateDestinationRequest& WithDeliveryStreamName(DeliveryStreamNameT&& value) { SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value)); return *this;}
57
59
67 inline const Aws::String& GetCurrentDeliveryStreamVersionId() const { return m_currentDeliveryStreamVersionId; }
68 inline bool CurrentDeliveryStreamVersionIdHasBeenSet() const { return m_currentDeliveryStreamVersionIdHasBeenSet; }
69 template<typename CurrentDeliveryStreamVersionIdT = Aws::String>
70 void SetCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT&& value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId = std::forward<CurrentDeliveryStreamVersionIdT>(value); }
71 template<typename CurrentDeliveryStreamVersionIdT = Aws::String>
72 UpdateDestinationRequest& WithCurrentDeliveryStreamVersionId(CurrentDeliveryStreamVersionIdT&& value) { SetCurrentDeliveryStreamVersionId(std::forward<CurrentDeliveryStreamVersionIdT>(value)); return *this;}
74
76
79 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
80 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
81 template<typename DestinationIdT = Aws::String>
82 void SetDestinationId(DestinationIdT&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::forward<DestinationIdT>(value); }
83 template<typename DestinationIdT = Aws::String>
84 UpdateDestinationRequest& WithDestinationId(DestinationIdT&& value) { SetDestinationId(std::forward<DestinationIdT>(value)); return *this;}
86
88
91 inline const ExtendedS3DestinationUpdate& GetExtendedS3DestinationUpdate() const { return m_extendedS3DestinationUpdate; }
92 inline bool ExtendedS3DestinationUpdateHasBeenSet() const { return m_extendedS3DestinationUpdateHasBeenSet; }
93 template<typename ExtendedS3DestinationUpdateT = ExtendedS3DestinationUpdate>
94 void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT&& value) { m_extendedS3DestinationUpdateHasBeenSet = true; m_extendedS3DestinationUpdate = std::forward<ExtendedS3DestinationUpdateT>(value); }
95 template<typename ExtendedS3DestinationUpdateT = ExtendedS3DestinationUpdate>
96 UpdateDestinationRequest& WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdateT&& value) { SetExtendedS3DestinationUpdate(std::forward<ExtendedS3DestinationUpdateT>(value)); return *this;}
98
100
103 inline const RedshiftDestinationUpdate& GetRedshiftDestinationUpdate() const { return m_redshiftDestinationUpdate; }
104 inline bool RedshiftDestinationUpdateHasBeenSet() const { return m_redshiftDestinationUpdateHasBeenSet; }
105 template<typename RedshiftDestinationUpdateT = RedshiftDestinationUpdate>
106 void SetRedshiftDestinationUpdate(RedshiftDestinationUpdateT&& value) { m_redshiftDestinationUpdateHasBeenSet = true; m_redshiftDestinationUpdate = std::forward<RedshiftDestinationUpdateT>(value); }
107 template<typename RedshiftDestinationUpdateT = RedshiftDestinationUpdate>
108 UpdateDestinationRequest& WithRedshiftDestinationUpdate(RedshiftDestinationUpdateT&& value) { SetRedshiftDestinationUpdate(std::forward<RedshiftDestinationUpdateT>(value)); return *this;}
110
112
115 inline const ElasticsearchDestinationUpdate& GetElasticsearchDestinationUpdate() const { return m_elasticsearchDestinationUpdate; }
116 inline bool ElasticsearchDestinationUpdateHasBeenSet() const { return m_elasticsearchDestinationUpdateHasBeenSet; }
117 template<typename ElasticsearchDestinationUpdateT = ElasticsearchDestinationUpdate>
118 void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT&& value) { m_elasticsearchDestinationUpdateHasBeenSet = true; m_elasticsearchDestinationUpdate = std::forward<ElasticsearchDestinationUpdateT>(value); }
119 template<typename ElasticsearchDestinationUpdateT = ElasticsearchDestinationUpdate>
120 UpdateDestinationRequest& WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdateT&& value) { SetElasticsearchDestinationUpdate(std::forward<ElasticsearchDestinationUpdateT>(value)); return *this;}
122
124
127 inline const AmazonopensearchserviceDestinationUpdate& GetAmazonopensearchserviceDestinationUpdate() const { return m_amazonopensearchserviceDestinationUpdate; }
128 inline bool AmazonopensearchserviceDestinationUpdateHasBeenSet() const { return m_amazonopensearchserviceDestinationUpdateHasBeenSet; }
129 template<typename AmazonopensearchserviceDestinationUpdateT = AmazonopensearchserviceDestinationUpdate>
130 void SetAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT&& value) { m_amazonopensearchserviceDestinationUpdateHasBeenSet = true; m_amazonopensearchserviceDestinationUpdate = std::forward<AmazonopensearchserviceDestinationUpdateT>(value); }
131 template<typename AmazonopensearchserviceDestinationUpdateT = AmazonopensearchserviceDestinationUpdate>
132 UpdateDestinationRequest& WithAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdateT&& value) { SetAmazonopensearchserviceDestinationUpdate(std::forward<AmazonopensearchserviceDestinationUpdateT>(value)); return *this;}
134
136
139 inline const SplunkDestinationUpdate& GetSplunkDestinationUpdate() const { return m_splunkDestinationUpdate; }
140 inline bool SplunkDestinationUpdateHasBeenSet() const { return m_splunkDestinationUpdateHasBeenSet; }
141 template<typename SplunkDestinationUpdateT = SplunkDestinationUpdate>
142 void SetSplunkDestinationUpdate(SplunkDestinationUpdateT&& value) { m_splunkDestinationUpdateHasBeenSet = true; m_splunkDestinationUpdate = std::forward<SplunkDestinationUpdateT>(value); }
143 template<typename SplunkDestinationUpdateT = SplunkDestinationUpdate>
144 UpdateDestinationRequest& WithSplunkDestinationUpdate(SplunkDestinationUpdateT&& value) { SetSplunkDestinationUpdate(std::forward<SplunkDestinationUpdateT>(value)); return *this;}
146
148
151 inline const HttpEndpointDestinationUpdate& GetHttpEndpointDestinationUpdate() const { return m_httpEndpointDestinationUpdate; }
152 inline bool HttpEndpointDestinationUpdateHasBeenSet() const { return m_httpEndpointDestinationUpdateHasBeenSet; }
153 template<typename HttpEndpointDestinationUpdateT = HttpEndpointDestinationUpdate>
154 void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT&& value) { m_httpEndpointDestinationUpdateHasBeenSet = true; m_httpEndpointDestinationUpdate = std::forward<HttpEndpointDestinationUpdateT>(value); }
155 template<typename HttpEndpointDestinationUpdateT = HttpEndpointDestinationUpdate>
156 UpdateDestinationRequest& WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdateT&& value) { SetHttpEndpointDestinationUpdate(std::forward<HttpEndpointDestinationUpdateT>(value)); return *this;}
158
160
164 inline const AmazonOpenSearchServerlessDestinationUpdate& GetAmazonOpenSearchServerlessDestinationUpdate() const { return m_amazonOpenSearchServerlessDestinationUpdate; }
165 inline bool AmazonOpenSearchServerlessDestinationUpdateHasBeenSet() const { return m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet; }
166 template<typename AmazonOpenSearchServerlessDestinationUpdateT = AmazonOpenSearchServerlessDestinationUpdate>
167 void SetAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT&& value) { m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = true; m_amazonOpenSearchServerlessDestinationUpdate = std::forward<AmazonOpenSearchServerlessDestinationUpdateT>(value); }
168 template<typename AmazonOpenSearchServerlessDestinationUpdateT = AmazonOpenSearchServerlessDestinationUpdate>
169 UpdateDestinationRequest& WithAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdateT&& value) { SetAmazonOpenSearchServerlessDestinationUpdate(std::forward<AmazonOpenSearchServerlessDestinationUpdateT>(value)); return *this;}
171
173
176 inline const SnowflakeDestinationUpdate& GetSnowflakeDestinationUpdate() const { return m_snowflakeDestinationUpdate; }
177 inline bool SnowflakeDestinationUpdateHasBeenSet() const { return m_snowflakeDestinationUpdateHasBeenSet; }
178 template<typename SnowflakeDestinationUpdateT = SnowflakeDestinationUpdate>
179 void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT&& value) { m_snowflakeDestinationUpdateHasBeenSet = true; m_snowflakeDestinationUpdate = std::forward<SnowflakeDestinationUpdateT>(value); }
180 template<typename SnowflakeDestinationUpdateT = SnowflakeDestinationUpdate>
181 UpdateDestinationRequest& WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdateT&& value) { SetSnowflakeDestinationUpdate(std::forward<SnowflakeDestinationUpdateT>(value)); return *this;}
183
185
188 inline const IcebergDestinationUpdate& GetIcebergDestinationUpdate() const { return m_icebergDestinationUpdate; }
189 inline bool IcebergDestinationUpdateHasBeenSet() const { return m_icebergDestinationUpdateHasBeenSet; }
190 template<typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
191 void SetIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) { m_icebergDestinationUpdateHasBeenSet = true; m_icebergDestinationUpdate = std::forward<IcebergDestinationUpdateT>(value); }
192 template<typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
193 UpdateDestinationRequest& WithIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) { SetIcebergDestinationUpdate(std::forward<IcebergDestinationUpdateT>(value)); return *this;}
195 private:
196
197 Aws::String m_deliveryStreamName;
198 bool m_deliveryStreamNameHasBeenSet = false;
199
200 Aws::String m_currentDeliveryStreamVersionId;
201 bool m_currentDeliveryStreamVersionIdHasBeenSet = false;
202
203 Aws::String m_destinationId;
204 bool m_destinationIdHasBeenSet = false;
205
206 ExtendedS3DestinationUpdate m_extendedS3DestinationUpdate;
207 bool m_extendedS3DestinationUpdateHasBeenSet = false;
208
209 RedshiftDestinationUpdate m_redshiftDestinationUpdate;
210 bool m_redshiftDestinationUpdateHasBeenSet = false;
211
212 ElasticsearchDestinationUpdate m_elasticsearchDestinationUpdate;
213 bool m_elasticsearchDestinationUpdateHasBeenSet = false;
214
215 AmazonopensearchserviceDestinationUpdate m_amazonopensearchserviceDestinationUpdate;
216 bool m_amazonopensearchserviceDestinationUpdateHasBeenSet = false;
217
218 SplunkDestinationUpdate m_splunkDestinationUpdate;
219 bool m_splunkDestinationUpdateHasBeenSet = false;
220
221 HttpEndpointDestinationUpdate m_httpEndpointDestinationUpdate;
222 bool m_httpEndpointDestinationUpdateHasBeenSet = false;
223
224 AmazonOpenSearchServerlessDestinationUpdate m_amazonOpenSearchServerlessDestinationUpdate;
225 bool m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet = false;
226
227 SnowflakeDestinationUpdate m_snowflakeDestinationUpdate;
228 bool m_snowflakeDestinationUpdateHasBeenSet = false;
229
230 IcebergDestinationUpdate m_icebergDestinationUpdate;
231 bool m_icebergDestinationUpdateHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace Firehose
236} // 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