AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3DestinationUpdate.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
33 public:
34 AWS_FIREHOSE_API S3DestinationUpdate() = default;
37 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
47 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
48 template <typename RoleARNT = Aws::String>
49 void SetRoleARN(RoleARNT&& value) {
50 m_roleARNHasBeenSet = true;
51 m_roleARN = std::forward<RoleARNT>(value);
52 }
53 template <typename RoleARNT = Aws::String>
54 S3DestinationUpdate& WithRoleARN(RoleARNT&& value) {
55 SetRoleARN(std::forward<RoleARNT>(value));
56 return *this;
57 }
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) {
70 m_bucketARNHasBeenSet = true;
71 m_bucketARN = std::forward<BucketARNT>(value);
72 }
73 template <typename BucketARNT = Aws::String>
74 S3DestinationUpdate& WithBucketARN(BucketARNT&& value) {
75 SetBucketARN(std::forward<BucketARNT>(value));
76 return *this;
77 }
79
81
87 inline const Aws::String& GetPrefix() const { return m_prefix; }
88 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
89 template <typename PrefixT = Aws::String>
90 void SetPrefix(PrefixT&& value) {
91 m_prefixHasBeenSet = true;
92 m_prefix = std::forward<PrefixT>(value);
93 }
94 template <typename PrefixT = Aws::String>
95 S3DestinationUpdate& WithPrefix(PrefixT&& value) {
96 SetPrefix(std::forward<PrefixT>(value));
97 return *this;
98 }
100
102
109 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
110 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
111 template <typename ErrorOutputPrefixT = Aws::String>
112 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) {
113 m_errorOutputPrefixHasBeenSet = true;
114 m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value);
115 }
116 template <typename ErrorOutputPrefixT = Aws::String>
117 S3DestinationUpdate& WithErrorOutputPrefix(ErrorOutputPrefixT&& value) {
118 SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value));
119 return *this;
120 }
122
124
128 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
129 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
130 template <typename BufferingHintsT = BufferingHints>
131 void SetBufferingHints(BufferingHintsT&& value) {
132 m_bufferingHintsHasBeenSet = true;
133 m_bufferingHints = std::forward<BufferingHintsT>(value);
134 }
135 template <typename BufferingHintsT = BufferingHints>
136 S3DestinationUpdate& WithBufferingHints(BufferingHintsT&& value) {
137 SetBufferingHints(std::forward<BufferingHintsT>(value));
138 return *this;
139 }
141
143
150 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
151 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
153 m_compressionFormatHasBeenSet = true;
154 m_compressionFormat = value;
155 }
158 return *this;
159 }
161
163
167 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
168 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
169 template <typename EncryptionConfigurationT = EncryptionConfiguration>
170 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
171 m_encryptionConfigurationHasBeenSet = true;
172 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
173 }
174 template <typename EncryptionConfigurationT = EncryptionConfiguration>
175 S3DestinationUpdate& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
176 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
177 return *this;
178 }
180
182
185 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
186 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
187 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
188 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
189 m_cloudWatchLoggingOptionsHasBeenSet = true;
190 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
191 }
192 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
193 S3DestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
194 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_roleARN;
200
201 Aws::String m_bucketARN;
202
203 Aws::String m_prefix;
204
205 Aws::String m_errorOutputPrefix;
206
207 BufferingHints m_bufferingHints;
208
210
211 EncryptionConfiguration m_encryptionConfiguration;
212
213 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
214 bool m_roleARNHasBeenSet = false;
215 bool m_bucketARNHasBeenSet = false;
216 bool m_prefixHasBeenSet = false;
217 bool m_errorOutputPrefixHasBeenSet = false;
218 bool m_bufferingHintsHasBeenSet = false;
219 bool m_compressionFormatHasBeenSet = false;
220 bool m_encryptionConfigurationHasBeenSet = false;
221 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace Firehose
226} // namespace Aws
S3DestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
S3DestinationUpdate & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const BufferingHints & GetBufferingHints() const
S3DestinationUpdate & WithBucketARN(BucketARNT &&value)
S3DestinationUpdate & WithPrefix(PrefixT &&value)
S3DestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API S3DestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
const EncryptionConfiguration & GetEncryptionConfiguration() const
S3DestinationUpdate & WithCompressionFormat(CompressionFormat value)
S3DestinationUpdate & WithRoleARN(RoleARNT &&value)
void SetCompressionFormat(CompressionFormat value)
void SetErrorOutputPrefix(ErrorOutputPrefixT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_FIREHOSE_API S3DestinationUpdate()=default
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
void SetBufferingHints(BufferingHintsT &&value)
S3DestinationUpdate & WithErrorOutputPrefix(ErrorOutputPrefixT &&value)
const Aws::String & GetErrorOutputPrefix() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API S3DestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue