AWS SDK for C++  1.9.154
AWS SDK for C++
S3DestinationDescription.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 
36  {
37  public:
42 
43 
50  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
51 
58  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
59 
66  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
67 
74  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
75 
82  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
83 
90  inline S3DestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
91 
98  inline S3DestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
99 
106  inline S3DestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
107 
108 
114  inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
115 
121  inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
122 
128  inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
129 
135  inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
136 
142  inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
143 
149  inline S3DestinationDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
150 
156  inline S3DestinationDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
157 
163  inline S3DestinationDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
164 
165 
172  inline const Aws::String& GetPrefix() const{ return m_prefix; }
173 
180  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
181 
188  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
189 
196  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
197 
204  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
205 
212  inline S3DestinationDescription& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
213 
220  inline S3DestinationDescription& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
221 
228  inline S3DestinationDescription& WithPrefix(const char* value) { SetPrefix(value); return *this;}
229 
230 
238  inline const Aws::String& GetErrorOutputPrefix() const{ return m_errorOutputPrefix; }
239 
247  inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
248 
256  inline void SetErrorOutputPrefix(const Aws::String& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = value; }
257 
265  inline void SetErrorOutputPrefix(Aws::String&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::move(value); }
266 
274  inline void SetErrorOutputPrefix(const char* value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix.assign(value); }
275 
283  inline S3DestinationDescription& WithErrorOutputPrefix(const Aws::String& value) { SetErrorOutputPrefix(value); return *this;}
284 
292  inline S3DestinationDescription& WithErrorOutputPrefix(Aws::String&& value) { SetErrorOutputPrefix(std::move(value)); return *this;}
293 
301  inline S3DestinationDescription& WithErrorOutputPrefix(const char* value) { SetErrorOutputPrefix(value); return *this;}
302 
303 
308  inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
309 
314  inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
315 
320  inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
321 
326  inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
327 
332  inline S3DestinationDescription& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;}
333 
338  inline S3DestinationDescription& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
339 
340 
345  inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
346 
351  inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
352 
357  inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
358 
363  inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = std::move(value); }
364 
369  inline S3DestinationDescription& WithCompressionFormat(const CompressionFormat& value) { SetCompressionFormat(value); return *this;}
370 
375  inline S3DestinationDescription& WithCompressionFormat(CompressionFormat&& value) { SetCompressionFormat(std::move(value)); return *this;}
376 
377 
382  inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
383 
388  inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
389 
394  inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
395 
400  inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
401 
406  inline S3DestinationDescription& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;}
407 
412  inline S3DestinationDescription& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;}
413 
414 
418  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
419 
423  inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
424 
428  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
429 
433  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
434 
438  inline S3DestinationDescription& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
439 
443  inline S3DestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
444 
445  private:
446 
447  Aws::String m_roleARN;
448  bool m_roleARNHasBeenSet;
449 
450  Aws::String m_bucketARN;
451  bool m_bucketARNHasBeenSet;
452 
453  Aws::String m_prefix;
454  bool m_prefixHasBeenSet;
455 
456  Aws::String m_errorOutputPrefix;
457  bool m_errorOutputPrefixHasBeenSet;
458 
459  BufferingHints m_bufferingHints;
460  bool m_bufferingHintsHasBeenSet;
461 
462  CompressionFormat m_compressionFormat;
463  bool m_compressionFormatHasBeenSet;
464 
465  EncryptionConfiguration m_encryptionConfiguration;
466  bool m_encryptionConfigurationHasBeenSet;
467 
468  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
469  bool m_cloudWatchLoggingOptionsHasBeenSet;
470  };
471 
472 } // namespace Model
473 } // namespace Firehose
474 } // namespace Aws
Aws::Firehose::Model::S3DestinationDescription::WithBucketARN
S3DestinationDescription & WithBucketARN(const Aws::String &value)
Definition: S3DestinationDescription.h:149
Aws::Firehose::Model::S3DestinationDescription::WithRoleARN
S3DestinationDescription & WithRoleARN(Aws::String &&value)
Definition: S3DestinationDescription.h:98
Aws::Firehose::Model::S3DestinationDescription::WithPrefix
S3DestinationDescription & WithPrefix(Aws::String &&value)
Definition: S3DestinationDescription.h:220
Aws::Firehose::Model::S3DestinationDescription::SetErrorOutputPrefix
void SetErrorOutputPrefix(const char *value)
Definition: S3DestinationDescription.h:274
Aws::Firehose::Model::S3DestinationDescription::ErrorOutputPrefixHasBeenSet
bool ErrorOutputPrefixHasBeenSet() const
Definition: S3DestinationDescription.h:247
Aws::Firehose::Model::S3DestinationDescription::GetErrorOutputPrefix
const Aws::String & GetErrorOutputPrefix() const
Definition: S3DestinationDescription.h:238
Aws::Firehose::Model::S3DestinationDescription::EncryptionConfigurationHasBeenSet
bool EncryptionConfigurationHasBeenSet() const
Definition: S3DestinationDescription.h:388
Aws::Firehose::Model::CloudWatchLoggingOptions
Definition: CloudWatchLoggingOptions.h:33
Aws::Firehose::Model::S3DestinationDescription::CloudWatchLoggingOptionsHasBeenSet
bool CloudWatchLoggingOptionsHasBeenSet() const
Definition: S3DestinationDescription.h:423
Aws::Firehose::Model::S3DestinationDescription::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: S3DestinationDescription.h:50
Aws::Firehose::Model::S3DestinationDescription::SetRoleARN
void SetRoleARN(const char *value)
Definition: S3DestinationDescription.h:82
BufferingHints.h
Aws::Firehose::Model::S3DestinationDescription::WithRoleARN
S3DestinationDescription & WithRoleARN(const Aws::String &value)
Definition: S3DestinationDescription.h:90
Aws::Firehose::Model::S3DestinationDescription::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: S3DestinationDescription.h:433
CompressionFormat.h
Aws::Firehose::Model::S3DestinationDescription::SetCompressionFormat
void SetCompressionFormat(const CompressionFormat &value)
Definition: S3DestinationDescription.h:357
Aws::Firehose::Model::S3DestinationDescription::WithPrefix
S3DestinationDescription & WithPrefix(const char *value)
Definition: S3DestinationDescription.h:228
Aws::Firehose::Model::S3DestinationDescription::SetPrefix
void SetPrefix(const char *value)
Definition: S3DestinationDescription.h:204
Aws::Firehose::Model::S3DestinationDescription::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3DestinationDescription.h:180
Aws::Firehose::Model::S3DestinationDescription::WithCloudWatchLoggingOptions
S3DestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
Definition: S3DestinationDescription.h:443
Aws::Firehose::Model::S3DestinationDescription::CompressionFormatHasBeenSet
bool CompressionFormatHasBeenSet() const
Definition: S3DestinationDescription.h:351
Aws::Firehose::Model::S3DestinationDescription::SetErrorOutputPrefix
void SetErrorOutputPrefix(Aws::String &&value)
Definition: S3DestinationDescription.h:265
EncryptionConfiguration.h
Aws::Firehose::Model::S3DestinationDescription::WithErrorOutputPrefix
S3DestinationDescription & WithErrorOutputPrefix(Aws::String &&value)
Definition: S3DestinationDescription.h:292
Aws::Firehose::Model::S3DestinationDescription::WithEncryptionConfiguration
S3DestinationDescription & WithEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: S3DestinationDescription.h:412
Aws::Firehose::Model::S3DestinationDescription::SetBucketARN
void SetBucketARN(const char *value)
Definition: S3DestinationDescription.h:142
Aws::Firehose::Model::EncryptionConfiguration
Definition: EncryptionConfiguration.h:34
Aws::Firehose::Model::S3DestinationDescription::S3DestinationDescription
S3DestinationDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::S3DestinationDescription::BufferingHintsHasBeenSet
bool BufferingHintsHasBeenSet() const
Definition: S3DestinationDescription.h:314
Aws::Firehose::Model::S3DestinationDescription::S3DestinationDescription
S3DestinationDescription()
Aws::Firehose::Model::S3DestinationDescription::GetCompressionFormat
const CompressionFormat & GetCompressionFormat() const
Definition: S3DestinationDescription.h:345
Aws::Firehose::Model::S3DestinationDescription::SetBufferingHints
void SetBufferingHints(BufferingHints &&value)
Definition: S3DestinationDescription.h:326
Aws::Firehose::Model::S3DestinationDescription::SetBufferingHints
void SetBufferingHints(const BufferingHints &value)
Definition: S3DestinationDescription.h:320
Aws::Firehose::Model::S3DestinationDescription::SetErrorOutputPrefix
void SetErrorOutputPrefix(const Aws::String &value)
Definition: S3DestinationDescription.h:256
Aws::Firehose::Model::S3DestinationDescription::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3DestinationDescription.h:188
Aws::Firehose::Model::CompressionFormat
CompressionFormat
Definition: CompressionFormat.h:17
Aws::Firehose::Model::BufferingHints
Definition: BufferingHints.h:35
Aws::Firehose::Model::S3DestinationDescription::SetEncryptionConfiguration
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: S3DestinationDescription.h:400
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::S3DestinationDescription::operator=
S3DestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::S3DestinationDescription::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3DestinationDescription.h:196
Aws::Firehose::Model::S3DestinationDescription::WithErrorOutputPrefix
S3DestinationDescription & WithErrorOutputPrefix(const char *value)
Definition: S3DestinationDescription.h:301
CloudWatchLoggingOptions.h
Aws::Firehose::Model::S3DestinationDescription::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: S3DestinationDescription.h:58
Aws::Firehose::Model::S3DestinationDescription::WithBucketARN
S3DestinationDescription & WithBucketARN(const char *value)
Definition: S3DestinationDescription.h:163
Aws::Firehose::Model::S3DestinationDescription::WithCompressionFormat
S3DestinationDescription & WithCompressionFormat(const CompressionFormat &value)
Definition: S3DestinationDescription.h:369
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Firehose::Model::S3DestinationDescription::WithBufferingHints
S3DestinationDescription & WithBufferingHints(const BufferingHints &value)
Definition: S3DestinationDescription.h:332
Aws::Firehose::Model::S3DestinationDescription::WithErrorOutputPrefix
S3DestinationDescription & WithErrorOutputPrefix(const Aws::String &value)
Definition: S3DestinationDescription.h:283
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::S3DestinationDescription::WithRoleARN
S3DestinationDescription & WithRoleARN(const char *value)
Definition: S3DestinationDescription.h:106
Aws::Firehose::Model::S3DestinationDescription::GetEncryptionConfiguration
const EncryptionConfiguration & GetEncryptionConfiguration() const
Definition: S3DestinationDescription.h:382
Firehose_EXPORTS.h
Aws::Firehose::Model::S3DestinationDescription::GetBucketARN
const Aws::String & GetBucketARN() const
Definition: S3DestinationDescription.h:114
Aws::Firehose::Model::S3DestinationDescription::WithEncryptionConfiguration
S3DestinationDescription & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: S3DestinationDescription.h:406
Aws::Firehose::Model::S3DestinationDescription::GetCloudWatchLoggingOptions
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
Definition: S3DestinationDescription.h:418
Aws::Firehose::Model::S3DestinationDescription::SetBucketARN
void SetBucketARN(Aws::String &&value)
Definition: S3DestinationDescription.h:135
Aws::Firehose::Model::S3DestinationDescription::WithCompressionFormat
S3DestinationDescription & WithCompressionFormat(CompressionFormat &&value)
Definition: S3DestinationDescription.h:375
Aws::Firehose::Model::S3DestinationDescription::SetCompressionFormat
void SetCompressionFormat(CompressionFormat &&value)
Definition: S3DestinationDescription.h:363
Aws::Firehose::Model::S3DestinationDescription::GetBufferingHints
const BufferingHints & GetBufferingHints() const
Definition: S3DestinationDescription.h:308
Aws::Firehose::Model::S3DestinationDescription
Definition: S3DestinationDescription.h:36
Aws::Firehose::Model::S3DestinationDescription::WithPrefix
S3DestinationDescription & WithPrefix(const Aws::String &value)
Definition: S3DestinationDescription.h:212
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::S3DestinationDescription::BucketARNHasBeenSet
bool BucketARNHasBeenSet() const
Definition: S3DestinationDescription.h:121
Aws::Firehose::Model::S3DestinationDescription::WithBucketARN
S3DestinationDescription & WithBucketARN(Aws::String &&value)
Definition: S3DestinationDescription.h:156
Aws::Firehose::Model::S3DestinationDescription::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3DestinationDescription.h:172
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::S3DestinationDescription::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: S3DestinationDescription.h:74
Aws::Firehose::Model::S3DestinationDescription::SetEncryptionConfiguration
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: S3DestinationDescription.h:394
Aws::Firehose::Model::S3DestinationDescription::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: S3DestinationDescription.h:66
Aws::Firehose::Model::S3DestinationDescription::WithBufferingHints
S3DestinationDescription & WithBufferingHints(BufferingHints &&value)
Definition: S3DestinationDescription.h:338
Aws::Firehose::Model::S3DestinationDescription::WithCloudWatchLoggingOptions
S3DestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: S3DestinationDescription.h:438
Aws::Firehose::Model::S3DestinationDescription::SetBucketARN
void SetBucketARN(const Aws::String &value)
Definition: S3DestinationDescription.h:128
Aws::Firehose::Model::S3DestinationDescription::SetCloudWatchLoggingOptions
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
Definition: S3DestinationDescription.h:428
Aws::Firehose::Model::S3DestinationDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const