AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DestinationDescription.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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Firehose
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_FIREHOSE_API S3DestinationDescription();
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
52 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
53 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
54 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
55 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
56 inline S3DestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
57 inline S3DestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
58 inline S3DestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
60
62
67 inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
68 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
69 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
70 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
71 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
72 inline S3DestinationDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
73 inline S3DestinationDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
74 inline S3DestinationDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
76
78
84 inline const Aws::String& GetPrefix() const{ return m_prefix; }
85 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
86 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
87 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
88 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
89 inline S3DestinationDescription& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
90 inline S3DestinationDescription& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
91 inline S3DestinationDescription& WithPrefix(const char* value) { SetPrefix(value); return *this;}
93
95
102 inline const Aws::String& GetErrorOutputPrefix() const{ return m_errorOutputPrefix; }
103 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
104 inline void SetErrorOutputPrefix(const Aws::String& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = value; }
105 inline void SetErrorOutputPrefix(Aws::String&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::move(value); }
106 inline void SetErrorOutputPrefix(const char* value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix.assign(value); }
108 inline S3DestinationDescription& WithErrorOutputPrefix(Aws::String&& value) { SetErrorOutputPrefix(std::move(value)); return *this;}
109 inline S3DestinationDescription& WithErrorOutputPrefix(const char* value) { SetErrorOutputPrefix(value); return *this;}
111
113
117 inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
118 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
119 inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
120 inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
122 inline S3DestinationDescription& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
124
126
130 inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
131 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
132 inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
133 inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = std::move(value); }
137
139
143 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
144 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
145 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
146 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
150
152
155 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
156 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
157 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
158 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
162 private:
163
164 Aws::String m_roleARN;
165 bool m_roleARNHasBeenSet = false;
166
167 Aws::String m_bucketARN;
168 bool m_bucketARNHasBeenSet = false;
169
170 Aws::String m_prefix;
171 bool m_prefixHasBeenSet = false;
172
173 Aws::String m_errorOutputPrefix;
174 bool m_errorOutputPrefixHasBeenSet = false;
175
176 BufferingHints m_bufferingHints;
177 bool m_bufferingHintsHasBeenSet = false;
178
179 CompressionFormat m_compressionFormat;
180 bool m_compressionFormatHasBeenSet = false;
181
182 EncryptionConfiguration m_encryptionConfiguration;
183 bool m_encryptionConfigurationHasBeenSet = false;
184
185 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
186 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace Firehose
191} // namespace Aws
S3DestinationDescription & WithRoleARN(const char *value)
AWS_FIREHOSE_API S3DestinationDescription(Aws::Utils::Json::JsonView jsonValue)
S3DestinationDescription & WithEncryptionConfiguration(EncryptionConfiguration &&value)
S3DestinationDescription & WithRoleARN(Aws::String &&value)
S3DestinationDescription & WithPrefix(Aws::String &&value)
S3DestinationDescription & WithPrefix(const char *value)
S3DestinationDescription & WithBucketARN(const Aws::String &value)
S3DestinationDescription & WithBucketARN(const char *value)
S3DestinationDescription & WithBufferingHints(BufferingHints &&value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationDescription & WithCompressionFormat(CompressionFormat &&value)
AWS_FIREHOSE_API S3DestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationDescription & WithErrorOutputPrefix(const char *value)
S3DestinationDescription & WithEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationDescription & WithRoleARN(const Aws::String &value)
void SetCompressionFormat(const CompressionFormat &value)
S3DestinationDescription & WithBufferingHints(const BufferingHints &value)
S3DestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
S3DestinationDescription & WithCompressionFormat(const CompressionFormat &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
S3DestinationDescription & WithErrorOutputPrefix(const Aws::String &value)
S3DestinationDescription & WithPrefix(const Aws::String &value)
S3DestinationDescription & WithErrorOutputPrefix(Aws::String &&value)
S3DestinationDescription & WithBucketARN(Aws::String &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
S3DestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue