AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3DestinationConfiguration.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
37 {
38 public:
39 AWS_FIREHOSE_API S3DestinationConfiguration() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
53 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
54 template<typename RoleARNT = Aws::String>
55 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
56 template<typename RoleARNT = Aws::String>
57 S3DestinationConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
59
61
66 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
67 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
68 template<typename BucketARNT = Aws::String>
69 void SetBucketARN(BucketARNT&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
70 template<typename BucketARNT = Aws::String>
71 S3DestinationConfiguration& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
73
75
81 inline const Aws::String& GetPrefix() const { return m_prefix; }
82 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
83 template<typename PrefixT = Aws::String>
84 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
85 template<typename PrefixT = Aws::String>
86 S3DestinationConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
88
90
97 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
98 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
99 template<typename ErrorOutputPrefixT = Aws::String>
100 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value); }
101 template<typename ErrorOutputPrefixT = Aws::String>
102 S3DestinationConfiguration& WithErrorOutputPrefix(ErrorOutputPrefixT&& value) { SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value)); return *this;}
104
106
110 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
111 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
112 template<typename BufferingHintsT = BufferingHints>
113 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
114 template<typename BufferingHintsT = BufferingHints>
115 S3DestinationConfiguration& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
117
119
126 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
127 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
128 inline void SetCompressionFormat(CompressionFormat value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
131
133
137 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
138 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
139 template<typename EncryptionConfigurationT = EncryptionConfiguration>
140 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
141 template<typename EncryptionConfigurationT = EncryptionConfiguration>
142 S3DestinationConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
144
146
149 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
150 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
151 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
152 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
153 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
154 S3DestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
156 private:
157
158 Aws::String m_roleARN;
159 bool m_roleARNHasBeenSet = false;
160
161 Aws::String m_bucketARN;
162 bool m_bucketARNHasBeenSet = false;
163
164 Aws::String m_prefix;
165 bool m_prefixHasBeenSet = false;
166
167 Aws::String m_errorOutputPrefix;
168 bool m_errorOutputPrefixHasBeenSet = false;
169
170 BufferingHints m_bufferingHints;
171 bool m_bufferingHintsHasBeenSet = false;
172
174 bool m_compressionFormatHasBeenSet = false;
175
176 EncryptionConfiguration m_encryptionConfiguration;
177 bool m_encryptionConfigurationHasBeenSet = false;
178
179 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
180 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Firehose
185} // namespace Aws
S3DestinationConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
S3DestinationConfiguration & WithPrefix(PrefixT &&value)
AWS_FIREHOSE_API S3DestinationConfiguration()=default
S3DestinationConfiguration & WithBucketARN(BucketARNT &&value)
AWS_FIREHOSE_API S3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
AWS_FIREHOSE_API S3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
S3DestinationConfiguration & WithCompressionFormat(CompressionFormat value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
S3DestinationConfiguration & WithRoleARN(RoleARNT &&value)
S3DestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
S3DestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
S3DestinationConfiguration & WithErrorOutputPrefix(ErrorOutputPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue