AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IcebergDestinationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/firehose/Firehose_EXPORTS.h>
10#include <aws/firehose/model/BufferingHints.h>
11#include <aws/firehose/model/CatalogConfiguration.h>
12#include <aws/firehose/model/CloudWatchLoggingOptions.h>
13#include <aws/firehose/model/DestinationTableConfiguration.h>
14#include <aws/firehose/model/IcebergS3BackupMode.h>
15#include <aws/firehose/model/ProcessingConfiguration.h>
16#include <aws/firehose/model/RetryOptions.h>
17#include <aws/firehose/model/S3DestinationDescription.h>
18#include <aws/firehose/model/SchemaEvolutionConfiguration.h>
19#include <aws/firehose/model/TableCreationConfiguration.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Firehose {
31namespace Model {
32
40 public:
41 AWS_FIREHOSE_API IcebergDestinationDescription() = default;
44 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
53 return m_destinationTableConfigurationList;
54 }
55 inline bool DestinationTableConfigurationListHasBeenSet() const { return m_destinationTableConfigurationListHasBeenSet; }
56 template <typename DestinationTableConfigurationListT = Aws::Vector<DestinationTableConfiguration>>
57 void SetDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) {
58 m_destinationTableConfigurationListHasBeenSet = true;
59 m_destinationTableConfigurationList = std::forward<DestinationTableConfigurationListT>(value);
60 }
61 template <typename DestinationTableConfigurationListT = Aws::Vector<DestinationTableConfiguration>>
62 IcebergDestinationDescription& WithDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) {
63 SetDestinationTableConfigurationList(std::forward<DestinationTableConfigurationListT>(value));
64 return *this;
65 }
66 template <typename DestinationTableConfigurationListT = DestinationTableConfiguration>
67 IcebergDestinationDescription& AddDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) {
68 m_destinationTableConfigurationListHasBeenSet = true;
69 m_destinationTableConfigurationList.emplace_back(std::forward<DestinationTableConfigurationListT>(value));
70 return *this;
71 }
73
75
79 inline const SchemaEvolutionConfiguration& GetSchemaEvolutionConfiguration() const { return m_schemaEvolutionConfiguration; }
80 inline bool SchemaEvolutionConfigurationHasBeenSet() const { return m_schemaEvolutionConfigurationHasBeenSet; }
81 template <typename SchemaEvolutionConfigurationT = SchemaEvolutionConfiguration>
82 void SetSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT&& value) {
83 m_schemaEvolutionConfigurationHasBeenSet = true;
84 m_schemaEvolutionConfiguration = std::forward<SchemaEvolutionConfigurationT>(value);
85 }
86 template <typename SchemaEvolutionConfigurationT = SchemaEvolutionConfiguration>
87 IcebergDestinationDescription& WithSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT&& value) {
88 SetSchemaEvolutionConfiguration(std::forward<SchemaEvolutionConfigurationT>(value));
89 return *this;
90 }
92
94
98 inline const TableCreationConfiguration& GetTableCreationConfiguration() const { return m_tableCreationConfiguration; }
99 inline bool TableCreationConfigurationHasBeenSet() const { return m_tableCreationConfigurationHasBeenSet; }
100 template <typename TableCreationConfigurationT = TableCreationConfiguration>
101 void SetTableCreationConfiguration(TableCreationConfigurationT&& value) {
102 m_tableCreationConfigurationHasBeenSet = true;
103 m_tableCreationConfiguration = std::forward<TableCreationConfigurationT>(value);
104 }
105 template <typename TableCreationConfigurationT = TableCreationConfiguration>
106 IcebergDestinationDescription& WithTableCreationConfiguration(TableCreationConfigurationT&& value) {
107 SetTableCreationConfiguration(std::forward<TableCreationConfigurationT>(value));
108 return *this;
109 }
111
113
114 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
115 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
116 template <typename BufferingHintsT = BufferingHints>
117 void SetBufferingHints(BufferingHintsT&& value) {
118 m_bufferingHintsHasBeenSet = true;
119 m_bufferingHints = std::forward<BufferingHintsT>(value);
120 }
121 template <typename BufferingHintsT = BufferingHints>
123 SetBufferingHints(std::forward<BufferingHintsT>(value));
124 return *this;
125 }
127
129
130 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
131 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
132 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
133 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
134 m_cloudWatchLoggingOptionsHasBeenSet = true;
135 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
136 }
137 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
139 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
140 return *this;
141 }
143
145
146 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
147 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
148 template <typename ProcessingConfigurationT = ProcessingConfiguration>
149 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
150 m_processingConfigurationHasBeenSet = true;
151 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
152 }
153 template <typename ProcessingConfigurationT = ProcessingConfiguration>
155 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
156 return *this;
157 }
159
161
165 inline IcebergS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
166 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
168 m_s3BackupModeHasBeenSet = true;
169 m_s3BackupMode = value;
170 }
172 SetS3BackupMode(value);
173 return *this;
174 }
176
178
179 inline const RetryOptions& GetRetryOptions() const { return m_retryOptions; }
180 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
181 template <typename RetryOptionsT = RetryOptions>
182 void SetRetryOptions(RetryOptionsT&& value) {
183 m_retryOptionsHasBeenSet = true;
184 m_retryOptions = std::forward<RetryOptionsT>(value);
185 }
186 template <typename RetryOptionsT = RetryOptions>
188 SetRetryOptions(std::forward<RetryOptionsT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
199 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
200 template <typename RoleARNT = Aws::String>
201 void SetRoleARN(RoleARNT&& value) {
202 m_roleARNHasBeenSet = true;
203 m_roleARN = std::forward<RoleARNT>(value);
204 }
205 template <typename RoleARNT = Aws::String>
207 SetRoleARN(std::forward<RoleARNT>(value));
208 return *this;
209 }
211
213
222 inline bool GetAppendOnly() const { return m_appendOnly; }
223 inline bool AppendOnlyHasBeenSet() const { return m_appendOnlyHasBeenSet; }
224 inline void SetAppendOnly(bool value) {
225 m_appendOnlyHasBeenSet = true;
226 m_appendOnly = value;
227 }
229 SetAppendOnly(value);
230 return *this;
231 }
233
235
239 inline const CatalogConfiguration& GetCatalogConfiguration() const { return m_catalogConfiguration; }
240 inline bool CatalogConfigurationHasBeenSet() const { return m_catalogConfigurationHasBeenSet; }
241 template <typename CatalogConfigurationT = CatalogConfiguration>
242 void SetCatalogConfiguration(CatalogConfigurationT&& value) {
243 m_catalogConfigurationHasBeenSet = true;
244 m_catalogConfiguration = std::forward<CatalogConfigurationT>(value);
245 }
246 template <typename CatalogConfigurationT = CatalogConfiguration>
248 SetCatalogConfiguration(std::forward<CatalogConfigurationT>(value));
249 return *this;
250 }
252
254
255 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
256 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
257 template <typename S3DestinationDescriptionT = S3DestinationDescription>
258 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) {
259 m_s3DestinationDescriptionHasBeenSet = true;
260 m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value);
261 }
262 template <typename S3DestinationDescriptionT = S3DestinationDescription>
264 SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value));
265 return *this;
266 }
268 private:
269 Aws::Vector<DestinationTableConfiguration> m_destinationTableConfigurationList;
270
271 SchemaEvolutionConfiguration m_schemaEvolutionConfiguration;
272
273 TableCreationConfiguration m_tableCreationConfiguration;
274
275 BufferingHints m_bufferingHints;
276
277 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
278
279 ProcessingConfiguration m_processingConfiguration;
280
282
283 RetryOptions m_retryOptions;
284
285 Aws::String m_roleARN;
286
287 bool m_appendOnly{false};
288
289 CatalogConfiguration m_catalogConfiguration;
290
291 S3DestinationDescription m_s3DestinationDescription;
292 bool m_destinationTableConfigurationListHasBeenSet = false;
293 bool m_schemaEvolutionConfigurationHasBeenSet = false;
294 bool m_tableCreationConfigurationHasBeenSet = false;
295 bool m_bufferingHintsHasBeenSet = false;
296 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
297 bool m_processingConfigurationHasBeenSet = false;
298 bool m_s3BackupModeHasBeenSet = false;
299 bool m_retryOptionsHasBeenSet = false;
300 bool m_roleARNHasBeenSet = false;
301 bool m_appendOnlyHasBeenSet = false;
302 bool m_catalogConfigurationHasBeenSet = false;
303 bool m_s3DestinationDescriptionHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace Firehose
308} // namespace Aws
IcebergDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
IcebergDestinationDescription & WithAppendOnly(bool value)
IcebergDestinationDescription & WithRoleARN(RoleARNT &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
IcebergDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
void SetS3DestinationDescription(S3DestinationDescriptionT &&value)
IcebergDestinationDescription & WithCatalogConfiguration(CatalogConfigurationT &&value)
void SetDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
const TableCreationConfiguration & GetTableCreationConfiguration() const
IcebergDestinationDescription & WithDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
IcebergDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
IcebergDestinationDescription & WithSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT &&value)
AWS_FIREHOSE_API IcebergDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
IcebergDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API IcebergDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
const S3DestinationDescription & GetS3DestinationDescription() const
IcebergDestinationDescription & WithS3BackupMode(IcebergS3BackupMode value)
IcebergDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
void SetSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT &&value)
AWS_FIREHOSE_API IcebergDestinationDescription()=default
IcebergDestinationDescription & AddDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
const Aws::Vector< DestinationTableConfiguration > & GetDestinationTableConfigurationList() const
void SetTableCreationConfiguration(TableCreationConfigurationT &&value)
const SchemaEvolutionConfiguration & GetSchemaEvolutionConfiguration() const
IcebergDestinationDescription & WithTableCreationConfiguration(TableCreationConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue