AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergDestinationUpdate.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/firehose/model/SchemaEvolutionConfiguration.h>
10#include <aws/firehose/model/TableCreationConfiguration.h>
11#include <aws/firehose/model/BufferingHints.h>
12#include <aws/firehose/model/CloudWatchLoggingOptions.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/IcebergS3BackupMode.h>
15#include <aws/firehose/model/RetryOptions.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/firehose/model/CatalogConfiguration.h>
18#include <aws/firehose/model/S3DestinationConfiguration.h>
19#include <aws/firehose/model/DestinationTableConfiguration.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Firehose
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_FIREHOSE_API IcebergDestinationUpdate() = default;
49 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
58 inline const Aws::Vector<DestinationTableConfiguration>& GetDestinationTableConfigurationList() const { return m_destinationTableConfigurationList; }
59 inline bool DestinationTableConfigurationListHasBeenSet() const { return m_destinationTableConfigurationListHasBeenSet; }
60 template<typename DestinationTableConfigurationListT = Aws::Vector<DestinationTableConfiguration>>
61 void SetDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = std::forward<DestinationTableConfigurationListT>(value); }
62 template<typename DestinationTableConfigurationListT = Aws::Vector<DestinationTableConfiguration>>
63 IcebergDestinationUpdate& WithDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) { SetDestinationTableConfigurationList(std::forward<DestinationTableConfigurationListT>(value)); return *this;}
64 template<typename DestinationTableConfigurationListT = DestinationTableConfiguration>
65 IcebergDestinationUpdate& AddDestinationTableConfigurationList(DestinationTableConfigurationListT&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.emplace_back(std::forward<DestinationTableConfigurationListT>(value)); return *this; }
67
69
73 inline const SchemaEvolutionConfiguration& GetSchemaEvolutionConfiguration() const { return m_schemaEvolutionConfiguration; }
74 inline bool SchemaEvolutionConfigurationHasBeenSet() const { return m_schemaEvolutionConfigurationHasBeenSet; }
75 template<typename SchemaEvolutionConfigurationT = SchemaEvolutionConfiguration>
76 void SetSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT&& value) { m_schemaEvolutionConfigurationHasBeenSet = true; m_schemaEvolutionConfiguration = std::forward<SchemaEvolutionConfigurationT>(value); }
77 template<typename SchemaEvolutionConfigurationT = SchemaEvolutionConfiguration>
78 IcebergDestinationUpdate& WithSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT&& value) { SetSchemaEvolutionConfiguration(std::forward<SchemaEvolutionConfigurationT>(value)); return *this;}
80
82
86 inline const TableCreationConfiguration& GetTableCreationConfiguration() const { return m_tableCreationConfiguration; }
87 inline bool TableCreationConfigurationHasBeenSet() const { return m_tableCreationConfigurationHasBeenSet; }
88 template<typename TableCreationConfigurationT = TableCreationConfiguration>
89 void SetTableCreationConfiguration(TableCreationConfigurationT&& value) { m_tableCreationConfigurationHasBeenSet = true; m_tableCreationConfiguration = std::forward<TableCreationConfigurationT>(value); }
90 template<typename TableCreationConfigurationT = TableCreationConfiguration>
91 IcebergDestinationUpdate& WithTableCreationConfiguration(TableCreationConfigurationT&& value) { SetTableCreationConfiguration(std::forward<TableCreationConfigurationT>(value)); return *this;}
93
95
96 inline const BufferingHints& GetBufferingHints() const { return m_bufferingHints; }
97 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
98 template<typename BufferingHintsT = BufferingHints>
99 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
100 template<typename BufferingHintsT = BufferingHints>
101 IcebergDestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
103
105
106 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
107 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
108 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
109 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
110 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
111 IcebergDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
113
115
116 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
117 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
118 template<typename ProcessingConfigurationT = ProcessingConfiguration>
119 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
120 template<typename ProcessingConfigurationT = ProcessingConfiguration>
121 IcebergDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
123
125
129 inline IcebergS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
130 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
131 inline void SetS3BackupMode(IcebergS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
134
136
137 inline const RetryOptions& GetRetryOptions() const { return m_retryOptions; }
138 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
139 template<typename RetryOptionsT = RetryOptions>
140 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
141 template<typename RetryOptionsT = RetryOptions>
142 IcebergDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
144
146
150 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
151 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
152 template<typename RoleARNT = Aws::String>
153 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
154 template<typename RoleARNT = Aws::String>
155 IcebergDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
157
159
168 inline bool GetAppendOnly() const { return m_appendOnly; }
169 inline bool AppendOnlyHasBeenSet() const { return m_appendOnlyHasBeenSet; }
170 inline void SetAppendOnly(bool value) { m_appendOnlyHasBeenSet = true; m_appendOnly = value; }
171 inline IcebergDestinationUpdate& WithAppendOnly(bool value) { SetAppendOnly(value); return *this;}
173
175
179 inline const CatalogConfiguration& GetCatalogConfiguration() const { return m_catalogConfiguration; }
180 inline bool CatalogConfigurationHasBeenSet() const { return m_catalogConfigurationHasBeenSet; }
181 template<typename CatalogConfigurationT = CatalogConfiguration>
182 void SetCatalogConfiguration(CatalogConfigurationT&& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = std::forward<CatalogConfigurationT>(value); }
183 template<typename CatalogConfigurationT = CatalogConfiguration>
184 IcebergDestinationUpdate& WithCatalogConfiguration(CatalogConfigurationT&& value) { SetCatalogConfiguration(std::forward<CatalogConfigurationT>(value)); return *this;}
186
188
189 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
190 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
191 template<typename S3ConfigurationT = S3DestinationConfiguration>
192 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
193 template<typename S3ConfigurationT = S3DestinationConfiguration>
194 IcebergDestinationUpdate& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
196 private:
197
198 Aws::Vector<DestinationTableConfiguration> m_destinationTableConfigurationList;
199 bool m_destinationTableConfigurationListHasBeenSet = false;
200
201 SchemaEvolutionConfiguration m_schemaEvolutionConfiguration;
202 bool m_schemaEvolutionConfigurationHasBeenSet = false;
203
204 TableCreationConfiguration m_tableCreationConfiguration;
205 bool m_tableCreationConfigurationHasBeenSet = false;
206
207 BufferingHints m_bufferingHints;
208 bool m_bufferingHintsHasBeenSet = false;
209
210 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
211 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
212
213 ProcessingConfiguration m_processingConfiguration;
214 bool m_processingConfigurationHasBeenSet = false;
215
217 bool m_s3BackupModeHasBeenSet = false;
218
219 RetryOptions m_retryOptions;
220 bool m_retryOptionsHasBeenSet = false;
221
222 Aws::String m_roleARN;
223 bool m_roleARNHasBeenSet = false;
224
225 bool m_appendOnly{false};
226 bool m_appendOnlyHasBeenSet = false;
227
228 CatalogConfiguration m_catalogConfiguration;
229 bool m_catalogConfigurationHasBeenSet = false;
230
231 S3DestinationConfiguration m_s3Configuration;
232 bool m_s3ConfigurationHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Firehose
237} // namespace Aws
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
IcebergDestinationUpdate & WithTableCreationConfiguration(TableCreationConfigurationT &&value)
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
const TableCreationConfiguration & GetTableCreationConfiguration() const
IcebergDestinationUpdate & WithSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT &&value)
IcebergDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
IcebergDestinationUpdate & WithRoleARN(RoleARNT &&value)
void SetTableCreationConfiguration(TableCreationConfigurationT &&value)
IcebergDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
IcebergDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
IcebergDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCatalogConfiguration(CatalogConfigurationT &&value)
IcebergDestinationUpdate & WithS3BackupMode(IcebergS3BackupMode value)
const CatalogConfiguration & GetCatalogConfiguration() const
IcebergDestinationUpdate & WithDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
AWS_FIREHOSE_API IcebergDestinationUpdate()=default
const ProcessingConfiguration & GetProcessingConfiguration() const
IcebergDestinationUpdate & WithAppendOnly(bool value)
AWS_FIREHOSE_API IcebergDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3DestinationConfiguration & GetS3Configuration() const
IcebergDestinationUpdate & WithS3Configuration(S3ConfigurationT &&value)
const Aws::Vector< DestinationTableConfiguration > & GetDestinationTableConfigurationList() const
AWS_FIREHOSE_API IcebergDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaEvolutionConfiguration(SchemaEvolutionConfigurationT &&value)
IcebergDestinationUpdate & WithCatalogConfiguration(CatalogConfigurationT &&value)
IcebergDestinationUpdate & AddDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
void SetDestinationTableConfigurationList(DestinationTableConfigurationListT &&value)
const SchemaEvolutionConfiguration & GetSchemaEvolutionConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue