AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAccountUrl(const Aws::String& value) { m_accountUrlHasBeenSet = true; m_accountUrl = value; }
60 inline void SetAccountUrl(Aws::String&& value) { m_accountUrlHasBeenSet = true; m_accountUrl = std::move(value); }
61 inline void SetAccountUrl(const char* value) { m_accountUrlHasBeenSet = true; m_accountUrl.assign(value); }
62 inline SnowflakeDestinationConfiguration& WithAccountUrl(const Aws::String& value) { SetAccountUrl(value); return *this;}
63 inline SnowflakeDestinationConfiguration& WithAccountUrl(Aws::String&& value) { SetAccountUrl(std::move(value)); return *this;}
64 inline SnowflakeDestinationConfiguration& WithAccountUrl(const char* value) { SetAccountUrl(value); return *this;}
66
68
74 inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
75 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
76 inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
77 inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
78 inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
79 inline SnowflakeDestinationConfiguration& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
80 inline SnowflakeDestinationConfiguration& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
81 inline SnowflakeDestinationConfiguration& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
83
85
91 inline const Aws::String& GetKeyPassphrase() const{ return m_keyPassphrase; }
92 inline bool KeyPassphraseHasBeenSet() const { return m_keyPassphraseHasBeenSet; }
93 inline void SetKeyPassphrase(const Aws::String& value) { m_keyPassphraseHasBeenSet = true; m_keyPassphrase = value; }
94 inline void SetKeyPassphrase(Aws::String&& value) { m_keyPassphraseHasBeenSet = true; m_keyPassphrase = std::move(value); }
95 inline void SetKeyPassphrase(const char* value) { m_keyPassphraseHasBeenSet = true; m_keyPassphrase.assign(value); }
97 inline SnowflakeDestinationConfiguration& WithKeyPassphrase(Aws::String&& value) { SetKeyPassphrase(std::move(value)); return *this;}
98 inline SnowflakeDestinationConfiguration& WithKeyPassphrase(const char* value) { SetKeyPassphrase(value); return *this;}
100
102
105 inline const Aws::String& GetUser() const{ return m_user; }
106 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
107 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
108 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
109 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
110 inline SnowflakeDestinationConfiguration& WithUser(const Aws::String& value) { SetUser(value); return *this;}
111 inline SnowflakeDestinationConfiguration& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
112 inline SnowflakeDestinationConfiguration& WithUser(const char* value) { SetUser(value); return *this;}
114
116
119 inline const Aws::String& GetDatabase() const{ return m_database; }
120 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
121 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
122 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
123 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
124 inline SnowflakeDestinationConfiguration& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
125 inline SnowflakeDestinationConfiguration& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
126 inline SnowflakeDestinationConfiguration& WithDatabase(const char* value) { SetDatabase(value); return *this;}
128
130
134 inline const Aws::String& GetSchema() const{ return m_schema; }
135 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
136 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
137 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
138 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
139 inline SnowflakeDestinationConfiguration& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
140 inline SnowflakeDestinationConfiguration& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
141 inline SnowflakeDestinationConfiguration& WithSchema(const char* value) { SetSchema(value); return *this;}
143
145
149 inline const Aws::String& GetTable() const{ return m_table; }
150 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
151 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
152 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
153 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
154 inline SnowflakeDestinationConfiguration& WithTable(const Aws::String& value) { SetTable(value); return *this;}
155 inline SnowflakeDestinationConfiguration& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
156 inline SnowflakeDestinationConfiguration& WithTable(const char* value) { SetTable(value); return *this;}
158
160
164 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const{ return m_snowflakeRoleConfiguration; }
165 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
166 inline void SetSnowflakeRoleConfiguration(const SnowflakeRoleConfiguration& value) { m_snowflakeRoleConfigurationHasBeenSet = true; m_snowflakeRoleConfiguration = value; }
167 inline void SetSnowflakeRoleConfiguration(SnowflakeRoleConfiguration&& value) { m_snowflakeRoleConfigurationHasBeenSet = true; m_snowflakeRoleConfiguration = std::move(value); }
171
173
178 inline const SnowflakeDataLoadingOption& GetDataLoadingOption() const{ return m_dataLoadingOption; }
179 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
180 inline void SetDataLoadingOption(const SnowflakeDataLoadingOption& value) { m_dataLoadingOptionHasBeenSet = true; m_dataLoadingOption = value; }
181 inline void SetDataLoadingOption(SnowflakeDataLoadingOption&& value) { m_dataLoadingOptionHasBeenSet = true; m_dataLoadingOption = std::move(value); }
185
187
190 inline const Aws::String& GetMetaDataColumnName() const{ return m_metaDataColumnName; }
191 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
192 inline void SetMetaDataColumnName(const Aws::String& value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName = value; }
193 inline void SetMetaDataColumnName(Aws::String&& value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName = std::move(value); }
194 inline void SetMetaDataColumnName(const char* value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName.assign(value); }
197 inline SnowflakeDestinationConfiguration& WithMetaDataColumnName(const char* value) { SetMetaDataColumnName(value); return *this;}
199
201
204 inline const Aws::String& GetContentColumnName() const{ return m_contentColumnName; }
205 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
206 inline void SetContentColumnName(const Aws::String& value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName = value; }
207 inline void SetContentColumnName(Aws::String&& value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName = std::move(value); }
208 inline void SetContentColumnName(const char* value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName.assign(value); }
211 inline SnowflakeDestinationConfiguration& WithContentColumnName(const char* value) { SetContentColumnName(value); return *this;}
213
215
222 inline const SnowflakeVpcConfiguration& GetSnowflakeVpcConfiguration() const{ return m_snowflakeVpcConfiguration; }
223 inline bool SnowflakeVpcConfigurationHasBeenSet() const { return m_snowflakeVpcConfigurationHasBeenSet; }
224 inline void SetSnowflakeVpcConfiguration(const SnowflakeVpcConfiguration& value) { m_snowflakeVpcConfigurationHasBeenSet = true; m_snowflakeVpcConfiguration = value; }
225 inline void SetSnowflakeVpcConfiguration(SnowflakeVpcConfiguration&& value) { m_snowflakeVpcConfigurationHasBeenSet = true; m_snowflakeVpcConfiguration = std::move(value); }
229
231
232 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
233 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
234 inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
235 inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
239
241
242 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
243 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
244 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
245 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
249
251
254 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
255 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
256 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
257 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
258 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
259 inline SnowflakeDestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
260 inline SnowflakeDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
261 inline SnowflakeDestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
263
265
269 inline const SnowflakeRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
270 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
271 inline void SetRetryOptions(const SnowflakeRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
272 inline void SetRetryOptions(SnowflakeRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
276
278
281 inline const SnowflakeS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
282 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
283 inline void SetS3BackupMode(const SnowflakeS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
284 inline void SetS3BackupMode(SnowflakeS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
288
290
291 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
292 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
293 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
294 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
298
300
303 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; }
304 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
305 inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; }
306 inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); }
310
312
317 inline const SnowflakeBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
318 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
319 inline void SetBufferingHints(const SnowflakeBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
320 inline void SetBufferingHints(SnowflakeBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
324 private:
325
326 Aws::String m_accountUrl;
327 bool m_accountUrlHasBeenSet = false;
328
329 Aws::String m_privateKey;
330 bool m_privateKeyHasBeenSet = false;
331
332 Aws::String m_keyPassphrase;
333 bool m_keyPassphraseHasBeenSet = false;
334
335 Aws::String m_user;
336 bool m_userHasBeenSet = false;
337
338 Aws::String m_database;
339 bool m_databaseHasBeenSet = false;
340
341 Aws::String m_schema;
342 bool m_schemaHasBeenSet = false;
343
344 Aws::String m_table;
345 bool m_tableHasBeenSet = false;
346
347 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
348 bool m_snowflakeRoleConfigurationHasBeenSet = false;
349
350 SnowflakeDataLoadingOption m_dataLoadingOption;
351 bool m_dataLoadingOptionHasBeenSet = false;
352
353 Aws::String m_metaDataColumnName;
354 bool m_metaDataColumnNameHasBeenSet = false;
355
356 Aws::String m_contentColumnName;
357 bool m_contentColumnNameHasBeenSet = false;
358
359 SnowflakeVpcConfiguration m_snowflakeVpcConfiguration;
360 bool m_snowflakeVpcConfigurationHasBeenSet = false;
361
362 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
363 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
364
365 ProcessingConfiguration m_processingConfiguration;
366 bool m_processingConfigurationHasBeenSet = false;
367
368 Aws::String m_roleARN;
369 bool m_roleARNHasBeenSet = false;
370
371 SnowflakeRetryOptions m_retryOptions;
372 bool m_retryOptionsHasBeenSet = false;
373
374 SnowflakeS3BackupMode m_s3BackupMode;
375 bool m_s3BackupModeHasBeenSet = false;
376
377 S3DestinationConfiguration m_s3Configuration;
378 bool m_s3ConfigurationHasBeenSet = false;
379
380 SecretsManagerConfiguration m_secretsManagerConfiguration;
381 bool m_secretsManagerConfigurationHasBeenSet = false;
382
383 SnowflakeBufferingHints m_bufferingHints;
384 bool m_bufferingHintsHasBeenSet = false;
385 };
386
387} // namespace Model
388} // namespace Firehose
389} // namespace Aws
SnowflakeDestinationConfiguration & WithContentColumnName(const char *value)
SnowflakeDestinationConfiguration & WithUser(const char *value)
SnowflakeDestinationConfiguration & WithRoleARN(Aws::String &&value)
SnowflakeDestinationConfiguration & WithDatabase(Aws::String &&value)
SnowflakeDestinationConfiguration & WithSnowflakeVpcConfiguration(SnowflakeVpcConfiguration &&value)
void SetSnowflakeRoleConfiguration(const SnowflakeRoleConfiguration &value)
SnowflakeDestinationConfiguration & WithBufferingHints(SnowflakeBufferingHints &&value)
SnowflakeDestinationConfiguration & WithPrivateKey(const Aws::String &value)
SnowflakeDestinationConfiguration & WithSecretsManagerConfiguration(SecretsManagerConfiguration &&value)
SnowflakeDestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
SnowflakeDestinationConfiguration & WithSchema(const Aws::String &value)
SnowflakeDestinationConfiguration & WithMetaDataColumnName(Aws::String &&value)
SnowflakeDestinationConfiguration & WithAccountUrl(const char *value)
SnowflakeDestinationConfiguration & WithContentColumnName(Aws::String &&value)
SnowflakeDestinationConfiguration & WithRoleARN(const Aws::String &value)
void SetSnowflakeVpcConfiguration(const SnowflakeVpcConfiguration &value)
void SetSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
SnowflakeDestinationConfiguration & WithSecretsManagerConfiguration(const SecretsManagerConfiguration &value)
SnowflakeDestinationConfiguration & WithDatabase(const Aws::String &value)
SnowflakeDestinationConfiguration & WithMetaDataColumnName(const Aws::String &value)
SnowflakeDestinationConfiguration & WithPrivateKey(Aws::String &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
SnowflakeDestinationConfiguration & WithKeyPassphrase(const char *value)
SnowflakeDestinationConfiguration & WithUser(const Aws::String &value)
SnowflakeDestinationConfiguration & WithKeyPassphrase(Aws::String &&value)
SnowflakeDestinationConfiguration & WithProcessingConfiguration(ProcessingConfiguration &&value)
SnowflakeDestinationConfiguration & WithDatabase(const char *value)
SnowflakeDestinationConfiguration & WithPrivateKey(const char *value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SnowflakeDestinationConfiguration & WithS3BackupMode(SnowflakeS3BackupMode &&value)
SnowflakeDestinationConfiguration & WithSnowflakeVpcConfiguration(const SnowflakeVpcConfiguration &value)
SnowflakeDestinationConfiguration & WithUser(Aws::String &&value)
SnowflakeDestinationConfiguration & WithDataLoadingOption(SnowflakeDataLoadingOption &&value)
SnowflakeDestinationConfiguration & WithRoleARN(const char *value)
SnowflakeDestinationConfiguration & WithSchema(const char *value)
SnowflakeDestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
SnowflakeDestinationConfiguration & WithMetaDataColumnName(const char *value)
SnowflakeDestinationConfiguration & WithRetryOptions(const SnowflakeRetryOptions &value)
SnowflakeDestinationConfiguration & WithBufferingHints(const SnowflakeBufferingHints &value)
SnowflakeDestinationConfiguration & WithTable(const Aws::String &value)
SnowflakeDestinationConfiguration & WithContentColumnName(const Aws::String &value)
SnowflakeDestinationConfiguration & WithProcessingConfiguration(const ProcessingConfiguration &value)
SnowflakeDestinationConfiguration & WithSchema(Aws::String &&value)
SnowflakeDestinationConfiguration & WithAccountUrl(const Aws::String &value)
AWS_FIREHOSE_API SnowflakeDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SnowflakeDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationConfiguration & WithRetryOptions(SnowflakeRetryOptions &&value)
SnowflakeDestinationConfiguration & WithAccountUrl(Aws::String &&value)
SnowflakeDestinationConfiguration & WithSnowflakeRoleConfiguration(SnowflakeRoleConfiguration &&value)
SnowflakeDestinationConfiguration & WithTable(Aws::String &&value)
SnowflakeDestinationConfiguration & WithTable(const char *value)
SnowflakeDestinationConfiguration & WithKeyPassphrase(const Aws::String &value)
SnowflakeDestinationConfiguration & WithDataLoadingOption(const SnowflakeDataLoadingOption &value)
SnowflakeDestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
SnowflakeDestinationConfiguration & WithSnowflakeRoleConfiguration(const SnowflakeRoleConfiguration &value)
SnowflakeDestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
SnowflakeDestinationConfiguration & WithS3BackupMode(const SnowflakeS3BackupMode &value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue