AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExtendedS3DestinationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/BufferingHints.h>
10#include <aws/firehose/model/CloudWatchLoggingOptions.h>
11#include <aws/firehose/model/CompressionFormat.h>
12#include <aws/firehose/model/DataFormatConversionConfiguration.h>
13#include <aws/firehose/model/DynamicPartitioningConfiguration.h>
14#include <aws/firehose/model/EncryptionConfiguration.h>
15#include <aws/firehose/model/ProcessingConfiguration.h>
16#include <aws/firehose/model/S3BackupMode.h>
17#include <aws/firehose/model/S3DestinationConfiguration.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose {
29namespace Model {
30
38 public:
39 AWS_FIREHOSE_API ExtendedS3DestinationConfiguration() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
51 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
52 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
53 template <typename RoleARNT = Aws::String>
54 void SetRoleARN(RoleARNT&& value) {
55 m_roleARNHasBeenSet = true;
56 m_roleARN = std::forward<RoleARNT>(value);
57 }
58 template <typename RoleARNT = Aws::String>
60 SetRoleARN(std::forward<RoleARNT>(value));
61 return *this;
62 }
64
66
71 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
72 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
73 template <typename BucketARNT = Aws::String>
74 void SetBucketARN(BucketARNT&& value) {
75 m_bucketARNHasBeenSet = true;
76 m_bucketARN = std::forward<BucketARNT>(value);
77 }
78 template <typename BucketARNT = Aws::String>
80 SetBucketARN(std::forward<BucketARNT>(value));
81 return *this;
82 }
84
86
92 inline const Aws::String& GetPrefix() const { return m_prefix; }
93 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
94 template <typename PrefixT = Aws::String>
95 void SetPrefix(PrefixT&& value) {
96 m_prefixHasBeenSet = true;
97 m_prefix = std::forward<PrefixT>(value);
98 }
99 template <typename PrefixT = Aws::String>
101 SetPrefix(std::forward<PrefixT>(value));
102 return *this;
103 }
105
107
114 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
115 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
116 template <typename ErrorOutputPrefixT = Aws::String>
117 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) {
118 m_errorOutputPrefixHasBeenSet = true;
119 m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value);
120 }
121 template <typename ErrorOutputPrefixT = Aws::String>
123 SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value));
124 return *this;
125 }
127
129
132 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
133 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
134 template <typename BufferingHintsT = BufferingHints>
135 void SetBufferingHints(BufferingHintsT&& value) {
136 m_bufferingHintsHasBeenSet = true;
137 m_bufferingHints = std::forward<BufferingHintsT>(value);
138 }
139 template <typename BufferingHintsT = BufferingHints>
141 SetBufferingHints(std::forward<BufferingHintsT>(value));
142 return *this;
143 }
145
147
151 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
152 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
154 m_compressionFormatHasBeenSet = true;
155 m_compressionFormat = value;
156 }
159 return *this;
160 }
162
164
168 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
169 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
170 template <typename EncryptionConfigurationT = EncryptionConfiguration>
171 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
172 m_encryptionConfigurationHasBeenSet = true;
173 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
174 }
175 template <typename EncryptionConfigurationT = EncryptionConfiguration>
177 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
178 return *this;
179 }
181
183
186 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
187 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
188 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
189 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
190 m_cloudWatchLoggingOptionsHasBeenSet = true;
191 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
192 }
193 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
195 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
196 return *this;
197 }
199
201
204 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
205 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
206 template <typename ProcessingConfigurationT = ProcessingConfiguration>
207 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
208 m_processingConfigurationHasBeenSet = true;
209 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
210 }
211 template <typename ProcessingConfigurationT = ProcessingConfiguration>
213 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
214 return *this;
215 }
217
219
224 inline S3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
225 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
226 inline void SetS3BackupMode(S3BackupMode value) {
227 m_s3BackupModeHasBeenSet = true;
228 m_s3BackupMode = value;
229 }
231 SetS3BackupMode(value);
232 return *this;
233 }
235
237
240 inline const S3DestinationConfiguration& GetS3BackupConfiguration() const { return m_s3BackupConfiguration; }
241 inline bool S3BackupConfigurationHasBeenSet() const { return m_s3BackupConfigurationHasBeenSet; }
242 template <typename S3BackupConfigurationT = S3DestinationConfiguration>
243 void SetS3BackupConfiguration(S3BackupConfigurationT&& value) {
244 m_s3BackupConfigurationHasBeenSet = true;
245 m_s3BackupConfiguration = std::forward<S3BackupConfigurationT>(value);
246 }
247 template <typename S3BackupConfigurationT = S3DestinationConfiguration>
249 SetS3BackupConfiguration(std::forward<S3BackupConfigurationT>(value));
250 return *this;
251 }
253
255
260 return m_dataFormatConversionConfiguration;
261 }
262 inline bool DataFormatConversionConfigurationHasBeenSet() const { return m_dataFormatConversionConfigurationHasBeenSet; }
263 template <typename DataFormatConversionConfigurationT = DataFormatConversionConfiguration>
264 void SetDataFormatConversionConfiguration(DataFormatConversionConfigurationT&& value) {
265 m_dataFormatConversionConfigurationHasBeenSet = true;
266 m_dataFormatConversionConfiguration = std::forward<DataFormatConversionConfigurationT>(value);
267 }
268 template <typename DataFormatConversionConfigurationT = DataFormatConversionConfiguration>
270 SetDataFormatConversionConfiguration(std::forward<DataFormatConversionConfigurationT>(value));
271 return *this;
272 }
274
276
282 inline const DynamicPartitioningConfiguration& GetDynamicPartitioningConfiguration() const { return m_dynamicPartitioningConfiguration; }
283 inline bool DynamicPartitioningConfigurationHasBeenSet() const { return m_dynamicPartitioningConfigurationHasBeenSet; }
284 template <typename DynamicPartitioningConfigurationT = DynamicPartitioningConfiguration>
285 void SetDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT&& value) {
286 m_dynamicPartitioningConfigurationHasBeenSet = true;
287 m_dynamicPartitioningConfiguration = std::forward<DynamicPartitioningConfigurationT>(value);
288 }
289 template <typename DynamicPartitioningConfigurationT = DynamicPartitioningConfiguration>
291 SetDynamicPartitioningConfiguration(std::forward<DynamicPartitioningConfigurationT>(value));
292 return *this;
293 }
295
297
300 inline const Aws::String& GetFileExtension() const { return m_fileExtension; }
301 inline bool FileExtensionHasBeenSet() const { return m_fileExtensionHasBeenSet; }
302 template <typename FileExtensionT = Aws::String>
303 void SetFileExtension(FileExtensionT&& value) {
304 m_fileExtensionHasBeenSet = true;
305 m_fileExtension = std::forward<FileExtensionT>(value);
306 }
307 template <typename FileExtensionT = Aws::String>
309 SetFileExtension(std::forward<FileExtensionT>(value));
310 return *this;
311 }
313
315
318 inline const Aws::String& GetCustomTimeZone() const { return m_customTimeZone; }
319 inline bool CustomTimeZoneHasBeenSet() const { return m_customTimeZoneHasBeenSet; }
320 template <typename CustomTimeZoneT = Aws::String>
321 void SetCustomTimeZone(CustomTimeZoneT&& value) {
322 m_customTimeZoneHasBeenSet = true;
323 m_customTimeZone = std::forward<CustomTimeZoneT>(value);
324 }
325 template <typename CustomTimeZoneT = Aws::String>
327 SetCustomTimeZone(std::forward<CustomTimeZoneT>(value));
328 return *this;
329 }
331 private:
332 Aws::String m_roleARN;
333
334 Aws::String m_bucketARN;
335
336 Aws::String m_prefix;
337
338 Aws::String m_errorOutputPrefix;
339
340 BufferingHints m_bufferingHints;
341
343
344 EncryptionConfiguration m_encryptionConfiguration;
345
346 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
347
348 ProcessingConfiguration m_processingConfiguration;
349
350 S3BackupMode m_s3BackupMode{S3BackupMode::NOT_SET};
351
352 S3DestinationConfiguration m_s3BackupConfiguration;
353
354 DataFormatConversionConfiguration m_dataFormatConversionConfiguration;
355
356 DynamicPartitioningConfiguration m_dynamicPartitioningConfiguration;
357
358 Aws::String m_fileExtension;
359
360 Aws::String m_customTimeZone;
361 bool m_roleARNHasBeenSet = false;
362 bool m_bucketARNHasBeenSet = false;
363 bool m_prefixHasBeenSet = false;
364 bool m_errorOutputPrefixHasBeenSet = false;
365 bool m_bufferingHintsHasBeenSet = false;
366 bool m_compressionFormatHasBeenSet = false;
367 bool m_encryptionConfigurationHasBeenSet = false;
368 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
369 bool m_processingConfigurationHasBeenSet = false;
370 bool m_s3BackupModeHasBeenSet = false;
371 bool m_s3BackupConfigurationHasBeenSet = false;
372 bool m_dataFormatConversionConfigurationHasBeenSet = false;
373 bool m_dynamicPartitioningConfigurationHasBeenSet = false;
374 bool m_fileExtensionHasBeenSet = false;
375 bool m_customTimeZoneHasBeenSet = false;
376};
377
378} // namespace Model
379} // namespace Firehose
380} // namespace Aws
ExtendedS3DestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
ExtendedS3DestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
ExtendedS3DestinationConfiguration & WithCustomTimeZone(CustomTimeZoneT &&value)
ExtendedS3DestinationConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
ExtendedS3DestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ExtendedS3DestinationConfiguration & WithS3BackupMode(S3BackupMode value)
ExtendedS3DestinationConfiguration & WithFileExtension(FileExtensionT &&value)
ExtendedS3DestinationConfiguration & WithDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT &&value)
ExtendedS3DestinationConfiguration & WithS3BackupConfiguration(S3BackupConfigurationT &&value)
ExtendedS3DestinationConfiguration & WithErrorOutputPrefix(ErrorOutputPrefixT &&value)
ExtendedS3DestinationConfiguration & WithBucketARN(BucketARNT &&value)
void SetDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT &&value)
AWS_FIREHOSE_API ExtendedS3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExtendedS3DestinationConfiguration & WithRoleARN(RoleARNT &&value)
ExtendedS3DestinationConfiguration & WithDataFormatConversionConfiguration(DataFormatConversionConfigurationT &&value)
void SetDataFormatConversionConfiguration(DataFormatConversionConfigurationT &&value)
ExtendedS3DestinationConfiguration & WithCompressionFormat(CompressionFormat value)
AWS_FIREHOSE_API ExtendedS3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const DataFormatConversionConfiguration & GetDataFormatConversionConfiguration() const
const DynamicPartitioningConfiguration & GetDynamicPartitioningConfiguration() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ExtendedS3DestinationConfiguration & WithPrefix(PrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue