AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SnowflakeDestinationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/CloudWatchLoggingOptions.h>
10#include <aws/firehose/model/ProcessingConfiguration.h>
11#include <aws/firehose/model/S3DestinationConfiguration.h>
12#include <aws/firehose/model/SecretsManagerConfiguration.h>
13#include <aws/firehose/model/SnowflakeBufferingHints.h>
14#include <aws/firehose/model/SnowflakeDataLoadingOption.h>
15#include <aws/firehose/model/SnowflakeRetryOptions.h>
16#include <aws/firehose/model/SnowflakeRoleConfiguration.h>
17#include <aws/firehose/model/SnowflakeS3BackupMode.h>
18#include <aws/firehose/model/SnowflakeVpcConfiguration.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Firehose {
30namespace Model {
31
38 public:
39 AWS_FIREHOSE_API SnowflakeDestinationConfiguration() = default;
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
51 inline const Aws::String& GetAccountUrl() const { return m_accountUrl; }
52 inline bool AccountUrlHasBeenSet() const { return m_accountUrlHasBeenSet; }
53 template <typename AccountUrlT = Aws::String>
54 void SetAccountUrl(AccountUrlT&& value) {
55 m_accountUrlHasBeenSet = true;
56 m_accountUrl = std::forward<AccountUrlT>(value);
57 }
58 template <typename AccountUrlT = Aws::String>
60 SetAccountUrl(std::forward<AccountUrlT>(value));
61 return *this;
62 }
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) {
76 m_privateKeyHasBeenSet = true;
77 m_privateKey = std::forward<PrivateKeyT>(value);
78 }
79 template <typename PrivateKeyT = Aws::String>
81 SetPrivateKey(std::forward<PrivateKeyT>(value));
82 return *this;
83 }
85
87
93 inline const Aws::String& GetKeyPassphrase() const { return m_keyPassphrase; }
94 inline bool KeyPassphraseHasBeenSet() const { return m_keyPassphraseHasBeenSet; }
95 template <typename KeyPassphraseT = Aws::String>
96 void SetKeyPassphrase(KeyPassphraseT&& value) {
97 m_keyPassphraseHasBeenSet = true;
98 m_keyPassphrase = std::forward<KeyPassphraseT>(value);
99 }
100 template <typename KeyPassphraseT = Aws::String>
102 SetKeyPassphrase(std::forward<KeyPassphraseT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetUser() const { return m_user; }
112 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
113 template <typename UserT = Aws::String>
114 void SetUser(UserT&& value) {
115 m_userHasBeenSet = true;
116 m_user = std::forward<UserT>(value);
117 }
118 template <typename UserT = Aws::String>
120 SetUser(std::forward<UserT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDatabase() const { return m_database; }
130 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
131 template <typename DatabaseT = Aws::String>
132 void SetDatabase(DatabaseT&& value) {
133 m_databaseHasBeenSet = true;
134 m_database = std::forward<DatabaseT>(value);
135 }
136 template <typename DatabaseT = Aws::String>
138 SetDatabase(std::forward<DatabaseT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetSchema() const { return m_schema; }
149 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
150 template <typename SchemaT = Aws::String>
151 void SetSchema(SchemaT&& value) {
152 m_schemaHasBeenSet = true;
153 m_schema = std::forward<SchemaT>(value);
154 }
155 template <typename SchemaT = Aws::String>
157 SetSchema(std::forward<SchemaT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::String& GetTable() const { return m_table; }
168 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
169 template <typename TableT = Aws::String>
170 void SetTable(TableT&& value) {
171 m_tableHasBeenSet = true;
172 m_table = std::forward<TableT>(value);
173 }
174 template <typename TableT = Aws::String>
176 SetTable(std::forward<TableT>(value));
177 return *this;
178 }
180
182
186 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
187 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
188 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
189 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) {
190 m_snowflakeRoleConfigurationHasBeenSet = true;
191 m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value);
192 }
193 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
195 SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value));
196 return *this;
197 }
199
201
206 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
207 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
209 m_dataLoadingOptionHasBeenSet = true;
210 m_dataLoadingOption = value;
211 }
214 return *this;
215 }
217
219
229 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
230 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
231 template <typename MetaDataColumnNameT = Aws::String>
232 void SetMetaDataColumnName(MetaDataColumnNameT&& value) {
233 m_metaDataColumnNameHasBeenSet = true;
234 m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value);
235 }
236 template <typename MetaDataColumnNameT = Aws::String>
238 SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
248 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
249 template <typename ContentColumnNameT = Aws::String>
250 void SetContentColumnName(ContentColumnNameT&& value) {
251 m_contentColumnNameHasBeenSet = true;
252 m_contentColumnName = std::forward<ContentColumnNameT>(value);
253 }
254 template <typename ContentColumnNameT = Aws::String>
256 SetContentColumnName(std::forward<ContentColumnNameT>(value));
257 return *this;
258 }
260
262
269 inline const SnowflakeVpcConfiguration& GetSnowflakeVpcConfiguration() const { return m_snowflakeVpcConfiguration; }
270 inline bool SnowflakeVpcConfigurationHasBeenSet() const { return m_snowflakeVpcConfigurationHasBeenSet; }
271 template <typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
272 void SetSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) {
273 m_snowflakeVpcConfigurationHasBeenSet = true;
274 m_snowflakeVpcConfiguration = std::forward<SnowflakeVpcConfigurationT>(value);
275 }
276 template <typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
278 SetSnowflakeVpcConfiguration(std::forward<SnowflakeVpcConfigurationT>(value));
279 return *this;
280 }
282
284
285 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
286 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
287 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
288 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
289 m_cloudWatchLoggingOptionsHasBeenSet = true;
290 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
291 }
292 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
294 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
295 return *this;
296 }
298
300
301 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
302 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
303 template <typename ProcessingConfigurationT = ProcessingConfiguration>
304 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
305 m_processingConfigurationHasBeenSet = true;
306 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
307 }
308 template <typename ProcessingConfigurationT = ProcessingConfiguration>
310 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
320 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
321 template <typename RoleARNT = Aws::String>
322 void SetRoleARN(RoleARNT&& value) {
323 m_roleARNHasBeenSet = true;
324 m_roleARN = std::forward<RoleARNT>(value);
325 }
326 template <typename RoleARNT = Aws::String>
328 SetRoleARN(std::forward<RoleARNT>(value));
329 return *this;
330 }
332
334
338 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
339 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
340 template <typename RetryOptionsT = SnowflakeRetryOptions>
341 void SetRetryOptions(RetryOptionsT&& value) {
342 m_retryOptionsHasBeenSet = true;
343 m_retryOptions = std::forward<RetryOptionsT>(value);
344 }
345 template <typename RetryOptionsT = SnowflakeRetryOptions>
347 SetRetryOptions(std::forward<RetryOptionsT>(value));
348 return *this;
349 }
351
353
356 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
357 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
359 m_s3BackupModeHasBeenSet = true;
360 m_s3BackupMode = value;
361 }
363 SetS3BackupMode(value);
364 return *this;
365 }
367
369
370 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
371 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
372 template <typename S3ConfigurationT = S3DestinationConfiguration>
373 void SetS3Configuration(S3ConfigurationT&& value) {
374 m_s3ConfigurationHasBeenSet = true;
375 m_s3Configuration = std::forward<S3ConfigurationT>(value);
376 }
377 template <typename S3ConfigurationT = S3DestinationConfiguration>
379 SetS3Configuration(std::forward<S3ConfigurationT>(value));
380 return *this;
381 }
383
385
388 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
389 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
390 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
391 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
392 m_secretsManagerConfigurationHasBeenSet = true;
393 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
394 }
395 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
397 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
398 return *this;
399 }
401
403
408 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
409 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
410 template <typename BufferingHintsT = SnowflakeBufferingHints>
411 void SetBufferingHints(BufferingHintsT&& value) {
412 m_bufferingHintsHasBeenSet = true;
413 m_bufferingHints = std::forward<BufferingHintsT>(value);
414 }
415 template <typename BufferingHintsT = SnowflakeBufferingHints>
417 SetBufferingHints(std::forward<BufferingHintsT>(value));
418 return *this;
419 }
421 private:
422 Aws::String m_accountUrl;
423
424 Aws::String m_privateKey;
425
426 Aws::String m_keyPassphrase;
427
428 Aws::String m_user;
429
430 Aws::String m_database;
431
432 Aws::String m_schema;
433
434 Aws::String m_table;
435
436 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
437
439
440 Aws::String m_metaDataColumnName;
441
442 Aws::String m_contentColumnName;
443
444 SnowflakeVpcConfiguration m_snowflakeVpcConfiguration;
445
446 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
447
448 ProcessingConfiguration m_processingConfiguration;
449
450 Aws::String m_roleARN;
451
452 SnowflakeRetryOptions m_retryOptions;
453
455
456 S3DestinationConfiguration m_s3Configuration;
457
458 SecretsManagerConfiguration m_secretsManagerConfiguration;
459
460 SnowflakeBufferingHints m_bufferingHints;
461 bool m_accountUrlHasBeenSet = false;
462 bool m_privateKeyHasBeenSet = false;
463 bool m_keyPassphraseHasBeenSet = false;
464 bool m_userHasBeenSet = false;
465 bool m_databaseHasBeenSet = false;
466 bool m_schemaHasBeenSet = false;
467 bool m_tableHasBeenSet = false;
468 bool m_snowflakeRoleConfigurationHasBeenSet = false;
469 bool m_dataLoadingOptionHasBeenSet = false;
470 bool m_metaDataColumnNameHasBeenSet = false;
471 bool m_contentColumnNameHasBeenSet = false;
472 bool m_snowflakeVpcConfigurationHasBeenSet = false;
473 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
474 bool m_processingConfigurationHasBeenSet = false;
475 bool m_roleARNHasBeenSet = false;
476 bool m_retryOptionsHasBeenSet = false;
477 bool m_s3BackupModeHasBeenSet = false;
478 bool m_s3ConfigurationHasBeenSet = false;
479 bool m_secretsManagerConfigurationHasBeenSet = false;
480 bool m_bufferingHintsHasBeenSet = false;
481};
482
483} // namespace Model
484} // namespace Firehose
485} // 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