AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SnowflakeDestinationUpdate.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/S3DestinationUpdate.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
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Firehose {
29namespace Model {
30
37 public:
38 AWS_FIREHOSE_API SnowflakeDestinationUpdate() = default;
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
50 inline const Aws::String& GetAccountUrl() const { return m_accountUrl; }
51 inline bool AccountUrlHasBeenSet() const { return m_accountUrlHasBeenSet; }
52 template <typename AccountUrlT = Aws::String>
53 void SetAccountUrl(AccountUrlT&& value) {
54 m_accountUrlHasBeenSet = true;
55 m_accountUrl = std::forward<AccountUrlT>(value);
56 }
57 template <typename AccountUrlT = Aws::String>
59 SetAccountUrl(std::forward<AccountUrlT>(value));
60 return *this;
61 }
63
65
71 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
72 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
73 template <typename PrivateKeyT = Aws::String>
74 void SetPrivateKey(PrivateKeyT&& value) {
75 m_privateKeyHasBeenSet = true;
76 m_privateKey = std::forward<PrivateKeyT>(value);
77 }
78 template <typename PrivateKeyT = Aws::String>
80 SetPrivateKey(std::forward<PrivateKeyT>(value));
81 return *this;
82 }
84
86
92 inline const Aws::String& GetKeyPassphrase() const { return m_keyPassphrase; }
93 inline bool KeyPassphraseHasBeenSet() const { return m_keyPassphraseHasBeenSet; }
94 template <typename KeyPassphraseT = Aws::String>
95 void SetKeyPassphrase(KeyPassphraseT&& value) {
96 m_keyPassphraseHasBeenSet = true;
97 m_keyPassphrase = std::forward<KeyPassphraseT>(value);
98 }
99 template <typename KeyPassphraseT = Aws::String>
101 SetKeyPassphrase(std::forward<KeyPassphraseT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetUser() const { return m_user; }
111 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
112 template <typename UserT = Aws::String>
113 void SetUser(UserT&& value) {
114 m_userHasBeenSet = true;
115 m_user = std::forward<UserT>(value);
116 }
117 template <typename UserT = Aws::String>
119 SetUser(std::forward<UserT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetDatabase() const { return m_database; }
129 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
130 template <typename DatabaseT = Aws::String>
131 void SetDatabase(DatabaseT&& value) {
132 m_databaseHasBeenSet = true;
133 m_database = std::forward<DatabaseT>(value);
134 }
135 template <typename DatabaseT = Aws::String>
137 SetDatabase(std::forward<DatabaseT>(value));
138 return *this;
139 }
141
143
147 inline const Aws::String& GetSchema() const { return m_schema; }
148 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
149 template <typename SchemaT = Aws::String>
150 void SetSchema(SchemaT&& value) {
151 m_schemaHasBeenSet = true;
152 m_schema = std::forward<SchemaT>(value);
153 }
154 template <typename SchemaT = Aws::String>
156 SetSchema(std::forward<SchemaT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::String& GetTable() const { return m_table; }
167 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
168 template <typename TableT = Aws::String>
169 void SetTable(TableT&& value) {
170 m_tableHasBeenSet = true;
171 m_table = std::forward<TableT>(value);
172 }
173 template <typename TableT = Aws::String>
175 SetTable(std::forward<TableT>(value));
176 return *this;
177 }
179
181
185 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
186 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
187 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
188 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) {
189 m_snowflakeRoleConfigurationHasBeenSet = true;
190 m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value);
191 }
192 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
193 SnowflakeDestinationUpdate& WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) {
194 SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value));
195 return *this;
196 }
198
200
205 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
206 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
208 m_dataLoadingOptionHasBeenSet = true;
209 m_dataLoadingOption = value;
210 }
213 return *this;
214 }
216
218
221 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
222 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
223 template <typename MetaDataColumnNameT = Aws::String>
224 void SetMetaDataColumnName(MetaDataColumnNameT&& value) {
225 m_metaDataColumnNameHasBeenSet = true;
226 m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value);
227 }
228 template <typename MetaDataColumnNameT = Aws::String>
230 SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
240 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
241 template <typename ContentColumnNameT = Aws::String>
242 void SetContentColumnName(ContentColumnNameT&& value) {
243 m_contentColumnNameHasBeenSet = true;
244 m_contentColumnName = std::forward<ContentColumnNameT>(value);
245 }
246 template <typename ContentColumnNameT = Aws::String>
248 SetContentColumnName(std::forward<ContentColumnNameT>(value));
249 return *this;
250 }
252
254
255 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
256 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
257 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
258 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
259 m_cloudWatchLoggingOptionsHasBeenSet = true;
260 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
261 }
262 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
263 SnowflakeDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
264 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
265 return *this;
266 }
268
270
271 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
272 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
273 template <typename ProcessingConfigurationT = ProcessingConfiguration>
274 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
275 m_processingConfigurationHasBeenSet = true;
276 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
277 }
278 template <typename ProcessingConfigurationT = ProcessingConfiguration>
279 SnowflakeDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) {
280 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
281 return *this;
282 }
284
286
289 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
290 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
291 template <typename RoleARNT = Aws::String>
292 void SetRoleARN(RoleARNT&& value) {
293 m_roleARNHasBeenSet = true;
294 m_roleARN = std::forward<RoleARNT>(value);
295 }
296 template <typename RoleARNT = Aws::String>
298 SetRoleARN(std::forward<RoleARNT>(value));
299 return *this;
300 }
302
304
322 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
323 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
324 template <typename RetryOptionsT = SnowflakeRetryOptions>
325 void SetRetryOptions(RetryOptionsT&& value) {
326 m_retryOptionsHasBeenSet = true;
327 m_retryOptions = std::forward<RetryOptionsT>(value);
328 }
329 template <typename RetryOptionsT = SnowflakeRetryOptions>
331 SetRetryOptions(std::forward<RetryOptionsT>(value));
332 return *this;
333 }
335
337
341 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
342 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
344 m_s3BackupModeHasBeenSet = true;
345 m_s3BackupMode = value;
346 }
348 SetS3BackupMode(value);
349 return *this;
350 }
352
354
355 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
356 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
357 template <typename S3UpdateT = S3DestinationUpdate>
358 void SetS3Update(S3UpdateT&& value) {
359 m_s3UpdateHasBeenSet = true;
360 m_s3Update = std::forward<S3UpdateT>(value);
361 }
362 template <typename S3UpdateT = S3DestinationUpdate>
364 SetS3Update(std::forward<S3UpdateT>(value));
365 return *this;
366 }
368
370
373 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
374 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
375 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
376 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
377 m_secretsManagerConfigurationHasBeenSet = true;
378 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
379 }
380 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
381 SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
382 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
383 return *this;
384 }
386
388
392 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
393 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
394 template <typename BufferingHintsT = SnowflakeBufferingHints>
395 void SetBufferingHints(BufferingHintsT&& value) {
396 m_bufferingHintsHasBeenSet = true;
397 m_bufferingHints = std::forward<BufferingHintsT>(value);
398 }
399 template <typename BufferingHintsT = SnowflakeBufferingHints>
401 SetBufferingHints(std::forward<BufferingHintsT>(value));
402 return *this;
403 }
405 private:
406 Aws::String m_accountUrl;
407
408 Aws::String m_privateKey;
409
410 Aws::String m_keyPassphrase;
411
412 Aws::String m_user;
413
414 Aws::String m_database;
415
416 Aws::String m_schema;
417
418 Aws::String m_table;
419
420 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
421
423
424 Aws::String m_metaDataColumnName;
425
426 Aws::String m_contentColumnName;
427
428 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
429
430 ProcessingConfiguration m_processingConfiguration;
431
432 Aws::String m_roleARN;
433
434 SnowflakeRetryOptions m_retryOptions;
435
437
438 S3DestinationUpdate m_s3Update;
439
440 SecretsManagerConfiguration m_secretsManagerConfiguration;
441
442 SnowflakeBufferingHints m_bufferingHints;
443 bool m_accountUrlHasBeenSet = false;
444 bool m_privateKeyHasBeenSet = false;
445 bool m_keyPassphraseHasBeenSet = false;
446 bool m_userHasBeenSet = false;
447 bool m_databaseHasBeenSet = false;
448 bool m_schemaHasBeenSet = false;
449 bool m_tableHasBeenSet = false;
450 bool m_snowflakeRoleConfigurationHasBeenSet = false;
451 bool m_dataLoadingOptionHasBeenSet = false;
452 bool m_metaDataColumnNameHasBeenSet = false;
453 bool m_contentColumnNameHasBeenSet = false;
454 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
455 bool m_processingConfigurationHasBeenSet = false;
456 bool m_roleARNHasBeenSet = false;
457 bool m_retryOptionsHasBeenSet = false;
458 bool m_s3BackupModeHasBeenSet = false;
459 bool m_s3UpdateHasBeenSet = false;
460 bool m_secretsManagerConfigurationHasBeenSet = false;
461 bool m_bufferingHintsHasBeenSet = false;
462};
463
464} // namespace Model
465} // namespace Firehose
466} // namespace Aws
AWS_FIREHOSE_API SnowflakeDestinationUpdate()=default
SnowflakeDestinationUpdate & WithKeyPassphrase(KeyPassphraseT &&value)
void SetDataLoadingOption(SnowflakeDataLoadingOption value)
SnowflakeDestinationUpdate & WithAccountUrl(AccountUrlT &&value)
SnowflakeDestinationUpdate & WithS3Update(S3UpdateT &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
SnowflakeDestinationUpdate & WithContentColumnName(ContentColumnNameT &&value)
SnowflakeDestinationUpdate & WithDatabase(DatabaseT &&value)
SnowflakeDestinationUpdate & WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT &&value)
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
SnowflakeDestinationUpdate & WithTable(TableT &&value)
SnowflakeDestinationUpdate & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
const SnowflakeBufferingHints & GetBufferingHints() const
const SnowflakeRoleConfiguration & GetSnowflakeRoleConfiguration() const
SnowflakeDestinationUpdate & WithRetryOptions(RetryOptionsT &&value)
SnowflakeDestinationUpdate & WithBufferingHints(BufferingHintsT &&value)
AWS_FIREHOSE_API SnowflakeDestinationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationUpdate & WithRoleARN(RoleARNT &&value)
SnowflakeDestinationUpdate & WithDataLoadingOption(SnowflakeDataLoadingOption value)
void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT &&value)
SnowflakeDestinationUpdate & WithS3BackupMode(SnowflakeS3BackupMode value)
SnowflakeDestinationUpdate & WithUser(UserT &&value)
const ProcessingConfiguration & GetProcessingConfiguration() const
SnowflakeDestinationUpdate & WithProcessingConfiguration(ProcessingConfigurationT &&value)
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
AWS_FIREHOSE_API SnowflakeDestinationUpdate(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationUpdate & WithMetaDataColumnName(MetaDataColumnNameT &&value)
SnowflakeDestinationUpdate & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
SnowflakeDestinationUpdate & WithPrivateKey(PrivateKeyT &&value)
SnowflakeDestinationUpdate & WithSchema(SchemaT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue