AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExtendedS3DestinationUpdate.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/BufferingHints.h>
10#include <aws/firehose/model/CompressionFormat.h>
11#include <aws/firehose/model/EncryptionConfiguration.h>
12#include <aws/firehose/model/CloudWatchLoggingOptions.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/S3BackupMode.h>
15#include <aws/firehose/model/S3DestinationUpdate.h>
16#include <aws/firehose/model/DataFormatConversionConfiguration.h>
17#include <aws/firehose/model/DynamicPartitioningConfiguration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Firehose
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_FIREHOSE_API ExtendedS3DestinationUpdate() = default;
47 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
57 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
58 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
59 template<typename RoleARNT = Aws::String>
60 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
61 template<typename RoleARNT = Aws::String>
62 ExtendedS3DestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
75 template<typename BucketARNT = Aws::String>
76 ExtendedS3DestinationUpdate& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
78
80
86 inline const Aws::String& GetPrefix() const { return m_prefix; }
87 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
88 template<typename PrefixT = Aws::String>
89 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
90 template<typename PrefixT = Aws::String>
91 ExtendedS3DestinationUpdate& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
93
95
102 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
103 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
104 template<typename ErrorOutputPrefixT = Aws::String>
105 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value); }
106 template<typename ErrorOutputPrefixT = Aws::String>
107 ExtendedS3DestinationUpdate& WithErrorOutputPrefix(ErrorOutputPrefixT&& value) { SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value)); return *this;}
109
111
114 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
115 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
116 template<typename BufferingHintsT = BufferingHints>
117 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
118 template<typename BufferingHintsT = BufferingHints>
119 ExtendedS3DestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
121
123
127 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
128 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
129 inline void SetCompressionFormat(CompressionFormat value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
132
134
138 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
139 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
140 template<typename EncryptionConfigurationT = EncryptionConfiguration>
141 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
142 template<typename EncryptionConfigurationT = EncryptionConfiguration>
143 ExtendedS3DestinationUpdate& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
145
147
150 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
151 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
152 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
153 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
154 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
155 ExtendedS3DestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
157
159
162 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
163 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
164 template<typename ProcessingConfigurationT = ProcessingConfiguration>
165 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
166 template<typename ProcessingConfigurationT = ProcessingConfiguration>
167 ExtendedS3DestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
169
171
176 inline S3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
177 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
178 inline void SetS3BackupMode(S3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
181
183
186 inline const S3DestinationUpdate& GetS3BackupUpdate() const { return m_s3BackupUpdate; }
187 inline bool S3BackupUpdateHasBeenSet() const { return m_s3BackupUpdateHasBeenSet; }
188 template<typename S3BackupUpdateT = S3DestinationUpdate>
189 void SetS3BackupUpdate(S3BackupUpdateT&& value) { m_s3BackupUpdateHasBeenSet = true; m_s3BackupUpdate = std::forward<S3BackupUpdateT>(value); }
190 template<typename S3BackupUpdateT = S3DestinationUpdate>
191 ExtendedS3DestinationUpdate& WithS3BackupUpdate(S3BackupUpdateT&& value) { SetS3BackupUpdate(std::forward<S3BackupUpdateT>(value)); return *this;}
193
195
199 inline const DataFormatConversionConfiguration& GetDataFormatConversionConfiguration() const { return m_dataFormatConversionConfiguration; }
200 inline bool DataFormatConversionConfigurationHasBeenSet() const { return m_dataFormatConversionConfigurationHasBeenSet; }
201 template<typename DataFormatConversionConfigurationT = DataFormatConversionConfiguration>
202 void SetDataFormatConversionConfiguration(DataFormatConversionConfigurationT&& value) { m_dataFormatConversionConfigurationHasBeenSet = true; m_dataFormatConversionConfiguration = std::forward<DataFormatConversionConfigurationT>(value); }
203 template<typename DataFormatConversionConfigurationT = DataFormatConversionConfiguration>
204 ExtendedS3DestinationUpdate& WithDataFormatConversionConfiguration(DataFormatConversionConfigurationT&& value) { SetDataFormatConversionConfiguration(std::forward<DataFormatConversionConfigurationT>(value)); return *this;}
206
208
214 inline const DynamicPartitioningConfiguration& GetDynamicPartitioningConfiguration() const { return m_dynamicPartitioningConfiguration; }
215 inline bool DynamicPartitioningConfigurationHasBeenSet() const { return m_dynamicPartitioningConfigurationHasBeenSet; }
216 template<typename DynamicPartitioningConfigurationT = DynamicPartitioningConfiguration>
217 void SetDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT&& value) { m_dynamicPartitioningConfigurationHasBeenSet = true; m_dynamicPartitioningConfiguration = std::forward<DynamicPartitioningConfigurationT>(value); }
218 template<typename DynamicPartitioningConfigurationT = DynamicPartitioningConfiguration>
219 ExtendedS3DestinationUpdate& WithDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT&& value) { SetDynamicPartitioningConfiguration(std::forward<DynamicPartitioningConfigurationT>(value)); return *this;}
221
223
226 inline const Aws::String& GetFileExtension() const { return m_fileExtension; }
227 inline bool FileExtensionHasBeenSet() const { return m_fileExtensionHasBeenSet; }
228 template<typename FileExtensionT = Aws::String>
229 void SetFileExtension(FileExtensionT&& value) { m_fileExtensionHasBeenSet = true; m_fileExtension = std::forward<FileExtensionT>(value); }
230 template<typename FileExtensionT = Aws::String>
231 ExtendedS3DestinationUpdate& WithFileExtension(FileExtensionT&& value) { SetFileExtension(std::forward<FileExtensionT>(value)); return *this;}
233
235
238 inline const Aws::String& GetCustomTimeZone() const { return m_customTimeZone; }
239 inline bool CustomTimeZoneHasBeenSet() const { return m_customTimeZoneHasBeenSet; }
240 template<typename CustomTimeZoneT = Aws::String>
241 void SetCustomTimeZone(CustomTimeZoneT&& value) { m_customTimeZoneHasBeenSet = true; m_customTimeZone = std::forward<CustomTimeZoneT>(value); }
242 template<typename CustomTimeZoneT = Aws::String>
243 ExtendedS3DestinationUpdate& WithCustomTimeZone(CustomTimeZoneT&& value) { SetCustomTimeZone(std::forward<CustomTimeZoneT>(value)); return *this;}
245 private:
246
247 Aws::String m_roleARN;
248 bool m_roleARNHasBeenSet = false;
249
250 Aws::String m_bucketARN;
251 bool m_bucketARNHasBeenSet = false;
252
253 Aws::String m_prefix;
254 bool m_prefixHasBeenSet = false;
255
256 Aws::String m_errorOutputPrefix;
257 bool m_errorOutputPrefixHasBeenSet = false;
258
259 BufferingHints m_bufferingHints;
260 bool m_bufferingHintsHasBeenSet = false;
261
263 bool m_compressionFormatHasBeenSet = false;
264
265 EncryptionConfiguration m_encryptionConfiguration;
266 bool m_encryptionConfigurationHasBeenSet = false;
267
268 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
269 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
270
271 ProcessingConfiguration m_processingConfiguration;
272 bool m_processingConfigurationHasBeenSet = false;
273
274 S3BackupMode m_s3BackupMode{S3BackupMode::NOT_SET};
275 bool m_s3BackupModeHasBeenSet = false;
276
277 S3DestinationUpdate m_s3BackupUpdate;
278 bool m_s3BackupUpdateHasBeenSet = false;
279
280 DataFormatConversionConfiguration m_dataFormatConversionConfiguration;
281 bool m_dataFormatConversionConfigurationHasBeenSet = false;
282
283 DynamicPartitioningConfiguration m_dynamicPartitioningConfiguration;
284 bool m_dynamicPartitioningConfigurationHasBeenSet = false;
285
286 Aws::String m_fileExtension;
287 bool m_fileExtensionHasBeenSet = false;
288
289 Aws::String m_customTimeZone;
290 bool m_customTimeZoneHasBeenSet = false;
291 };
292
293} // namespace Model
294} // namespace Firehose
295} // namespace Aws
ExtendedS3DestinationUpdate & WithDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ExtendedS3DestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ExtendedS3DestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
ExtendedS3DestinationUpdate & WithRoleARN(RoleARNT &&value)
ExtendedS3DestinationUpdate & WithS3BackupMode(S3BackupMode value)
AWS_FIREHOSE_API ExtendedS3DestinationUpdate()=default
const DataFormatConversionConfiguration & GetDataFormatConversionConfiguration() const
ExtendedS3DestinationUpdate & WithFileExtension(FileExtensionT &&value)
ExtendedS3DestinationUpdate & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
ExtendedS3DestinationUpdate & WithS3BackupUpdate(S3BackupUpdateT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
ExtendedS3DestinationUpdate & WithDataFormatConversionConfiguration(DataFormatConversionConfigurationT &&value)
ExtendedS3DestinationUpdate & WithCompressionFormat(CompressionFormat value)
ExtendedS3DestinationUpdate & WithBucketARN(BucketARNT &&value)
ExtendedS3DestinationUpdate & WithCustomTimeZone(CustomTimeZoneT &&value)
void SetDynamicPartitioningConfiguration(DynamicPartitioningConfigurationT &&value)
AWS_FIREHOSE_API ExtendedS3DestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const DynamicPartitioningConfiguration & GetDynamicPartitioningConfiguration() const
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
ExtendedS3DestinationUpdate & WithPrefix(PrefixT &&value)
AWS_FIREHOSE_API ExtendedS3DestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
ExtendedS3DestinationUpdate & WithErrorOutputPrefix(ErrorOutputPrefixT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetDataFormatConversionConfiguration(DataFormatConversionConfigurationT &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
ExtendedS3DestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue