AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeDestinationUpdate.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/CloudWatchLoggingOptions.h>
12#include <aws/firehose/model/ProcessingConfiguration.h>
13#include <aws/firehose/model/SnowflakeRetryOptions.h>
14#include <aws/firehose/model/SnowflakeS3BackupMode.h>
15#include <aws/firehose/model/S3DestinationUpdate.h>
16#include <aws/firehose/model/SecretsManagerConfiguration.h>
17#include <aws/firehose/model/SnowflakeBufferingHints.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Firehose
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_FIREHOSE_API SnowflakeDestinationUpdate() = default;
46 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
56 inline const Aws::String& GetAccountUrl() const { return m_accountUrl; }
57 inline bool AccountUrlHasBeenSet() const { return m_accountUrlHasBeenSet; }
58 template<typename AccountUrlT = Aws::String>
59 void SetAccountUrl(AccountUrlT&& value) { m_accountUrlHasBeenSet = true; m_accountUrl = std::forward<AccountUrlT>(value); }
60 template<typename AccountUrlT = Aws::String>
61 SnowflakeDestinationUpdate& WithAccountUrl(AccountUrlT&& value) { SetAccountUrl(std::forward<AccountUrlT>(value)); return *this;}
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) { m_privateKeyHasBeenSet = true; m_privateKey = std::forward<PrivateKeyT>(value); }
75 template<typename PrivateKeyT = Aws::String>
76 SnowflakeDestinationUpdate& WithPrivateKey(PrivateKeyT&& value) { SetPrivateKey(std::forward<PrivateKeyT>(value)); return *this;}
78
80
86 inline const Aws::String& GetKeyPassphrase() const { return m_keyPassphrase; }
87 inline bool KeyPassphraseHasBeenSet() const { return m_keyPassphraseHasBeenSet; }
88 template<typename KeyPassphraseT = Aws::String>
89 void SetKeyPassphrase(KeyPassphraseT&& value) { m_keyPassphraseHasBeenSet = true; m_keyPassphrase = std::forward<KeyPassphraseT>(value); }
90 template<typename KeyPassphraseT = Aws::String>
91 SnowflakeDestinationUpdate& WithKeyPassphrase(KeyPassphraseT&& value) { SetKeyPassphrase(std::forward<KeyPassphraseT>(value)); return *this;}
93
95
98 inline const Aws::String& GetUser() const { return m_user; }
99 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
100 template<typename UserT = Aws::String>
101 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
102 template<typename UserT = Aws::String>
103 SnowflakeDestinationUpdate& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
105
107
110 inline const Aws::String& GetDatabase() const { return m_database; }
111 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
112 template<typename DatabaseT = Aws::String>
113 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
114 template<typename DatabaseT = Aws::String>
115 SnowflakeDestinationUpdate& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
117
119
123 inline const Aws::String& GetSchema() const { return m_schema; }
124 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
125 template<typename SchemaT = Aws::String>
126 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
127 template<typename SchemaT = Aws::String>
128 SnowflakeDestinationUpdate& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
130
132
136 inline const Aws::String& GetTable() const { return m_table; }
137 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
138 template<typename TableT = Aws::String>
139 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
140 template<typename TableT = Aws::String>
141 SnowflakeDestinationUpdate& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
143
145
149 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
150 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
151 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
152 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { m_snowflakeRoleConfigurationHasBeenSet = true; m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value); }
153 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
154 SnowflakeDestinationUpdate& WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value)); return *this;}
156
158
163 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
164 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
165 inline void SetDataLoadingOption(SnowflakeDataLoadingOption value) { m_dataLoadingOptionHasBeenSet = true; m_dataLoadingOption = value; }
168
170
173 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
174 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
175 template<typename MetaDataColumnNameT = Aws::String>
176 void SetMetaDataColumnName(MetaDataColumnNameT&& value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value); }
177 template<typename MetaDataColumnNameT = Aws::String>
178 SnowflakeDestinationUpdate& WithMetaDataColumnName(MetaDataColumnNameT&& value) { SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value)); return *this;}
180
182
185 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
186 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
187 template<typename ContentColumnNameT = Aws::String>
188 void SetContentColumnName(ContentColumnNameT&& value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName = std::forward<ContentColumnNameT>(value); }
189 template<typename ContentColumnNameT = Aws::String>
190 SnowflakeDestinationUpdate& WithContentColumnName(ContentColumnNameT&& value) { SetContentColumnName(std::forward<ContentColumnNameT>(value)); return *this;}
192
194
195 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
196 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
197 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
198 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
199 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
200 SnowflakeDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
202
204
205 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
206 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
207 template<typename ProcessingConfigurationT = ProcessingConfiguration>
208 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
209 template<typename ProcessingConfigurationT = ProcessingConfiguration>
210 SnowflakeDestinationUpdate& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
212
214
217 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
218 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
219 template<typename RoleARNT = Aws::String>
220 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
221 template<typename RoleARNT = Aws::String>
222 SnowflakeDestinationUpdate& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
224
226
244 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
245 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
246 template<typename RetryOptionsT = SnowflakeRetryOptions>
247 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
248 template<typename RetryOptionsT = SnowflakeRetryOptions>
249 SnowflakeDestinationUpdate& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
251
253
257 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
258 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
259 inline void SetS3BackupMode(SnowflakeS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
262
264
265 inline const S3DestinationUpdate& GetS3Update() const { return m_s3Update; }
266 inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
267 template<typename S3UpdateT = S3DestinationUpdate>
268 void SetS3Update(S3UpdateT&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::forward<S3UpdateT>(value); }
269 template<typename S3UpdateT = S3DestinationUpdate>
270 SnowflakeDestinationUpdate& WithS3Update(S3UpdateT&& value) { SetS3Update(std::forward<S3UpdateT>(value)); return *this;}
272
274
277 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
278 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
279 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
280 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value); }
281 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
282 SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value)); return *this;}
284
286
290 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
291 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
292 template<typename BufferingHintsT = SnowflakeBufferingHints>
293 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
294 template<typename BufferingHintsT = SnowflakeBufferingHints>
295 SnowflakeDestinationUpdate& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
297 private:
298
299 Aws::String m_accountUrl;
300 bool m_accountUrlHasBeenSet = false;
301
302 Aws::String m_privateKey;
303 bool m_privateKeyHasBeenSet = false;
304
305 Aws::String m_keyPassphrase;
306 bool m_keyPassphraseHasBeenSet = false;
307
308 Aws::String m_user;
309 bool m_userHasBeenSet = false;
310
311 Aws::String m_database;
312 bool m_databaseHasBeenSet = false;
313
314 Aws::String m_schema;
315 bool m_schemaHasBeenSet = false;
316
317 Aws::String m_table;
318 bool m_tableHasBeenSet = false;
319
320 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
321 bool m_snowflakeRoleConfigurationHasBeenSet = false;
322
324 bool m_dataLoadingOptionHasBeenSet = false;
325
326 Aws::String m_metaDataColumnName;
327 bool m_metaDataColumnNameHasBeenSet = false;
328
329 Aws::String m_contentColumnName;
330 bool m_contentColumnNameHasBeenSet = false;
331
332 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
333 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
334
335 ProcessingConfiguration m_processingConfiguration;
336 bool m_processingConfigurationHasBeenSet = false;
337
338 Aws::String m_roleARN;
339 bool m_roleARNHasBeenSet = false;
340
341 SnowflakeRetryOptions m_retryOptions;
342 bool m_retryOptionsHasBeenSet = false;
343
345 bool m_s3BackupModeHasBeenSet = false;
346
347 S3DestinationUpdate m_s3Update;
348 bool m_s3UpdateHasBeenSet = false;
349
350 SecretsManagerConfiguration m_secretsManagerConfiguration;
351 bool m_secretsManagerConfigurationHasBeenSet = false;
352
353 SnowflakeBufferingHints m_bufferingHints;
354 bool m_bufferingHintsHasBeenSet = false;
355 };
356
357} // namespace Model
358} // namespace Firehose
359} // 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