7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/Option.h>
45 template <
typename SourceTypeT = Aws::String>
47 m_sourceTypeHasBeenSet =
true;
48 m_sourceType = std::forward<SourceTypeT>(value);
50 template <
typename SourceTypeT = Aws::String>
63 template <
typename ConnectionT = Option>
65 m_connectionHasBeenSet =
true;
66 m_connection = std::forward<ConnectionT>(value);
68 template <
typename ConnectionT = Option>
81 template <
typename SchemaT = Aws::String>
83 m_schemaHasBeenSet =
true;
84 m_schema = std::forward<SchemaT>(value);
86 template <
typename SchemaT = Aws::String>
99 template <
typename TableT = Aws::String>
101 m_tableHasBeenSet =
true;
102 m_table = std::forward<TableT>(value);
104 template <
typename TableT = Aws::String>
106 SetTable(std::forward<TableT>(value));
117 template <
typename DatabaseT = Aws::String>
119 m_databaseHasBeenSet =
true;
120 m_database = std::forward<DatabaseT>(value);
122 template <
typename DatabaseT = Aws::String>
135 template <
typename TempDirT = Aws::String>
137 m_tempDirHasBeenSet =
true;
138 m_tempDir = std::forward<TempDirT>(value);
140 template <
typename TempDirT = Aws::String>
153 template <
typename IamRoleT = Option>
155 m_iamRoleHasBeenSet =
true;
156 m_iamRole = std::forward<IamRoleT>(value);
158 template <
typename IamRoleT = Option>
172 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
174 m_additionalOptionsHasBeenSet =
true;
175 m_additionalOptions = std::forward<AdditionalOptionsT>(value);
177 template <
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
182 template <
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
184 m_additionalOptionsHasBeenSet =
true;
185 m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
197 template <
typename SampleQueryT = Aws::String>
199 m_sampleQueryHasBeenSet =
true;
200 m_sampleQuery = std::forward<SampleQueryT>(value);
202 template <
typename SampleQueryT = Aws::String>
216 template <
typename PreActionT = Aws::String>
218 m_preActionHasBeenSet =
true;
219 m_preAction = std::forward<PreActionT>(value);
221 template <
typename PreActionT = Aws::String>
235 template <
typename PostActionT = Aws::String>
237 m_postActionHasBeenSet =
true;
238 m_postAction = std::forward<PostActionT>(value);
240 template <
typename PostActionT = Aws::String>
255 template <
typename ActionT = Aws::String>
257 m_actionHasBeenSet =
true;
258 m_action = std::forward<ActionT>(value);
260 template <
typename ActionT = Aws::String>
276 m_upsertHasBeenSet =
true;
294 template <
typename MergeActionT = Aws::String>
296 m_mergeActionHasBeenSet =
true;
297 m_mergeAction = std::forward<MergeActionT>(value);
299 template <
typename MergeActionT = Aws::String>
313 template <
typename MergeWhenMatchedT = Aws::String>
315 m_mergeWhenMatchedHasBeenSet =
true;
316 m_mergeWhenMatched = std::forward<MergeWhenMatchedT>(value);
318 template <
typename MergeWhenMatchedT = Aws::String>
332 template <
typename MergeWhenNotMatchedT = Aws::String>
334 m_mergeWhenNotMatchedHasBeenSet =
true;
335 m_mergeWhenNotMatched = std::forward<MergeWhenNotMatchedT>(value);
337 template <
typename MergeWhenNotMatchedT = Aws::String>
350 template <
typename MergeClauseT = Aws::String>
352 m_mergeClauseHasBeenSet =
true;
353 m_mergeClause = std::forward<MergeClauseT>(value);
355 template <
typename MergeClauseT = Aws::String>
370 template <
typename StagingTableT = Aws::String>
372 m_stagingTableHasBeenSet =
true;
373 m_stagingTable = std::forward<StagingTableT>(value);
375 template <
typename StagingTableT = Aws::String>
391 template <
typename SelectedColumnsT = Aws::Vector<Option>>
393 m_selectedColumnsHasBeenSet =
true;
394 m_selectedColumns = std::forward<SelectedColumnsT>(value);
396 template <
typename SelectedColumnsT = Aws::Vector<Option>>
401 template <
typename SelectedColumnsT = Option>
403 m_selectedColumnsHasBeenSet =
true;
404 m_selectedColumns.emplace_back(std::forward<SelectedColumnsT>(value));
419 m_autoPushdownHasBeenSet =
true;
420 m_autoPushdown = value;
436 template <
typename TableSchemaT = Aws::Vector<Option>>
438 m_tableSchemaHasBeenSet =
true;
439 m_tableSchema = std::forward<TableSchemaT>(value);
441 template <
typename TableSchemaT = Aws::Vector<Option>>
446 template <
typename TableSchemaT = Option>
448 m_tableSchemaHasBeenSet =
true;
449 m_tableSchema.emplace_back(std::forward<TableSchemaT>(value));
478 bool m_upsert{
false};
492 bool m_autoPushdown{
false};
495 bool m_sourceTypeHasBeenSet =
false;
496 bool m_connectionHasBeenSet =
false;
497 bool m_schemaHasBeenSet =
false;
498 bool m_tableHasBeenSet =
false;
499 bool m_databaseHasBeenSet =
false;
500 bool m_tempDirHasBeenSet =
false;
501 bool m_iamRoleHasBeenSet =
false;
502 bool m_additionalOptionsHasBeenSet =
false;
503 bool m_sampleQueryHasBeenSet =
false;
504 bool m_preActionHasBeenSet =
false;
505 bool m_postActionHasBeenSet =
false;
506 bool m_actionHasBeenSet =
false;
507 bool m_upsertHasBeenSet =
false;
508 bool m_mergeActionHasBeenSet =
false;
509 bool m_mergeWhenMatchedHasBeenSet =
false;
510 bool m_mergeWhenNotMatchedHasBeenSet =
false;
511 bool m_mergeClauseHasBeenSet =
false;
512 bool m_stagingTableHasBeenSet =
false;
513 bool m_selectedColumnsHasBeenSet =
false;
514 bool m_autoPushdownHasBeenSet =
false;
515 bool m_tableSchemaHasBeenSet =
false;
const Aws::Vector< Option > & GetTableSchema() const
AWS_GLUE_API SnowflakeNodeData & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeNodeData & WithTableSchema(TableSchemaT &&value)
const Aws::String & GetDatabase() const
const Aws::String & GetTempDir() const
SnowflakeNodeData & WithIamRole(IamRoleT &&value)
SnowflakeNodeData & WithAction(ActionT &&value)
SnowflakeNodeData & WithAdditionalOptions(AdditionalOptionsT &&value)
SnowflakeNodeData & WithTable(TableT &&value)
bool MergeClauseHasBeenSet() const
bool TempDirHasBeenSet() const
bool GetAutoPushdown() const
SnowflakeNodeData & WithStagingTable(StagingTableT &&value)
bool AutoPushdownHasBeenSet() const
const Aws::String & GetPostAction() const
SnowflakeNodeData & WithSourceType(SourceTypeT &&value)
SnowflakeNodeData & WithTempDir(TempDirT &&value)
SnowflakeNodeData & WithSampleQuery(SampleQueryT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
const Aws::String & GetMergeClause() const
bool AdditionalOptionsHasBeenSet() const
bool UpsertHasBeenSet() const
void SetTableSchema(TableSchemaT &&value)
const Aws::String & GetMergeWhenNotMatched() const
void SetConnection(ConnectionT &&value)
void SetMergeAction(MergeActionT &&value)
SnowflakeNodeData & WithMergeClause(MergeClauseT &&value)
bool DatabaseHasBeenSet() const
bool TableSchemaHasBeenSet() const
const Option & GetIamRole() const
void SetTable(TableT &&value)
void SetStagingTable(StagingTableT &&value)
const Aws::String & GetStagingTable() const
void SetMergeClause(MergeClauseT &&value)
void SetTempDir(TempDirT &&value)
void SetSourceType(SourceTypeT &&value)
AWS_GLUE_API SnowflakeNodeData()=default
bool SourceTypeHasBeenSet() const
bool ConnectionHasBeenSet() const
SnowflakeNodeData & WithMergeAction(MergeActionT &&value)
SnowflakeNodeData & WithSelectedColumns(SelectedColumnsT &&value)
bool PostActionHasBeenSet() const
void SetIamRole(IamRoleT &&value)
SnowflakeNodeData & WithSchema(SchemaT &&value)
const Aws::String & GetTable() const
bool MergeWhenMatchedHasBeenSet() const
SnowflakeNodeData & WithAutoPushdown(bool value)
const Option & GetConnection() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAction(ActionT &&value)
SnowflakeNodeData & WithMergeWhenMatched(MergeWhenMatchedT &&value)
bool ActionHasBeenSet() const
void SetPostAction(PostActionT &&value)
void SetPreAction(PreActionT &&value)
SnowflakeNodeData & WithPreAction(PreActionT &&value)
const Aws::Vector< Option > & GetSelectedColumns() const
void SetMergeWhenNotMatched(MergeWhenNotMatchedT &&value)
SnowflakeNodeData & AddSelectedColumns(SelectedColumnsT &&value)
const Aws::String & GetSchema() const
const Aws::String & GetPreAction() const
void SetSelectedColumns(SelectedColumnsT &&value)
bool SampleQueryHasBeenSet() const
SnowflakeNodeData & WithPostAction(PostActionT &&value)
bool MergeWhenNotMatchedHasBeenSet() const
bool PreActionHasBeenSet() const
void SetAdditionalOptions(AdditionalOptionsT &&value)
SnowflakeNodeData & WithDatabase(DatabaseT &&value)
const Aws::String & GetMergeAction() const
SnowflakeNodeData & AddTableSchema(TableSchemaT &&value)
void SetUpsert(bool value)
const Aws::String & GetMergeWhenMatched() const
bool StagingTableHasBeenSet() const
bool TableHasBeenSet() const
SnowflakeNodeData & WithConnection(ConnectionT &&value)
const Aws::String & GetAction() const
void SetAutoPushdown(bool value)
bool IamRoleHasBeenSet() const
SnowflakeNodeData & WithMergeWhenNotMatched(MergeWhenNotMatchedT &&value)
bool SelectedColumnsHasBeenSet() const
void SetSchema(SchemaT &&value)
void SetMergeWhenMatched(MergeWhenMatchedT &&value)
const Aws::String & GetSourceType() const
const Aws::String & GetSampleQuery() const
bool MergeActionHasBeenSet() const
SnowflakeNodeData & WithUpsert(bool value)
void SetDatabase(DatabaseT &&value)
void SetSampleQuery(SampleQueryT &&value)
bool SchemaHasBeenSet() const
AWS_GLUE_API SnowflakeNodeData(Aws::Utils::Json::JsonView jsonValue)
SnowflakeNodeData & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue