AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DestinationUpdate.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 S3DestinationUpdate();
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 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
55 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
56 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
57 inline S3DestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
58 inline S3DestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
59 inline S3DestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
61
63
68 inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
69 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
70 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
71 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
72 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
73 inline S3DestinationUpdate& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
74 inline S3DestinationUpdate& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
75 inline S3DestinationUpdate& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
77
79
85 inline const Aws::String& GetPrefix() const{ return m_prefix; }
86 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
87 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
88 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
89 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
90 inline S3DestinationUpdate& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
91 inline S3DestinationUpdate& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
92 inline S3DestinationUpdate& WithPrefix(const char* value) { SetPrefix(value); return *this;}
94
96
103 inline const Aws::String& GetErrorOutputPrefix() const{ return m_errorOutputPrefix; }
104 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
105 inline void SetErrorOutputPrefix(const Aws::String& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = value; }
106 inline void SetErrorOutputPrefix(Aws::String&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::move(value); }
107 inline void SetErrorOutputPrefix(const char* value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix.assign(value); }
108 inline S3DestinationUpdate& WithErrorOutputPrefix(const Aws::String& value) { SetErrorOutputPrefix(value); return *this;}
109 inline S3DestinationUpdate& WithErrorOutputPrefix(Aws::String&& value) { SetErrorOutputPrefix(std::move(value)); return *this;}
110 inline S3DestinationUpdate& WithErrorOutputPrefix(const char* value) { SetErrorOutputPrefix(value); return *this;}
112
114
118 inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
119 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
120 inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
121 inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
122 inline S3DestinationUpdate& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;}
123 inline S3DestinationUpdate& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
125
127
134 inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
135 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
136 inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
137 inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = std::move(value); }
139 inline S3DestinationUpdate& WithCompressionFormat(CompressionFormat&& value) { SetCompressionFormat(std::move(value)); return *this;}
141
143
147 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
148 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
149 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
150 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
154
156
159 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
160 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
161 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
162 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
166 private:
167
168 Aws::String m_roleARN;
169 bool m_roleARNHasBeenSet = false;
170
171 Aws::String m_bucketARN;
172 bool m_bucketARNHasBeenSet = false;
173
174 Aws::String m_prefix;
175 bool m_prefixHasBeenSet = false;
176
177 Aws::String m_errorOutputPrefix;
178 bool m_errorOutputPrefixHasBeenSet = false;
179
180 BufferingHints m_bufferingHints;
181 bool m_bufferingHintsHasBeenSet = false;
182
183 CompressionFormat m_compressionFormat;
184 bool m_compressionFormatHasBeenSet = false;
185
186 EncryptionConfiguration m_encryptionConfiguration;
187 bool m_encryptionConfigurationHasBeenSet = false;
188
189 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
190 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Firehose
195} // namespace Aws
void SetErrorOutputPrefix(const Aws::String &value)
S3DestinationUpdate & WithPrefix(Aws::String &&value)
S3DestinationUpdate & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
S3DestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
S3DestinationUpdate & WithBucketARN(const char *value)
S3DestinationUpdate & WithErrorOutputPrefix(const Aws::String &value)
void SetCompressionFormat(CompressionFormat &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
S3DestinationUpdate & WithCompressionFormat(CompressionFormat &&value)
const BufferingHints & GetBufferingHints() const
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
AWS_FIREHOSE_API S3DestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetRoleARN(const Aws::String &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetBufferingHints(BufferingHints &&value)
S3DestinationUpdate & WithRoleARN(Aws::String &&value)
void SetCompressionFormat(const CompressionFormat &value)
S3DestinationUpdate & WithBufferingHints(const BufferingHints &value)
void SetPrefix(const Aws::String &value)
void SetBufferingHints(const BufferingHints &value)
const CompressionFormat & GetCompressionFormat() const
S3DestinationUpdate & WithBucketARN(Aws::String &&value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationUpdate & WithEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationUpdate & WithPrefix(const Aws::String &value)
S3DestinationUpdate & WithBucketARN(const Aws::String &value)
void SetBucketARN(const Aws::String &value)
S3DestinationUpdate & WithRoleARN(const Aws::String &value)
S3DestinationUpdate & WithBufferingHints(BufferingHints &&value)
S3DestinationUpdate & WithCompressionFormat(const CompressionFormat &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
S3DestinationUpdate & WithErrorOutputPrefix(const char *value)
const Aws::String & GetErrorOutputPrefix() const
S3DestinationUpdate & WithPrefix(const char *value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationUpdate & WithEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_FIREHOSE_API S3DestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationUpdate & WithRoleARN(const char *value)
S3DestinationUpdate & WithErrorOutputPrefix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue