AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeDestinationDescription.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/S3DestinationDescription.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:
44 AWS_FIREHOSE_API SnowflakeDestinationDescription() = default;
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 template<typename AccountUrlT = Aws::String>
60 void SetAccountUrl(AccountUrlT&& value) { m_accountUrlHasBeenSet = true; m_accountUrl = std::forward<AccountUrlT>(value); }
61 template<typename AccountUrlT = Aws::String>
62 SnowflakeDestinationDescription& WithAccountUrl(AccountUrlT&& value) { SetAccountUrl(std::forward<AccountUrlT>(value)); return *this;}
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) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
73 template<typename UserT = Aws::String>
74 SnowflakeDestinationDescription& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDatabase() const { return m_database; }
82 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
83 template<typename DatabaseT = Aws::String>
84 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
85 template<typename DatabaseT = Aws::String>
86 SnowflakeDestinationDescription& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
88
90
94 inline const Aws::String& GetSchema() const { return m_schema; }
95 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
96 template<typename SchemaT = Aws::String>
97 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
98 template<typename SchemaT = Aws::String>
99 SnowflakeDestinationDescription& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
101
103
107 inline const Aws::String& GetTable() const { return m_table; }
108 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
109 template<typename TableT = Aws::String>
110 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
111 template<typename TableT = Aws::String>
112 SnowflakeDestinationDescription& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
114
116
120 inline const SnowflakeRoleConfiguration& GetSnowflakeRoleConfiguration() const { return m_snowflakeRoleConfiguration; }
121 inline bool SnowflakeRoleConfigurationHasBeenSet() const { return m_snowflakeRoleConfigurationHasBeenSet; }
122 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
123 void SetSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { m_snowflakeRoleConfigurationHasBeenSet = true; m_snowflakeRoleConfiguration = std::forward<SnowflakeRoleConfigurationT>(value); }
124 template<typename SnowflakeRoleConfigurationT = SnowflakeRoleConfiguration>
125 SnowflakeDestinationDescription& WithSnowflakeRoleConfiguration(SnowflakeRoleConfigurationT&& value) { SetSnowflakeRoleConfiguration(std::forward<SnowflakeRoleConfigurationT>(value)); return *this;}
127
129
134 inline SnowflakeDataLoadingOption GetDataLoadingOption() const { return m_dataLoadingOption; }
135 inline bool DataLoadingOptionHasBeenSet() const { return m_dataLoadingOptionHasBeenSet; }
136 inline void SetDataLoadingOption(SnowflakeDataLoadingOption value) { m_dataLoadingOptionHasBeenSet = true; m_dataLoadingOption = value; }
139
141
144 inline const Aws::String& GetMetaDataColumnName() const { return m_metaDataColumnName; }
145 inline bool MetaDataColumnNameHasBeenSet() const { return m_metaDataColumnNameHasBeenSet; }
146 template<typename MetaDataColumnNameT = Aws::String>
147 void SetMetaDataColumnName(MetaDataColumnNameT&& value) { m_metaDataColumnNameHasBeenSet = true; m_metaDataColumnName = std::forward<MetaDataColumnNameT>(value); }
148 template<typename MetaDataColumnNameT = Aws::String>
149 SnowflakeDestinationDescription& WithMetaDataColumnName(MetaDataColumnNameT&& value) { SetMetaDataColumnName(std::forward<MetaDataColumnNameT>(value)); return *this;}
151
153
156 inline const Aws::String& GetContentColumnName() const { return m_contentColumnName; }
157 inline bool ContentColumnNameHasBeenSet() const { return m_contentColumnNameHasBeenSet; }
158 template<typename ContentColumnNameT = Aws::String>
159 void SetContentColumnName(ContentColumnNameT&& value) { m_contentColumnNameHasBeenSet = true; m_contentColumnName = std::forward<ContentColumnNameT>(value); }
160 template<typename ContentColumnNameT = Aws::String>
161 SnowflakeDestinationDescription& WithContentColumnName(ContentColumnNameT&& value) { SetContentColumnName(std::forward<ContentColumnNameT>(value)); return *this;}
163
165
172 inline const SnowflakeVpcConfiguration& GetSnowflakeVpcConfiguration() const { return m_snowflakeVpcConfiguration; }
173 inline bool SnowflakeVpcConfigurationHasBeenSet() const { return m_snowflakeVpcConfigurationHasBeenSet; }
174 template<typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
175 void SetSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) { m_snowflakeVpcConfigurationHasBeenSet = true; m_snowflakeVpcConfiguration = std::forward<SnowflakeVpcConfigurationT>(value); }
176 template<typename SnowflakeVpcConfigurationT = SnowflakeVpcConfiguration>
177 SnowflakeDestinationDescription& WithSnowflakeVpcConfiguration(SnowflakeVpcConfigurationT&& value) { SetSnowflakeVpcConfiguration(std::forward<SnowflakeVpcConfigurationT>(value)); return *this;}
179
181
182 inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const { return m_cloudWatchLoggingOptions; }
183 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
184 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
185 void SetCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::forward<CloudWatchLoggingOptionsT>(value); }
186 template<typename CloudWatchLoggingOptionsT = CloudWatchLoggingOptions>
187 SnowflakeDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptionsT&& value) { SetCloudWatchLoggingOptions(std::forward<CloudWatchLoggingOptionsT>(value)); return *this;}
189
191
192 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
193 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
194 template<typename ProcessingConfigurationT = ProcessingConfiguration>
195 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
196 template<typename ProcessingConfigurationT = ProcessingConfiguration>
197 SnowflakeDestinationDescription& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
199
201
204 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
205 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
206 template<typename RoleARNT = Aws::String>
207 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
208 template<typename RoleARNT = Aws::String>
209 SnowflakeDestinationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
211
213
217 inline const SnowflakeRetryOptions& GetRetryOptions() const { return m_retryOptions; }
218 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
219 template<typename RetryOptionsT = SnowflakeRetryOptions>
220 void SetRetryOptions(RetryOptionsT&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::forward<RetryOptionsT>(value); }
221 template<typename RetryOptionsT = SnowflakeRetryOptions>
222 SnowflakeDestinationDescription& WithRetryOptions(RetryOptionsT&& value) { SetRetryOptions(std::forward<RetryOptionsT>(value)); return *this;}
224
226
229 inline SnowflakeS3BackupMode GetS3BackupMode() const { return m_s3BackupMode; }
230 inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
231 inline void SetS3BackupMode(SnowflakeS3BackupMode value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
234
236
237 inline const S3DestinationDescription& GetS3DestinationDescription() const { return m_s3DestinationDescription; }
238 inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
239 template<typename S3DestinationDescriptionT = S3DestinationDescription>
240 void SetS3DestinationDescription(S3DestinationDescriptionT&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::forward<S3DestinationDescriptionT>(value); }
241 template<typename S3DestinationDescriptionT = S3DestinationDescription>
242 SnowflakeDestinationDescription& WithS3DestinationDescription(S3DestinationDescriptionT&& value) { SetS3DestinationDescription(std::forward<S3DestinationDescriptionT>(value)); return *this;}
244
246
249 inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const { return m_secretsManagerConfiguration; }
250 inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; }
251 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
252 void SetSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::forward<SecretsManagerConfigurationT>(value); }
253 template<typename SecretsManagerConfigurationT = SecretsManagerConfiguration>
254 SnowflakeDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfigurationT&& value) { SetSecretsManagerConfiguration(std::forward<SecretsManagerConfigurationT>(value)); return *this;}
256
258
263 inline const SnowflakeBufferingHints& GetBufferingHints() const { return m_bufferingHints; }
264 inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
265 template<typename BufferingHintsT = SnowflakeBufferingHints>
266 void SetBufferingHints(BufferingHintsT&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::forward<BufferingHintsT>(value); }
267 template<typename BufferingHintsT = SnowflakeBufferingHints>
268 SnowflakeDestinationDescription& WithBufferingHints(BufferingHintsT&& value) { SetBufferingHints(std::forward<BufferingHintsT>(value)); return *this;}
270 private:
271
272 Aws::String m_accountUrl;
273 bool m_accountUrlHasBeenSet = false;
274
275 Aws::String m_user;
276 bool m_userHasBeenSet = false;
277
278 Aws::String m_database;
279 bool m_databaseHasBeenSet = false;
280
281 Aws::String m_schema;
282 bool m_schemaHasBeenSet = false;
283
284 Aws::String m_table;
285 bool m_tableHasBeenSet = false;
286
287 SnowflakeRoleConfiguration m_snowflakeRoleConfiguration;
288 bool m_snowflakeRoleConfigurationHasBeenSet = false;
289
291 bool m_dataLoadingOptionHasBeenSet = false;
292
293 Aws::String m_metaDataColumnName;
294 bool m_metaDataColumnNameHasBeenSet = false;
295
296 Aws::String m_contentColumnName;
297 bool m_contentColumnNameHasBeenSet = false;
298
299 SnowflakeVpcConfiguration m_snowflakeVpcConfiguration;
300 bool m_snowflakeVpcConfigurationHasBeenSet = false;
301
302 CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
303 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
304
305 ProcessingConfiguration m_processingConfiguration;
306 bool m_processingConfigurationHasBeenSet = false;
307
308 Aws::String m_roleARN;
309 bool m_roleARNHasBeenSet = false;
310
311 SnowflakeRetryOptions m_retryOptions;
312 bool m_retryOptionsHasBeenSet = false;
313
315 bool m_s3BackupModeHasBeenSet = false;
316
317 S3DestinationDescription m_s3DestinationDescription;
318 bool m_s3DestinationDescriptionHasBeenSet = false;
319
320 SecretsManagerConfiguration m_secretsManagerConfiguration;
321 bool m_secretsManagerConfigurationHasBeenSet = false;
322
323 SnowflakeBufferingHints m_bufferingHints;
324 bool m_bufferingHintsHasBeenSet = false;
325 };
326
327} // namespace Model
328} // namespace Firehose
329} // 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