AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3DestinationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/BufferingHints.h>
10#include <aws/firehose/model/CloudWatchLoggingOptions.h>
11#include <aws/firehose/model/CompressionFormat.h>
12#include <aws/firehose/model/EncryptionConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Firehose {
24namespace Model {
25
32 public:
33 AWS_FIREHOSE_API S3DestinationDescription() = default;
36 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
46 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
47 template <typename RoleARNT = Aws::String>
48 void SetRoleARN(RoleARNT&& value) {
49 m_roleARNHasBeenSet = true;
50 m_roleARN = std::forward<RoleARNT>(value);
51 }
52 template <typename RoleARNT = Aws::String>
54 SetRoleARN(std::forward<RoleARNT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
66 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
67 template <typename BucketARNT = Aws::String>
68 void SetBucketARN(BucketARNT&& value) {
69 m_bucketARNHasBeenSet = true;
70 m_bucketARN = std::forward<BucketARNT>(value);
71 }
72 template <typename BucketARNT = Aws::String>
74 SetBucketARN(std::forward<BucketARNT>(value));
75 return *this;
76 }
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) {
90 m_prefixHasBeenSet = true;
91 m_prefix = std::forward<PrefixT>(value);
92 }
93 template <typename PrefixT = Aws::String>
95 SetPrefix(std::forward<PrefixT>(value));
96 return *this;
97 }
99
101
108 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
109 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
110 template <typename ErrorOutputPrefixT = Aws::String>
111 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) {
112 m_errorOutputPrefixHasBeenSet = true;
113 m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value);
114 }
115 template <typename ErrorOutputPrefixT = Aws::String>
116 S3DestinationDescription& WithErrorOutputPrefix(ErrorOutputPrefixT&& value) {
117 SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value));
118 return *this;
119 }
121
123
127 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
128 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
129 template <typename BufferingHintsT = BufferingHints>
130 void SetBufferingHints(BufferingHintsT&& value) {
131 m_bufferingHintsHasBeenSet = true;
132 m_bufferingHints = std::forward<BufferingHintsT>(value);
133 }
134 template <typename BufferingHintsT = BufferingHints>
136 SetBufferingHints(std::forward<BufferingHintsT>(value));
137 return *this;
138 }
140
142
146 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
147 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
149 m_compressionFormatHasBeenSet = true;
150 m_compressionFormat = value;
151 }
154 return *this;
155 }
157
159
163 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
164 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
165 template <typename EncryptionConfigurationT = EncryptionConfiguration>
166 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
167 m_encryptionConfigurationHasBeenSet = true;
168 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
169 }
170 template <typename EncryptionConfigurationT = EncryptionConfiguration>
171 S3DestinationDescription& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
172 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
173 return *this;
174 }
176
178
181 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
182 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
183 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
184 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
185 m_cloudWatchLoggingOptionsHasBeenSet = true;
186 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
187 }
188 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
189 S3DestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
190 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_roleARN;
196
197 Aws::String m_bucketARN;
198
199 Aws::String m_prefix;
200
201 Aws::String m_errorOutputPrefix;
202
203 BufferingHints m_bufferingHints;
204
206
207 EncryptionConfiguration m_encryptionConfiguration;
208
209 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
210 bool m_roleARNHasBeenSet = false;
211 bool m_bucketARNHasBeenSet = false;
212 bool m_prefixHasBeenSet = false;
213 bool m_errorOutputPrefixHasBeenSet = false;
214 bool m_bufferingHintsHasBeenSet = false;
215 bool m_compressionFormatHasBeenSet = false;
216 bool m_encryptionConfigurationHasBeenSet = false;
217 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace Firehose
222} // namespace Aws
S3DestinationDescription & WithErrorOutputPrefix(ErrorOutputPrefixT &&value)
AWS_FIREHOSE_API S3DestinationDescription(Aws::Utils::Json::JsonView jsonValue)
S3DestinationDescription & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
S3DestinationDescription & WithBucketARN(BucketARNT &&value)
S3DestinationDescription & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API S3DestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationDescription & WithBufferingHints(BufferingHintsT &&value)
S3DestinationDescription & WithCompressionFormat(CompressionFormat value)
S3DestinationDescription & WithPrefix(PrefixT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
AWS_FIREHOSE_API S3DestinationDescription()=default
S3DestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&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