AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RoleARNT = Aws::String>
54 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
55 template<typename RoleARNT = Aws::String>
56 S3DestinationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
69 template<typename BucketARNT = Aws::String>
70 S3DestinationDescription& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
72
74
80 inline const Aws::String& GetPrefix() const { return m_prefix; }
81 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
82 template<typename PrefixT = Aws::String>
83 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
84 template<typename PrefixT = Aws::String>
85 S3DestinationDescription& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
87
89
96 inline const Aws::String& GetErrorOutputPrefix() const { return m_errorOutputPrefix; }
97 inline bool ErrorOutputPrefixHasBeenSet() const { return m_errorOutputPrefixHasBeenSet; }
98 template<typename ErrorOutputPrefixT = Aws::String>
99 void SetErrorOutputPrefix(ErrorOutputPrefixT&& value) { m_errorOutputPrefixHasBeenSet = true; m_errorOutputPrefix = std::forward<ErrorOutputPrefixT>(value); }
100 template<typename ErrorOutputPrefixT = Aws::String>
101 S3DestinationDescription& WithErrorOutputPrefix(ErrorOutputPrefixT&& value) { SetErrorOutputPrefix(std::forward<ErrorOutputPrefixT>(value)); return *this;}
103
105
109 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
110 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
111 template<typename BufferingHintsT = BufferingHints>
112 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
113 template<typename BufferingHintsT = BufferingHints>
114 S3DestinationDescription& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
116
118
122 inline CompressionFormat GetCompressionFormat() const { return m_compressionFormat; }
123 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
124 inline void SetCompressionFormat(CompressionFormat value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
127
129
133 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
134 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
135 template<typename EncryptionConfigurationT = EncryptionConfiguration>
136 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
137 template<typename EncryptionConfigurationT = EncryptionConfiguration>
138 S3DestinationDescription& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
140
142
145 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
146 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
147 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
148 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
149 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
150 S3DestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
152 private:
153
154 Aws::String m_roleARN;
155 bool m_roleARNHasBeenSet = false;
156
157 Aws::String m_bucketARN;
158 bool m_bucketARNHasBeenSet = false;
159
160 Aws::String m_prefix;
161 bool m_prefixHasBeenSet = false;
162
163 Aws::String m_errorOutputPrefix;
164 bool m_errorOutputPrefixHasBeenSet = false;
165
166 BufferingHints m_bufferingHints;
167 bool m_bufferingHintsHasBeenSet = false;
168
170 bool m_compressionFormatHasBeenSet = false;
171
172 EncryptionConfiguration m_encryptionConfiguration;
173 bool m_encryptionConfigurationHasBeenSet = false;
174
175 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
176 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace Firehose
181} // 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