AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SnowflakeDestinationDescription.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/S3DestinationDescription.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 SnowflakeDestinationDescription() = 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
69 inline const Aws::String& GetUser() const { return m_user; }
70 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
71 template <typename UserT = Aws::String>
72 void SetUser(UserT&& value) {
73 m_userHasBeenSet = true;
74 m_user = std::forward<UserT>(value);
75 }
76 template <typename UserT = Aws::String>
78 SetUser(std::forward<UserT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDatabase() const { return m_database; }
88 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
89 template <typename DatabaseT = Aws::String>
90 void SetDatabase(DatabaseT&& value) {
91 m_databaseHasBeenSet = true;
92 m_database = std::forward<DatabaseT>(value);
93 }
94 template <typename DatabaseT = Aws::String>
96 SetDatabase(std::forward<DatabaseT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetSchema() const { return m_schema; }
107 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
108 template <typename SchemaT = Aws::String>
109 void SetSchema(SchemaT&& value) {
110 m_schemaHasBeenSet = true;
111 m_schema = std::forward<SchemaT>(value);
112 }
113 template <typename SchemaT = Aws::String>
115 SetSchema(std::forward<SchemaT>(value));
116 return *this;
117 }
119
121
125 inline const Aws::String& GetTable() const { return m_table; }
126 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
127 template <typename TableT = Aws::String>
128 void SetTable(TableT&& value) {
129 m_tableHasBeenSet = true;
130 m_table = std::forward<TableT>(value);
131 }
132 template <typename TableT = Aws::String>
134 SetTable(std::forward<TableT>(value));
135 return *this;
136 }
138
140
144 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
145 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
146 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
147 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) {
148 m_snowflakeRoleConfigurationHasBeenSet = true;
149 m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value);
150 }
151 template <typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
153 SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value));
154 return *this;
155 }
157
159
164 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
165 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
167 m_dataLoadingOptionHasBeenSet = true;
168 m_dataLoadingOption = value;
169 }
172 return *this;
173 }
175
177
180 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
181 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
182 template <typename MetaDataColumnNameT = Aws::String>
183 void SetMetaDataColumnName(MetaDataColumnNameT&& value) {
184 m_metaDataColumnNameHasBeenSet = true;
185 m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value);
186 }
187 template <typename MetaDataColumnNameT = Aws::String>
189 SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
199 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
200 template <typename ContentColumnNameT = Aws::String>
201 void SetContentColumnName(ContentColumnNameT&& value) {
202 m_contentColumnNameHasBeenSet = true;
203 m_contentColumnName = std::forward<ContentColumnNameT>(value);
204 }
205 template <typename ContentColumnNameT = Aws::String>
207 SetContentColumnName(std::forward<ContentColumnNameT>(value));
208 return *this;
209 }
211
213
220 inline const SnowflakeVpcConfiguration& GetSnowflakeVpcConfiguration() const { return m_snowflakeVpcConfiguration; }
221 inline bool SnowflakeVpcConfigurationHasBeenSet() const { return m_snowflakeVpcConfigurationHasBeenSet; }
222 template <typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
223 void SetSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) {
224 m_snowflakeVpcConfigurationHasBeenSet = true;
225 m_snowflakeVpcConfiguration = std::forward<SnowflakeVpcConfigurationT>(value);
226 }
227 template <typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
229 SetSnowflakeVpcConfiguration(std::forward<SnowflakeVpcConfigurationT>(value));
230 return *this;
231 }
233
235
236 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
237 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
238 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
239 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) {
240 m_cloudWatchLoggingOptionsHasBeenSet = true;
241 m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value);
242 }
243 template <typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
245 SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value));
246 return *this;
247 }
249
251
252 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
253 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
254 template <typename ProcessingConfigurationT = ProcessingConfiguration>
255 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
256 m_processingConfigurationHasBeenSet = true;
257 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
258 }
259 template <typename ProcessingConfigurationT = ProcessingConfiguration>
261 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
262 return *this;
263 }
265
267
270 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
271 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
272 template <typename RoleARNT = Aws::String>
273 void SetRoleARN(RoleARNT&& value) {
274 m_roleARNHasBeenSet = true;
275 m_roleARN = std::forward<RoleARNT>(value);
276 }
277 template <typename RoleARNT = Aws::String>
279 SetRoleARN(std::forward<RoleARNT>(value));
280 return *this;
281 }
283
285
289 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
290 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
291 template <typename RetryOptionsT = SnowflakeRetryOptions>
292 void SetRetryOptions(RetryOptionsT&& value) {
293 m_retryOptionsHasBeenSet = true;
294 m_retryOptions = std::forward<RetryOptionsT>(value);
295 }
296 template <typename RetryOptionsT = SnowflakeRetryOptions>
298 SetRetryOptions(std::forward<RetryOptionsT>(value));
299 return *this;
300 }
302
304
307 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
308 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
310 m_s3BackupModeHasBeenSet = true;
311 m_s3BackupMode = value;
312 }
314 SetS3BackupMode(value);
315 return *this;
316 }
318
320
321 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
322 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
323 template <typename S3DestinationDescriptionT = S3DestinationDescription>
324 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) {
325 m_s3DestinationDescriptionHasBeenSet = true;
326 m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value);
327 }
328 template <typename S3DestinationDescriptionT = S3DestinationDescription>
330 SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value));
331 return *this;
332 }
334
336
339 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
340 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
341 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
342 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) {
343 m_secretsManagerConfigurationHasBeenSet = true;
344 m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value);
345 }
346 template <typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
348 SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value));
349 return *this;
350 }
352
354
359 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
360 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
361 template <typename BufferingHintsT = SnowflakeBufferingHints>
362 void SetBufferingHints(BufferingHintsT&& value) {
363 m_bufferingHintsHasBeenSet = true;
364 m_bufferingHints = std::forward<BufferingHintsT>(value);
365 }
366 template <typename BufferingHintsT = SnowflakeBufferingHints>
368 SetBufferingHints(std::forward<BufferingHintsT>(value));
369 return *this;
370 }
372 private:
373 Aws::String m_accountUrl;
374
375 Aws::String m_user;
376
377 Aws::String m_database;
378
379 Aws::String m_schema;
380
381 Aws::String m_table;
382
383 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
384
386
387 Aws::String m_metaDataColumnName;
388
389 Aws::String m_contentColumnName;
390
391 SnowflakeVpcConfiguration m_snowflakeVpcConfiguration;
392
393 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
394
395 ProcessingConfiguration m_processingConfiguration;
396
397 Aws::String m_roleARN;
398
399 SnowflakeRetryOptions m_retryOptions;
400
402
403 S3DestinationDescription m_s3DestinationDescription;
404
405 SecretsManagerConfiguration m_secretsManagerConfiguration;
406
407 SnowflakeBufferingHints m_bufferingHints;
408 bool m_accountUrlHasBeenSet = false;
409 bool m_userHasBeenSet = false;
410 bool m_databaseHasBeenSet = false;
411 bool m_schemaHasBeenSet = false;
412 bool m_tableHasBeenSet = false;
413 bool m_snowflakeRoleConfigurationHasBeenSet = false;
414 bool m_dataLoadingOptionHasBeenSet = false;
415 bool m_metaDataColumnNameHasBeenSet = false;
416 bool m_contentColumnNameHasBeenSet = false;
417 bool m_snowflakeVpcConfigurationHasBeenSet = false;
418 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
419 bool m_processingConfigurationHasBeenSet = false;
420 bool m_roleARNHasBeenSet = false;
421 bool m_retryOptionsHasBeenSet = false;
422 bool m_s3BackupModeHasBeenSet = false;
423 bool m_s3DestinationDescriptionHasBeenSet = false;
424 bool m_secretsManagerConfigurationHasBeenSet = false;
425 bool m_bufferingHintsHasBeenSet = false;
426};
427
428} // namespace Model
429} // namespace Firehose
430} // namespace Aws
SnowflakeDestinationDescription & WithDatabase(DatabaseT &&value)
SnowflakeDestinationDescription & WithSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT &&value)
AWS_FIREHOSE_API SnowflakeDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SnowflakeDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationDescription & WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT &&value)
SnowflakeDestinationDescription & WithSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
SnowflakeDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT &&value)
SnowflakeDestinationDescription & WithProcessingConfiguration(ProcessingConfigurationT &&value)
SnowflakeDestinationDescription & WithBufferingHints(BufferingHintsT &&value)
SnowflakeDestinationDescription & WithAccountUrl(AccountUrlT &&value)
SnowflakeDestinationDescription & WithContentColumnName(ContentColumnNameT &&value)
SnowflakeDestinationDescription & WithRetryOptions(RetryOptionsT &&value)
SnowflakeDestinationDescription & WithUser(UserT &&value)
SnowflakeDestinationDescription & WithRoleARN(RoleARNT &&value)
const SecretsManagerConfiguration & GetSecretsManagerConfiguration() const
const SnowflakeVpcConfiguration & GetSnowflakeVpcConfiguration() const
void SetSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT &&value)
void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT &&value)
AWS_FIREHOSE_API SnowflakeDestinationDescription()=default
SnowflakeDestinationDescription & WithMetaDataColumnName(MetaDataColumnNameT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SnowflakeDestinationDescription & WithS3DestinationDescription(S3DestinationDescriptionT &&value)
SnowflakeDestinationDescription & WithSchema(SchemaT &&value)
SnowflakeDestinationDescription & WithDataLoadingOption(SnowflakeDataLoadingOption value)
SnowflakeDestinationDescription & WithS3BackupMode(SnowflakeS3BackupMode value)
SnowflakeDestinationDescription & WithTable(TableT &&value)
const SnowflakeRoleConfiguration & GetSnowflakeRoleConfiguration() const
void SetSecretsManagerConfiguration(SecretsManagerConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue