AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeliveryStreamRequest.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/DeliveryStreamType.h>
11#include <aws/firehose/model/KinesisStreamSourceConfiguration.h>
12#include <aws/firehose/model/DeliveryStreamEncryptionConfigurationInput.h>
13#include <aws/firehose/model/ExtendedS3DestinationConfiguration.h>
14#include <aws/firehose/model/RedshiftDestinationConfiguration.h>
15#include <aws/firehose/model/ElasticsearchDestinationConfiguration.h>
16#include <aws/firehose/model/AmazonopensearchserviceDestinationConfiguration.h>
17#include <aws/firehose/model/SplunkDestinationConfiguration.h>
18#include <aws/firehose/model/HttpEndpointDestinationConfiguration.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/firehose/model/AmazonOpenSearchServerlessDestinationConfiguration.h>
21#include <aws/firehose/model/MSKSourceConfiguration.h>
22#include <aws/firehose/model/SnowflakeDestinationConfiguration.h>
23#include <aws/firehose/model/IcebergDestinationConfiguration.h>
24#include <aws/firehose/model/Tag.h>
25#include <utility>
26
27namespace Aws
28{
29namespace Firehose
30{
31namespace Model
32{
33
37 {
38 public:
39 AWS_FIREHOSE_API CreateDeliveryStreamRequest();
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CreateDeliveryStream"; }
46
47 AWS_FIREHOSE_API Aws::String SerializePayload() const override;
48
50
51
53
59 inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
60 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
61 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
62 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
63 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
65 inline CreateDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
66 inline CreateDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
68
70
77 inline const DeliveryStreamType& GetDeliveryStreamType() const{ return m_deliveryStreamType; }
78 inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
79 inline void SetDeliveryStreamType(const DeliveryStreamType& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; }
80 inline void SetDeliveryStreamType(DeliveryStreamType&& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = std::move(value); }
84
86
91 inline const KinesisStreamSourceConfiguration& GetKinesisStreamSourceConfiguration() const{ return m_kinesisStreamSourceConfiguration; }
92 inline bool KinesisStreamSourceConfigurationHasBeenSet() const { return m_kinesisStreamSourceConfigurationHasBeenSet; }
93 inline void SetKinesisStreamSourceConfiguration(const KinesisStreamSourceConfiguration& value) { m_kinesisStreamSourceConfigurationHasBeenSet = true; m_kinesisStreamSourceConfiguration = value; }
94 inline void SetKinesisStreamSourceConfiguration(KinesisStreamSourceConfiguration&& value) { m_kinesisStreamSourceConfigurationHasBeenSet = true; m_kinesisStreamSourceConfiguration = std::move(value); }
98
100
104 inline const DeliveryStreamEncryptionConfigurationInput& GetDeliveryStreamEncryptionConfigurationInput() const{ return m_deliveryStreamEncryptionConfigurationInput; }
105 inline bool DeliveryStreamEncryptionConfigurationInputHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationInputHasBeenSet; }
106 inline void SetDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = value; }
107 inline void SetDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput&& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = std::move(value); }
111
113
116 inline const ExtendedS3DestinationConfiguration& GetExtendedS3DestinationConfiguration() const{ return m_extendedS3DestinationConfiguration; }
117 inline bool ExtendedS3DestinationConfigurationHasBeenSet() const { return m_extendedS3DestinationConfigurationHasBeenSet; }
118 inline void SetExtendedS3DestinationConfiguration(const ExtendedS3DestinationConfiguration& value) { m_extendedS3DestinationConfigurationHasBeenSet = true; m_extendedS3DestinationConfiguration = value; }
119 inline void SetExtendedS3DestinationConfiguration(ExtendedS3DestinationConfiguration&& value) { m_extendedS3DestinationConfigurationHasBeenSet = true; m_extendedS3DestinationConfiguration = std::move(value); }
123
125
128 inline const RedshiftDestinationConfiguration& GetRedshiftDestinationConfiguration() const{ return m_redshiftDestinationConfiguration; }
129 inline bool RedshiftDestinationConfigurationHasBeenSet() const { return m_redshiftDestinationConfigurationHasBeenSet; }
130 inline void SetRedshiftDestinationConfiguration(const RedshiftDestinationConfiguration& value) { m_redshiftDestinationConfigurationHasBeenSet = true; m_redshiftDestinationConfiguration = value; }
131 inline void SetRedshiftDestinationConfiguration(RedshiftDestinationConfiguration&& value) { m_redshiftDestinationConfigurationHasBeenSet = true; m_redshiftDestinationConfiguration = std::move(value); }
135
137
140 inline const ElasticsearchDestinationConfiguration& GetElasticsearchDestinationConfiguration() const{ return m_elasticsearchDestinationConfiguration; }
141 inline bool ElasticsearchDestinationConfigurationHasBeenSet() const { return m_elasticsearchDestinationConfigurationHasBeenSet; }
142 inline void SetElasticsearchDestinationConfiguration(const ElasticsearchDestinationConfiguration& value) { m_elasticsearchDestinationConfigurationHasBeenSet = true; m_elasticsearchDestinationConfiguration = value; }
143 inline void SetElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration&& value) { m_elasticsearchDestinationConfigurationHasBeenSet = true; m_elasticsearchDestinationConfiguration = std::move(value); }
147
149
153 inline const AmazonopensearchserviceDestinationConfiguration& GetAmazonopensearchserviceDestinationConfiguration() const{ return m_amazonopensearchserviceDestinationConfiguration; }
154 inline bool AmazonopensearchserviceDestinationConfigurationHasBeenSet() const { return m_amazonopensearchserviceDestinationConfigurationHasBeenSet; }
155 inline void SetAmazonopensearchserviceDestinationConfiguration(const AmazonopensearchserviceDestinationConfiguration& value) { m_amazonopensearchserviceDestinationConfigurationHasBeenSet = true; m_amazonopensearchserviceDestinationConfiguration = value; }
156 inline void SetAmazonopensearchserviceDestinationConfiguration(AmazonopensearchserviceDestinationConfiguration&& value) { m_amazonopensearchserviceDestinationConfigurationHasBeenSet = true; m_amazonopensearchserviceDestinationConfiguration = std::move(value); }
160
162
165 inline const SplunkDestinationConfiguration& GetSplunkDestinationConfiguration() const{ return m_splunkDestinationConfiguration; }
166 inline bool SplunkDestinationConfigurationHasBeenSet() const { return m_splunkDestinationConfigurationHasBeenSet; }
167 inline void SetSplunkDestinationConfiguration(const SplunkDestinationConfiguration& value) { m_splunkDestinationConfigurationHasBeenSet = true; m_splunkDestinationConfiguration = value; }
168 inline void SetSplunkDestinationConfiguration(SplunkDestinationConfiguration&& value) { m_splunkDestinationConfigurationHasBeenSet = true; m_splunkDestinationConfiguration = std::move(value); }
172
174
178 inline const HttpEndpointDestinationConfiguration& GetHttpEndpointDestinationConfiguration() const{ return m_httpEndpointDestinationConfiguration; }
179 inline bool HttpEndpointDestinationConfigurationHasBeenSet() const { return m_httpEndpointDestinationConfigurationHasBeenSet; }
180 inline void SetHttpEndpointDestinationConfiguration(const HttpEndpointDestinationConfiguration& value) { m_httpEndpointDestinationConfigurationHasBeenSet = true; m_httpEndpointDestinationConfiguration = value; }
181 inline void SetHttpEndpointDestinationConfiguration(HttpEndpointDestinationConfiguration&& value) { m_httpEndpointDestinationConfigurationHasBeenSet = true; m_httpEndpointDestinationConfiguration = std::move(value); }
185
187
209 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
210 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
211 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
212 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
213 inline CreateDeliveryStreamRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
214 inline CreateDeliveryStreamRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
215 inline CreateDeliveryStreamRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
216 inline CreateDeliveryStreamRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
218
220
224 inline const AmazonOpenSearchServerlessDestinationConfiguration& GetAmazonOpenSearchServerlessDestinationConfiguration() const{ return m_amazonOpenSearchServerlessDestinationConfiguration; }
225 inline bool AmazonOpenSearchServerlessDestinationConfigurationHasBeenSet() const { return m_amazonOpenSearchServerlessDestinationConfigurationHasBeenSet; }
226 inline void SetAmazonOpenSearchServerlessDestinationConfiguration(const AmazonOpenSearchServerlessDestinationConfiguration& value) { m_amazonOpenSearchServerlessDestinationConfigurationHasBeenSet = true; m_amazonOpenSearchServerlessDestinationConfiguration = value; }
227 inline void SetAmazonOpenSearchServerlessDestinationConfiguration(AmazonOpenSearchServerlessDestinationConfiguration&& value) { m_amazonOpenSearchServerlessDestinationConfigurationHasBeenSet = true; m_amazonOpenSearchServerlessDestinationConfiguration = std::move(value); }
231
233
234 inline const MSKSourceConfiguration& GetMSKSourceConfiguration() const{ return m_mSKSourceConfiguration; }
235 inline bool MSKSourceConfigurationHasBeenSet() const { return m_mSKSourceConfigurationHasBeenSet; }
236 inline void SetMSKSourceConfiguration(const MSKSourceConfiguration& value) { m_mSKSourceConfigurationHasBeenSet = true; m_mSKSourceConfiguration = value; }
237 inline void SetMSKSourceConfiguration(MSKSourceConfiguration&& value) { m_mSKSourceConfigurationHasBeenSet = true; m_mSKSourceConfiguration = std::move(value); }
241
243
246 inline const SnowflakeDestinationConfiguration& GetSnowflakeDestinationConfiguration() const{ return m_snowflakeDestinationConfiguration; }
247 inline bool SnowflakeDestinationConfigurationHasBeenSet() const { return m_snowflakeDestinationConfigurationHasBeenSet; }
248 inline void SetSnowflakeDestinationConfiguration(const SnowflakeDestinationConfiguration& value) { m_snowflakeDestinationConfigurationHasBeenSet = true; m_snowflakeDestinationConfiguration = value; }
249 inline void SetSnowflakeDestinationConfiguration(SnowflakeDestinationConfiguration&& value) { m_snowflakeDestinationConfigurationHasBeenSet = true; m_snowflakeDestinationConfiguration = std::move(value); }
253
255
259 inline const IcebergDestinationConfiguration& GetIcebergDestinationConfiguration() const{ return m_icebergDestinationConfiguration; }
260 inline bool IcebergDestinationConfigurationHasBeenSet() const { return m_icebergDestinationConfigurationHasBeenSet; }
261 inline void SetIcebergDestinationConfiguration(const IcebergDestinationConfiguration& value) { m_icebergDestinationConfigurationHasBeenSet = true; m_icebergDestinationConfiguration = value; }
262 inline void SetIcebergDestinationConfiguration(IcebergDestinationConfiguration&& value) { m_icebergDestinationConfigurationHasBeenSet = true; m_icebergDestinationConfiguration = std::move(value); }
266 private:
267
268 Aws::String m_deliveryStreamName;
269 bool m_deliveryStreamNameHasBeenSet = false;
270
271 DeliveryStreamType m_deliveryStreamType;
272 bool m_deliveryStreamTypeHasBeenSet = false;
273
274 KinesisStreamSourceConfiguration m_kinesisStreamSourceConfiguration;
275 bool m_kinesisStreamSourceConfigurationHasBeenSet = false;
276
277 DeliveryStreamEncryptionConfigurationInput m_deliveryStreamEncryptionConfigurationInput;
278 bool m_deliveryStreamEncryptionConfigurationInputHasBeenSet = false;
279
280 ExtendedS3DestinationConfiguration m_extendedS3DestinationConfiguration;
281 bool m_extendedS3DestinationConfigurationHasBeenSet = false;
282
283 RedshiftDestinationConfiguration m_redshiftDestinationConfiguration;
284 bool m_redshiftDestinationConfigurationHasBeenSet = false;
285
286 ElasticsearchDestinationConfiguration m_elasticsearchDestinationConfiguration;
287 bool m_elasticsearchDestinationConfigurationHasBeenSet = false;
288
289 AmazonopensearchserviceDestinationConfiguration m_amazonopensearchserviceDestinationConfiguration;
290 bool m_amazonopensearchserviceDestinationConfigurationHasBeenSet = false;
291
292 SplunkDestinationConfiguration m_splunkDestinationConfiguration;
293 bool m_splunkDestinationConfigurationHasBeenSet = false;
294
295 HttpEndpointDestinationConfiguration m_httpEndpointDestinationConfiguration;
296 bool m_httpEndpointDestinationConfigurationHasBeenSet = false;
297
298 Aws::Vector<Tag> m_tags;
299 bool m_tagsHasBeenSet = false;
300
301 AmazonOpenSearchServerlessDestinationConfiguration m_amazonOpenSearchServerlessDestinationConfiguration;
302 bool m_amazonOpenSearchServerlessDestinationConfigurationHasBeenSet = false;
303
304 MSKSourceConfiguration m_mSKSourceConfiguration;
305 bool m_mSKSourceConfigurationHasBeenSet = false;
306
307 SnowflakeDestinationConfiguration m_snowflakeDestinationConfiguration;
308 bool m_snowflakeDestinationConfigurationHasBeenSet = false;
309
310 IcebergDestinationConfiguration m_icebergDestinationConfiguration;
311 bool m_icebergDestinationConfigurationHasBeenSet = false;
312 };
313
314} // namespace Model
315} // namespace Firehose
316} // namespace Aws
const SplunkDestinationConfiguration & GetSplunkDestinationConfiguration() const
CreateDeliveryStreamRequest & WithElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration &&value)
AWS_FIREHOSE_API Aws::String SerializePayload() const override
CreateDeliveryStreamRequest & WithMSKSourceConfiguration(const MSKSourceConfiguration &value)
CreateDeliveryStreamRequest & WithAmazonopensearchserviceDestinationConfiguration(AmazonopensearchserviceDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDeliveryStreamRequest & WithRedshiftDestinationConfiguration(const RedshiftDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithSplunkDestinationConfiguration(const SplunkDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithDeliveryStreamName(const Aws::String &value)
const MSKSourceConfiguration & GetMSKSourceConfiguration() const
CreateDeliveryStreamRequest & WithAmazonopensearchserviceDestinationConfiguration(const AmazonopensearchserviceDestinationConfiguration &value)
const IcebergDestinationConfiguration & GetIcebergDestinationConfiguration() const
CreateDeliveryStreamRequest & WithAmazonOpenSearchServerlessDestinationConfiguration(AmazonOpenSearchServerlessDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithRedshiftDestinationConfiguration(RedshiftDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithTags(Aws::Vector< Tag > &&value)
void SetAmazonopensearchserviceDestinationConfiguration(AmazonopensearchserviceDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithDeliveryStreamName(Aws::String &&value)
const HttpEndpointDestinationConfiguration & GetHttpEndpointDestinationConfiguration() const
CreateDeliveryStreamRequest & WithDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput &value)
const SnowflakeDestinationConfiguration & GetSnowflakeDestinationConfiguration() const
void SetSplunkDestinationConfiguration(SplunkDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithHttpEndpointDestinationConfiguration(const HttpEndpointDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithIcebergDestinationConfiguration(const IcebergDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithExtendedS3DestinationConfiguration(ExtendedS3DestinationConfiguration &&value)
CreateDeliveryStreamRequest & AddTags(Tag &&value)
CreateDeliveryStreamRequest & WithKinesisStreamSourceConfiguration(KinesisStreamSourceConfiguration &&value)
CreateDeliveryStreamRequest & WithDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput &&value)
AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAmazonOpenSearchServerlessDestinationConfiguration(const AmazonOpenSearchServerlessDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithDeliveryStreamType(const DeliveryStreamType &value)
CreateDeliveryStreamRequest & WithAmazonOpenSearchServerlessDestinationConfiguration(const AmazonOpenSearchServerlessDestinationConfiguration &value)
const ExtendedS3DestinationConfiguration & GetExtendedS3DestinationConfiguration() const
const KinesisStreamSourceConfiguration & GetKinesisStreamSourceConfiguration() const
void SetAmazonOpenSearchServerlessDestinationConfiguration(AmazonOpenSearchServerlessDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithElasticsearchDestinationConfiguration(const ElasticsearchDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithSplunkDestinationConfiguration(SplunkDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithSnowflakeDestinationConfiguration(const SnowflakeDestinationConfiguration &value)
void SetHttpEndpointDestinationConfiguration(const HttpEndpointDestinationConfiguration &value)
void SetHttpEndpointDestinationConfiguration(HttpEndpointDestinationConfiguration &&value)
void SetDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput &value)
void SetAmazonopensearchserviceDestinationConfiguration(const AmazonopensearchserviceDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithKinesisStreamSourceConfiguration(const KinesisStreamSourceConfiguration &value)
CreateDeliveryStreamRequest & WithDeliveryStreamName(const char *value)
void SetMSKSourceConfiguration(const MSKSourceConfiguration &value)
const AmazonOpenSearchServerlessDestinationConfiguration & GetAmazonOpenSearchServerlessDestinationConfiguration() const
void SetElasticsearchDestinationConfiguration(const ElasticsearchDestinationConfiguration &value)
void SetDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput &&value)
void SetKinesisStreamSourceConfiguration(KinesisStreamSourceConfiguration &&value)
void SetDeliveryStreamType(const DeliveryStreamType &value)
CreateDeliveryStreamRequest & AddTags(const Tag &value)
void SetMSKSourceConfiguration(MSKSourceConfiguration &&value)
void SetRedshiftDestinationConfiguration(RedshiftDestinationConfiguration &&value)
void SetRedshiftDestinationConfiguration(const RedshiftDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithSnowflakeDestinationConfiguration(SnowflakeDestinationConfiguration &&value)
CreateDeliveryStreamRequest & WithMSKSourceConfiguration(MSKSourceConfiguration &&value)
const AmazonopensearchserviceDestinationConfiguration & GetAmazonopensearchserviceDestinationConfiguration() const
void SetSnowflakeDestinationConfiguration(const SnowflakeDestinationConfiguration &value)
CreateDeliveryStreamRequest & WithExtendedS3DestinationConfiguration(const ExtendedS3DestinationConfiguration &value)
CreateDeliveryStreamRequest & WithIcebergDestinationConfiguration(IcebergDestinationConfiguration &&value)
virtual const char * GetServiceRequestName() const override
void SetIcebergDestinationConfiguration(const IcebergDestinationConfiguration &value)
void SetSnowflakeDestinationConfiguration(SnowflakeDestinationConfiguration &&value)
void SetExtendedS3DestinationConfiguration(const ExtendedS3DestinationConfiguration &value)
CreateDeliveryStreamRequest & WithDeliveryStreamType(DeliveryStreamType &&value)
void SetKinesisStreamSourceConfiguration(const KinesisStreamSourceConfiguration &value)
void SetSplunkDestinationConfiguration(const SplunkDestinationConfiguration &value)
const DeliveryStreamEncryptionConfigurationInput & GetDeliveryStreamEncryptionConfigurationInput() const
CreateDeliveryStreamRequest & WithHttpEndpointDestinationConfiguration(HttpEndpointDestinationConfiguration &&value)
void SetElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration &&value)
const RedshiftDestinationConfiguration & GetRedshiftDestinationConfiguration() const
void SetIcebergDestinationConfiguration(IcebergDestinationConfiguration &&value)
void SetExtendedS3DestinationConfiguration(ExtendedS3DestinationConfiguration &&value)
const ElasticsearchDestinationConfiguration & GetElasticsearchDestinationConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector