AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeDestinationConfiguration.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/SnowflakeRoleConfiguration.h>
10#include <aws/firehose/model/SnowflakeDataLoadingOption.h>
11#include <aws/firehose/model/SnowflakeVpcConfiguration.h>
12#include <aws/firehose/model/CloudWatchLoggingOptions.h>
13#include <aws/firehose/model/ProcessingConfiguration.h>
14#include <aws/firehose/model/SnowflakeRetryOptions.h>
15#include <aws/firehose/model/SnowflakeS3BackupMode.h>
16#include <aws/firehose/model/S3DestinationConfiguration.h>
17#include <aws/firehose/model/SecretsManagerConfiguration.h>
18#include <aws/firehose/model/SnowflakeBufferingHints.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace Firehose
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_FIREHOSE_API SnowflakeDestinationConfiguration() = default;
47 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
57 inline const Aws::String& GetAccountUrl() const { return m_accountUrl; }
58 inline bool AccountUrlHasBeenSet() const { return m_accountUrlHasBeenSet; }
59 template<typename AccountUrlT = Aws::String>
60 void SetAccountUrl(AccountUrlT&& value) { m_accountUrlHasBeenSet = true; m_accountUrl = std::forward<AccountUrlT>(value); }
61 template<typename AccountUrlT = Aws::String>
62 SnowflakeDestinationConfiguration& WithAccountUrl(AccountUrlT&& value) { SetAccountUrl(std::forward<AccountUrlT>(value)); return *this;}
64
66
72 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
73 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
74 template<typename PrivateKeyT = Aws::String>
75 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::forward<PrivateKeyT>(value); }
76 template<typename PrivateKeyT = Aws::String>
77 SnowflakeDestinationConfiguration& WithPrivateKey(PrivateKeyT&& value) { SetPrivateKey(std::forward<PrivateKeyT>(value)); return *this;}
79
81
87 inline const Aws::String& GetKeyPassphrase() const { return m_keyPassphrase; }
88 inline bool KeyPassphraseHasBeenSet() const { return m_keyPassphraseHasBeenSet; }
89 template<typename KeyPassphraseT = Aws::String>
90 void SetKeyPassphrase(KeyPassphraseT&& value) { m_keyPassphraseHasBeenSet = true; m_keyPassphrase = std::forward<KeyPassphraseT>(value); }
91 template<typename KeyPassphraseT = Aws::String>
92 SnowflakeDestinationConfiguration& WithKeyPassphrase(KeyPassphraseT&& value) { SetKeyPassphrase(std::forward<KeyPassphraseT>(value)); return *this;}
94
96
99 inline const Aws::String& GetUser() const { return m_user; }
100 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
101 template<typename UserT = Aws::String>
102 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
103 template<typename UserT = Aws::String>
104 SnowflakeDestinationConfiguration& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
106
108
111 inline const Aws::String& GetDatabase() const { return m_database; }
112 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
113 template<typename DatabaseT = Aws::String>
114 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
115 template<typename DatabaseT = Aws::String>
116 SnowflakeDestinationConfiguration& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
118
120
124 inline const Aws::String& GetSchema() const { return m_schema; }
125 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
126 template<typename SchemaT = Aws::String>
127 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
128 template<typename SchemaT = Aws::String>
129 SnowflakeDestinationConfiguration& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
131
133
137 inline const Aws::String& GetTable() const { return m_table; }
138 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
139 template<typename TableT = Aws::String>
140 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
141 template<typename TableT = Aws::String>
142 SnowflakeDestinationConfiguration& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
144
146
150 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
151 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
152 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
153 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { m_snowflakeRoleConfigurationHasBeenSet = true; m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value); }
154 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
155 SnowflakeDestinationConfiguration& WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value)); return *this;}
157
159
164 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
165 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
166 inline void SetDataLoadingOption(SnowflakeDataLoadingOption value) { m_dataLoadingOptionHasBeenSet = true; m_dataLoadingOption = value; }
169
171
181 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
182 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
183 template<typename MetaDataColumnNameT = Aws::String>
184 void SetMetaDataColumnName(MetaDataColumnNameT&& value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value); }
185 template<typename MetaDataColumnNameT = Aws::String>
186 SnowflakeDestinationConfiguration& WithMetaDataColumnName(MetaDataColumnNameT&& value) { SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value)); return *this;}
188
190
193 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
194 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
195 template<typename ContentColumnNameT = Aws::String>
196 void SetContentColumnName(ContentColumnNameT&& value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName = std::forward<ContentColumnNameT>(value); }
197 template<typename ContentColumnNameT = Aws::String>
198 SnowflakeDestinationConfiguration& WithContentColumnName(ContentColumnNameT&& value) { SetContentColumnName(std::forward<ContentColumnNameT>(value)); return *this;}
200
202
209 inline const SnowflakeVpcConfiguration& GetSnowflakeVpcConfiguration() const { return m_snowflakeVpcConfiguration; }
210 inline bool SnowflakeVpcConfigurationHasBeenSet() const { return m_snowflakeVpcConfigurationHasBeenSet; }
211 template<typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
212 void SetSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) { m_snowflakeVpcConfigurationHasBeenSet = true; m_snowflakeVpcConfiguration = std::forward<SnowflakeVpcConfigurationT>(value); }
213 template<typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
214 SnowflakeDestinationConfiguration& WithSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) { SetSnowflakeVpcConfiguration(std::forward<SnowflakeVpcConfigurationT>(value)); return *this;}
216
218
219 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
220 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
221 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
222 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
223 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
224 SnowflakeDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
226
228
229 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
230 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
231 template<typename ProcessingConfigurationT = ProcessingConfiguration>
232 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
233 template<typename ProcessingConfigurationT = ProcessingConfiguration>
234 SnowflakeDestinationConfiguration& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
236
238
241 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
242 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
243 template<typename RoleARNT = Aws::String>
244 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
245 template<typename RoleARNT = Aws::String>
246 SnowflakeDestinationConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
248
250
254 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
255 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
256 template<typename RetryOptionsT = SnowflakeRetryOptions>
257 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
258 template<typename RetryOptionsT = SnowflakeRetryOptions>
259 SnowflakeDestinationConfiguration& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
261
263
266 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
267 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
268 inline void SetS3BackupMode(SnowflakeS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
271
273
274 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
275 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
276 template<typename S3ConfigurationT = S3DestinationConfiguration>
277 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
278 template<typename S3ConfigurationT = S3DestinationConfiguration>
279 SnowflakeDestinationConfiguration& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
281
283
286 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
287 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
288 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
289 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value); }
290 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
291 SnowflakeDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value)); return *this;}
293
295
300 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
301 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
302 template<typename BufferingHintsT = SnowflakeBufferingHints>
303 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
304 template<typename BufferingHintsT = SnowflakeBufferingHints>
305 SnowflakeDestinationConfiguration& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
307 private:
308
309 Aws::String m_accountUrl;
310 bool m_accountUrlHasBeenSet = false;
311
312 Aws::String m_privateKey;
313 bool m_privateKeyHasBeenSet = false;
314
315 Aws::String m_keyPassphrase;
316 bool m_keyPassphraseHasBeenSet = false;
317
318 Aws::String m_user;
319 bool m_userHasBeenSet = false;
320
321 Aws::String m_database;
322 bool m_databaseHasBeenSet = false;
323
324 Aws::String m_schema;
325 bool m_schemaHasBeenSet = false;
326
327 Aws::String m_table;
328 bool m_tableHasBeenSet = false;
329
330 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
331 bool m_snowflakeRoleConfigurationHasBeenSet = false;
332
334 bool m_dataLoadingOptionHasBeenSet = false;
335
336 Aws::String m_metaDataColumnName;
337 bool m_metaDataColumnNameHasBeenSet = false;
338
339 Aws::String m_contentColumnName;
340 bool m_contentColumnNameHasBeenSet = false;
341
342 SnowflakeVpcConfiguration m_snowflakeVpcConfiguration;
343 bool m_snowflakeVpcConfigurationHasBeenSet = false;
344
345 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
346 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
347
348 ProcessingConfiguration m_processingConfiguration;
349 bool m_processingConfigurationHasBeenSet = false;
350
351 Aws::String m_roleARN;
352 bool m_roleARNHasBeenSet = false;
353
354 SnowflakeRetryOptions m_retryOptions;
355 bool m_retryOptionsHasBeenSet = false;
356
358 bool m_s3BackupModeHasBeenSet = false;
359
360 S3DestinationConfiguration m_s3Configuration;
361 bool m_s3ConfigurationHasBeenSet = false;
362
363 SecretsManagerConfiguration m_secretsManagerConfiguration;
364 bool m_secretsManagerConfigurationHasBeenSet = false;
365
366 SnowflakeBufferingHints m_bufferingHints;
367 bool m_bufferingHintsHasBeenSet = false;
368 };
369
370} // namespace Model
371} // namespace Firehose
372} // namespace Aws
SnowflakeDestinationConfiguration & WithAccountUrl(AccountUrlT &&value)
SnowflakeDestinationConfiguration & WithBufferingHints(BufferingHintsT &&value)
SnowflakeDestinationConfiguration & WithDataLoadingOption(SnowflakeDataLoadingOption value)
SnowflakeDestinationConfiguration & WithSchema(SchemaT &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
SnowflakeDestinationConfiguration & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
SnowflakeDestinationConfiguration & WithRetryOptions(RetryOptionsT &&value)
SnowflakeDestinationConfiguration & WithContentColumnName(ContentColumnNameT &&value)
AWS_FIREHOSE_API SnowflakeDestinationConfiguration()=default
SnowflakeDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
SnowflakeDestinationConfiguration & WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SnowflakeDestinationConfiguration & WithRoleARN(RoleARNT &&value)
SnowflakeDestinationConfiguration & WithProcessingConfiguration(ProcessingConfigurationT &&value)
SnowflakeDestinationConfiguration & WithUser(UserT &&value)
SnowflakeDestinationConfiguration & WithS3BackupMode(SnowflakeS3BackupMode value)
SnowflakeDestinationConfiguration & WithMetaDataColumnName(MetaDataColumnNameT &&value)
AWS_FIREHOSE_API SnowflakeDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SnowflakeDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationConfiguration & WithDatabase(DatabaseT &&value)
SnowflakeDestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
SnowflakeDestinationConfiguration & WithKeyPassphrase(KeyPassphraseT &&value)
SnowflakeDestinationConfiguration & WithPrivateKey(PrivateKeyT &&value)
SnowflakeDestinationConfiguration & WithSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT &&value)
SnowflakeDestinationConfiguration & WithTable(TableT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue