AWS SDK for C++  1.9.154
AWS SDK for C++
S3DestinationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace Firehose
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
51  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
52 
59  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
60 
67  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
68 
75  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
76 
83  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
84 
91  inline S3DestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
92 
99  inline S3DestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
100 
107  inline S3DestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
108 
109 
115  inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
116 
122  inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
123 
129  inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
130 
136  inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
137 
143  inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
144 
150  inline S3DestinationConfiguration& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
151 
157  inline S3DestinationConfiguration& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
158 
164  inline S3DestinationConfiguration& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
165 
166 
173  inline const Aws::String& GetPrefix() const{ return m_prefix; }
174 
181  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
182 
189  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
190 
197  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
198 
205  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
206 
213  inline S3DestinationConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
214 
221  inline S3DestinationConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
222 
229  inline S3DestinationConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;}
230 
231 
239  inline const Aws::String& GetErrorOutputPrefix() const{ return m_errorOutputPrefix; }
240 
248  inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
249 
257  inline void SetErrorOutputPrefix(const Aws::String& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = value; }
258 
266  inline void SetErrorOutputPrefix(Aws::String&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::move(value); }
267 
275  inline void SetErrorOutputPrefix(const char* value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix.assign(value); }
276 
284  inline S3DestinationConfiguration& WithErrorOutputPrefix(const Aws::String& value) { SetErrorOutputPrefix(value); return *this;}
285 
293  inline S3DestinationConfiguration& WithErrorOutputPrefix(Aws::String&& value) { SetErrorOutputPrefix(std::move(value)); return *this;}
294 
302  inline S3DestinationConfiguration& WithErrorOutputPrefix(const char* value) { SetErrorOutputPrefix(value); return *this;}
303 
304 
309  inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
310 
315  inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
316 
321  inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
322 
327  inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
328 
333  inline S3DestinationConfiguration& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;}
334 
339  inline S3DestinationConfiguration& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
340 
341 
349  inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
350 
358  inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
359 
367  inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
368 
376  inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = std::move(value); }
377 
385  inline S3DestinationConfiguration& WithCompressionFormat(const CompressionFormat& value) { SetCompressionFormat(value); return *this;}
386 
394  inline S3DestinationConfiguration& WithCompressionFormat(CompressionFormat&& value) { SetCompressionFormat(std::move(value)); return *this;}
395 
396 
401  inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
402 
407  inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
408 
413  inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
414 
419  inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
420 
425  inline S3DestinationConfiguration& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;}
426 
431  inline S3DestinationConfiguration& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;}
432 
433 
437  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
438 
442  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
443 
447  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
448 
452  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
453 
457  inline S3DestinationConfiguration& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
458 
462  inline S3DestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
463 
464  private:
465 
466  Aws::String m_roleARN;
467  bool m_roleARNHasBeenSet;
468 
469  Aws::String m_bucketARN;
470  bool m_bucketARNHasBeenSet;
471 
472  Aws::String m_prefix;
473  bool m_prefixHasBeenSet;
474 
475  Aws::String m_errorOutputPrefix;
476  bool m_errorOutputPrefixHasBeenSet;
477 
478  BufferingHints m_bufferingHints;
479  bool m_bufferingHintsHasBeenSet;
480 
481  CompressionFormat m_compressionFormat;
482  bool m_compressionFormatHasBeenSet;
483 
484  EncryptionConfiguration m_encryptionConfiguration;
485  bool m_encryptionConfigurationHasBeenSet;
486 
487  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
488  bool m_cloudWatchLoggingOptionsHasBeenSet;
489  };
490 
491 } // namespace Model
492 } // namespace Firehose
493 } // namespace Aws
Aws::Firehose::Model::S3DestinationConfiguration::WithPrefix
S3DestinationConfiguration & WithPrefix(const Aws::String &value)
Definition: S3DestinationConfiguration.h:213
Aws::Firehose::Model::S3DestinationConfiguration::operator=
S3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::S3DestinationConfiguration::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: S3DestinationConfiguration.h:51
Aws::Firehose::Model::S3DestinationConfiguration::WithBufferingHints
S3DestinationConfiguration & WithBufferingHints(const BufferingHints &value)
Definition: S3DestinationConfiguration.h:333
Aws::Firehose::Model::S3DestinationConfiguration::WithBucketARN
S3DestinationConfiguration & WithBucketARN(Aws::String &&value)
Definition: S3DestinationConfiguration.h:157
Aws::Firehose::Model::S3DestinationConfiguration::GetErrorOutputPrefix
const Aws::String & GetErrorOutputPrefix() const
Definition: S3DestinationConfiguration.h:239
Aws::Firehose::Model::CloudWatchLoggingOptions
Definition: CloudWatchLoggingOptions.h:33
Aws::Firehose::Model::S3DestinationConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::S3DestinationConfiguration::WithBufferingHints
S3DestinationConfiguration & WithBufferingHints(BufferingHints &&value)
Definition: S3DestinationConfiguration.h:339
Aws::Firehose::Model::S3DestinationConfiguration::SetRoleARN
void SetRoleARN(const char *value)
Definition: S3DestinationConfiguration.h:83
Aws::Firehose::Model::S3DestinationConfiguration::WithCompressionFormat
S3DestinationConfiguration & WithCompressionFormat(const CompressionFormat &value)
Definition: S3DestinationConfiguration.h:385
Aws::Firehose::Model::S3DestinationConfiguration::WithCloudWatchLoggingOptions
S3DestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: S3DestinationConfiguration.h:457
Aws::Firehose::Model::S3DestinationConfiguration::WithErrorOutputPrefix
S3DestinationConfiguration & WithErrorOutputPrefix(Aws::String &&value)
Definition: S3DestinationConfiguration.h:293
Aws::Firehose::Model::S3DestinationConfiguration::WithPrefix
S3DestinationConfiguration & WithPrefix(Aws::String &&value)
Definition: S3DestinationConfiguration.h:221
BufferingHints.h
Aws::Firehose::Model::S3DestinationConfiguration::BucketARNHasBeenSet
bool BucketARNHasBeenSet() const
Definition: S3DestinationConfiguration.h:122
CompressionFormat.h
Aws::Firehose::Model::S3DestinationConfiguration::SetBucketARN
void SetBucketARN(Aws::String &&value)
Definition: S3DestinationConfiguration.h:136
Aws::Firehose::Model::S3DestinationConfiguration::SetEncryptionConfiguration
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: S3DestinationConfiguration.h:419
Aws::Firehose::Model::S3DestinationConfiguration::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3DestinationConfiguration.h:173
Aws::Firehose::Model::S3DestinationConfiguration::GetEncryptionConfiguration
const EncryptionConfiguration & GetEncryptionConfiguration() const
Definition: S3DestinationConfiguration.h:401
Aws::Firehose::Model::S3DestinationConfiguration::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: S3DestinationConfiguration.h:59
Aws::Firehose::Model::S3DestinationConfiguration::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3DestinationConfiguration.h:189
Aws::Firehose::Model::S3DestinationConfiguration::WithRoleARN
S3DestinationConfiguration & WithRoleARN(Aws::String &&value)
Definition: S3DestinationConfiguration.h:99
EncryptionConfiguration.h
Aws::Firehose::Model::S3DestinationConfiguration::SetEncryptionConfiguration
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: S3DestinationConfiguration.h:413
Aws::Firehose::Model::S3DestinationConfiguration::SetErrorOutputPrefix
void SetErrorOutputPrefix(const Aws::String &value)
Definition: S3DestinationConfiguration.h:257
Aws::Firehose::Model::S3DestinationConfiguration::GetBufferingHints
const BufferingHints & GetBufferingHints() const
Definition: S3DestinationConfiguration.h:309
Aws::Firehose::Model::S3DestinationConfiguration::GetCloudWatchLoggingOptions
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
Definition: S3DestinationConfiguration.h:437
Aws::Firehose::Model::EncryptionConfiguration
Definition: EncryptionConfiguration.h:34
Aws::Firehose::Model::S3DestinationConfiguration::GetCompressionFormat
const CompressionFormat & GetCompressionFormat() const
Definition: S3DestinationConfiguration.h:349
Aws::Firehose::Model::S3DestinationConfiguration::WithBucketARN
S3DestinationConfiguration & WithBucketARN(const char *value)
Definition: S3DestinationConfiguration.h:164
Aws::Firehose::Model::S3DestinationConfiguration::SetErrorOutputPrefix
void SetErrorOutputPrefix(const char *value)
Definition: S3DestinationConfiguration.h:275
Aws::Firehose::Model::S3DestinationConfiguration::BufferingHintsHasBeenSet
bool BufferingHintsHasBeenSet() const
Definition: S3DestinationConfiguration.h:315
Aws::Firehose::Model::S3DestinationConfiguration::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3DestinationConfiguration.h:197
Aws::Firehose::Model::CompressionFormat
CompressionFormat
Definition: CompressionFormat.h:17
Aws::Firehose::Model::BufferingHints
Definition: BufferingHints.h:35
Aws::Firehose::Model::S3DestinationConfiguration::WithRoleARN
S3DestinationConfiguration & WithRoleARN(const char *value)
Definition: S3DestinationConfiguration.h:107
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::S3DestinationConfiguration::WithRoleARN
S3DestinationConfiguration & WithRoleARN(const Aws::String &value)
Definition: S3DestinationConfiguration.h:91
Aws::Firehose::Model::S3DestinationConfiguration::GetBucketARN
const Aws::String & GetBucketARN() const
Definition: S3DestinationConfiguration.h:115
Aws::Firehose::Model::S3DestinationConfiguration::S3DestinationConfiguration
S3DestinationConfiguration()
Aws::Firehose::Model::S3DestinationConfiguration::WithBucketARN
S3DestinationConfiguration & WithBucketARN(const Aws::String &value)
Definition: S3DestinationConfiguration.h:150
CloudWatchLoggingOptions.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::S3DestinationConfiguration::SetBufferingHints
void SetBufferingHints(BufferingHints &&value)
Definition: S3DestinationConfiguration.h:327
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::S3DestinationConfiguration::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: S3DestinationConfiguration.h:75
Aws::Firehose::Model::S3DestinationConfiguration::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3DestinationConfiguration.h:181
Aws::Firehose::Model::S3DestinationConfiguration::WithPrefix
S3DestinationConfiguration & WithPrefix(const char *value)
Definition: S3DestinationConfiguration.h:229
Aws::Firehose::Model::S3DestinationConfiguration::ErrorOutputPrefixHasBeenSet
bool ErrorOutputPrefixHasBeenSet() const
Definition: S3DestinationConfiguration.h:248
Firehose_EXPORTS.h
Aws::Firehose::Model::S3DestinationConfiguration::WithErrorOutputPrefix
S3DestinationConfiguration & WithErrorOutputPrefix(const char *value)
Definition: S3DestinationConfiguration.h:302
Aws::Firehose::Model::S3DestinationConfiguration
Definition: S3DestinationConfiguration.h:37
Aws::Firehose::Model::S3DestinationConfiguration::EncryptionConfigurationHasBeenSet
bool EncryptionConfigurationHasBeenSet() const
Definition: S3DestinationConfiguration.h:407
Aws::Firehose::Model::S3DestinationConfiguration::CompressionFormatHasBeenSet
bool CompressionFormatHasBeenSet() const
Definition: S3DestinationConfiguration.h:358
Aws::Firehose::Model::S3DestinationConfiguration::WithErrorOutputPrefix
S3DestinationConfiguration & WithErrorOutputPrefix(const Aws::String &value)
Definition: S3DestinationConfiguration.h:284
Aws::Firehose::Model::S3DestinationConfiguration::SetCompressionFormat
void SetCompressionFormat(CompressionFormat &&value)
Definition: S3DestinationConfiguration.h:376
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::S3DestinationConfiguration::WithEncryptionConfiguration
S3DestinationConfiguration & WithEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: S3DestinationConfiguration.h:431
Aws::Firehose::Model::S3DestinationConfiguration::SetCompressionFormat
void SetCompressionFormat(const CompressionFormat &value)
Definition: S3DestinationConfiguration.h:367
Aws::Firehose::Model::S3DestinationConfiguration::WithEncryptionConfiguration
S3DestinationConfiguration & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: S3DestinationConfiguration.h:425
Aws::Firehose::Model::S3DestinationConfiguration::SetBucketARN
void SetBucketARN(const char *value)
Definition: S3DestinationConfiguration.h:143
Aws::Firehose::Model::S3DestinationConfiguration::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: S3DestinationConfiguration.h:447
Aws::Firehose::Model::S3DestinationConfiguration::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: S3DestinationConfiguration.h:452
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::S3DestinationConfiguration::SetPrefix
void SetPrefix(const char *value)
Definition: S3DestinationConfiguration.h:205
Aws::Firehose::Model::S3DestinationConfiguration::WithCompressionFormat
S3DestinationConfiguration & WithCompressionFormat(CompressionFormat &&value)
Definition: S3DestinationConfiguration.h:394
Aws::Firehose::Model::S3DestinationConfiguration::SetErrorOutputPrefix
void SetErrorOutputPrefix(Aws::String &&value)
Definition: S3DestinationConfiguration.h:266
Aws::Firehose::Model::S3DestinationConfiguration::SetBufferingHints
void SetBufferingHints(const BufferingHints &value)
Definition: S3DestinationConfiguration.h:321
Aws::Firehose::Model::S3DestinationConfiguration::WithCloudWatchLoggingOptions
S3DestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: S3DestinationConfiguration.h:462
Aws::Firehose::Model::S3DestinationConfiguration::SetBucketARN
void SetBucketARN(const Aws::String &value)
Definition: S3DestinationConfiguration.h:129
Aws::Firehose::Model::S3DestinationConfiguration::CloudWatchLoggingOptionsHasBeenSet
bool CloudWatchLoggingOptionsHasBeenSet() const
Definition: S3DestinationConfiguration.h:442
Aws::Firehose::Model::S3DestinationConfiguration::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: S3DestinationConfiguration.h:67
Aws::Firehose::Model::S3DestinationConfiguration::S3DestinationConfiguration
S3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)