7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/Option.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
53 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
65 inline void SetConnection(
const Option& value) { m_connectionHasBeenSet =
true; m_connection = value; }
66 inline void SetConnection(
Option&& value) { m_connectionHasBeenSet =
true; m_connection = std::move(value); }
79 inline void SetSchema(
const char* value) { m_schemaHasBeenSet =
true; m_schema.assign(value); }
93 inline void SetTable(
const char* value) { m_tableHasBeenSet =
true; m_table.assign(value); }
107 inline void SetDatabase(
const char* value) { m_databaseHasBeenSet =
true; m_database.assign(value); }
121 inline void SetTempDir(
const char* value) { m_tempDirHasBeenSet =
true; m_tempDir.assign(value); }
133 inline void SetIamRole(
const Option& value) { m_iamRoleHasBeenSet =
true; m_iamRole = value; }
134 inline void SetIamRole(
Option&& value) { m_iamRoleHasBeenSet =
true; m_iamRole = std::move(value); }
168 inline void SetSampleQuery(
const char* value) { m_sampleQueryHasBeenSet =
true; m_sampleQuery.assign(value); }
183 inline void SetPreAction(
const char* value) { m_preActionHasBeenSet =
true; m_preAction.assign(value); }
198 inline void SetPostAction(
const char* value) { m_postActionHasBeenSet =
true; m_postAction.assign(value); }
214 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
228 inline void SetUpsert(
bool value) { m_upsertHasBeenSet =
true; m_upsert = value; }
243 inline void SetMergeAction(
const char* value) { m_mergeActionHasBeenSet =
true; m_mergeAction.assign(value); }
258 inline void SetMergeWhenMatched(
const char* value) { m_mergeWhenMatchedHasBeenSet =
true; m_mergeWhenMatched.assign(value); }
273 inline void SetMergeWhenNotMatched(
const char* value) { m_mergeWhenNotMatchedHasBeenSet =
true; m_mergeWhenNotMatched.assign(value); }
287 inline void SetMergeClause(
const char* value) { m_mergeClauseHasBeenSet =
true; m_mergeClause.assign(value); }
303 inline void SetStagingTable(
const char* value) { m_stagingTableHasBeenSet =
true; m_stagingTable.assign(value); }
335 inline void SetAutoPushdown(
bool value) { m_autoPushdownHasBeenSet =
true; m_autoPushdown = value; }
357 bool m_sourceTypeHasBeenSet =
false;
360 bool m_connectionHasBeenSet =
false;
363 bool m_schemaHasBeenSet =
false;
366 bool m_tableHasBeenSet =
false;
369 bool m_databaseHasBeenSet =
false;
372 bool m_tempDirHasBeenSet =
false;
375 bool m_iamRoleHasBeenSet =
false;
378 bool m_additionalOptionsHasBeenSet =
false;
381 bool m_sampleQueryHasBeenSet =
false;
384 bool m_preActionHasBeenSet =
false;
387 bool m_postActionHasBeenSet =
false;
390 bool m_actionHasBeenSet =
false;
393 bool m_upsertHasBeenSet =
false;
396 bool m_mergeActionHasBeenSet =
false;
399 bool m_mergeWhenMatchedHasBeenSet =
false;
402 bool m_mergeWhenNotMatchedHasBeenSet =
false;
405 bool m_mergeClauseHasBeenSet =
false;
408 bool m_stagingTableHasBeenSet =
false;
411 bool m_selectedColumnsHasBeenSet =
false;
414 bool m_autoPushdownHasBeenSet =
false;
417 bool m_tableSchemaHasBeenSet =
false;
const Aws::Vector< Option > & GetTableSchema() const
AWS_GLUE_API SnowflakeNodeData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceType(Aws::String &&value)
void SetSampleQuery(const char *value)
void SetMergeWhenNotMatched(Aws::String &&value)
SnowflakeNodeData & WithMergeWhenNotMatched(Aws::String &&value)
const Aws::String & GetDatabase() const
const Aws::String & GetTempDir() const
void SetTableSchema(Aws::Vector< Option > &&value)
void SetMergeAction(Aws::String &&value)
void SetMergeClause(Aws::String &&value)
SnowflakeNodeData & WithMergeWhenMatched(const char *value)
bool MergeClauseHasBeenSet() const
bool TempDirHasBeenSet() const
bool GetAutoPushdown() const
SnowflakeNodeData & AddTableSchema(Option &&value)
SnowflakeNodeData & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
bool AutoPushdownHasBeenSet() const
const Aws::String & GetPostAction() const
void SetMergeWhenMatched(const char *value)
void SetSampleQuery(const Aws::String &value)
SnowflakeNodeData & AddTableSchema(const Option &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
SnowflakeNodeData & WithMergeClause(const Aws::String &value)
SnowflakeNodeData & WithSchema(const Aws::String &value)
const Aws::String & GetMergeClause() const
SnowflakeNodeData & AddSelectedColumns(const Option &value)
SnowflakeNodeData & WithTable(const char *value)
void SetTableSchema(const Aws::Vector< Option > &value)
bool AdditionalOptionsHasBeenSet() const
void SetIamRole(Option &&value)
bool UpsertHasBeenSet() const
SnowflakeNodeData & WithSchema(const char *value)
void SetTable(Aws::String &&value)
SnowflakeNodeData & WithTable(Aws::String &&value)
SnowflakeNodeData & AddAdditionalOptions(Aws::String &&key, const char *value)
const Aws::String & GetMergeWhenNotMatched() const
void SetMergeWhenNotMatched(const char *value)
SnowflakeNodeData & WithMergeClause(Aws::String &&value)
void SetSourceType(const char *value)
SnowflakeNodeData & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
void SetSelectedColumns(const Aws::Vector< Option > &value)
void SetSchema(const Aws::String &value)
SnowflakeNodeData & WithMergeWhenNotMatched(const Aws::String &value)
SnowflakeNodeData & AddAdditionalOptions(const char *key, Aws::String &&value)
AWS_GLUE_API SnowflakeNodeData()
SnowflakeNodeData & WithMergeWhenMatched(const Aws::String &value)
void SetTable(const char *value)
bool DatabaseHasBeenSet() const
bool TableSchemaHasBeenSet() const
const Option & GetIamRole() const
SnowflakeNodeData & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
SnowflakeNodeData & WithIamRole(Option &&value)
SnowflakeNodeData & WithIamRole(const Option &value)
void SetMergeAction(const char *value)
const Aws::String & GetStagingTable() const
SnowflakeNodeData & WithTableSchema(Aws::Vector< Option > &&value)
void SetAction(const char *value)
SnowflakeNodeData & WithTempDir(const Aws::String &value)
void SetTable(const Aws::String &value)
SnowflakeNodeData & WithTempDir(const char *value)
SnowflakeNodeData & WithSampleQuery(const char *value)
void SetPostAction(Aws::String &&value)
SnowflakeNodeData & WithPostAction(const char *value)
void SetPostAction(const char *value)
void SetIamRole(const Option &value)
SnowflakeNodeData & AddAdditionalOptions(Aws::String &&key, Aws::String &&value)
SnowflakeNodeData & WithMergeWhenNotMatched(const char *value)
bool SourceTypeHasBeenSet() const
bool ConnectionHasBeenSet() const
void SetMergeAction(const Aws::String &value)
SnowflakeNodeData & WithTableSchema(const Aws::Vector< Option > &value)
void SetDatabase(const Aws::String &value)
void SetMergeClause(const Aws::String &value)
SnowflakeNodeData & WithAction(const Aws::String &value)
bool PostActionHasBeenSet() const
void SetTempDir(Aws::String &&value)
void SetSampleQuery(Aws::String &&value)
SnowflakeNodeData & WithPostAction(const Aws::String &value)
const Aws::String & GetTable() const
bool MergeWhenMatchedHasBeenSet() const
SnowflakeNodeData & WithDatabase(const Aws::String &value)
void SetTempDir(const Aws::String &value)
void SetStagingTable(Aws::String &&value)
SnowflakeNodeData & WithMergeClause(const char *value)
SnowflakeNodeData & WithAutoPushdown(bool value)
SnowflakeNodeData & WithStagingTable(const Aws::String &value)
const Option & GetConnection() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnection(Option &&value)
SnowflakeNodeData & AddSelectedColumns(Option &&value)
SnowflakeNodeData & WithMergeWhenMatched(Aws::String &&value)
SnowflakeNodeData & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
bool ActionHasBeenSet() const
SnowflakeNodeData & WithSourceType(const Aws::String &value)
void SetPreAction(const Aws::String &value)
SnowflakeNodeData & WithSchema(Aws::String &&value)
SnowflakeNodeData & WithPreAction(const char *value)
SnowflakeNodeData & WithMergeAction(const Aws::String &value)
const Aws::Vector< Option > & GetSelectedColumns() const
void SetMergeWhenMatched(const Aws::String &value)
const Aws::String & GetSchema() const
const Aws::String & GetPreAction() const
SnowflakeNodeData & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
SnowflakeNodeData & WithConnection(Option &&value)
SnowflakeNodeData & WithSourceType(const char *value)
SnowflakeNodeData & WithAction(Aws::String &&value)
SnowflakeNodeData & WithTable(const Aws::String &value)
SnowflakeNodeData & WithAction(const char *value)
void SetSchema(Aws::String &&value)
void SetSelectedColumns(Aws::Vector< Option > &&value)
void SetSourceType(const Aws::String &value)
bool SampleQueryHasBeenSet() const
void SetMergeWhenMatched(Aws::String &&value)
void SetStagingTable(const Aws::String &value)
SnowflakeNodeData & WithMergeAction(Aws::String &&value)
bool MergeWhenNotMatchedHasBeenSet() const
bool PreActionHasBeenSet() const
SnowflakeNodeData & WithStagingTable(const char *value)
SnowflakeNodeData & WithSampleQuery(const Aws::String &value)
void SetPostAction(const Aws::String &value)
SnowflakeNodeData & WithPreAction(const Aws::String &value)
void SetPreAction(Aws::String &&value)
const Aws::String & GetMergeAction() const
void SetUpsert(bool value)
const Aws::String & GetMergeWhenMatched() const
bool StagingTableHasBeenSet() const
SnowflakeNodeData & WithTempDir(Aws::String &&value)
bool TableHasBeenSet() const
SnowflakeNodeData & WithSelectedColumns(const Aws::Vector< Option > &value)
SnowflakeNodeData & WithSourceType(Aws::String &&value)
void SetPreAction(const char *value)
SnowflakeNodeData & WithConnection(const Option &value)
void SetMergeClause(const char *value)
void SetAction(Aws::String &&value)
const Aws::String & GetAction() const
void SetAutoPushdown(bool value)
bool IamRoleHasBeenSet() const
void SetSchema(const char *value)
bool SelectedColumnsHasBeenSet() const
SnowflakeNodeData & WithSampleQuery(Aws::String &&value)
SnowflakeNodeData & WithMergeAction(const char *value)
SnowflakeNodeData & WithDatabase(const char *value)
const Aws::String & GetSourceType() const
const Aws::String & GetSampleQuery() const
SnowflakeNodeData & WithStagingTable(Aws::String &&value)
bool MergeActionHasBeenSet() const
void SetMergeWhenNotMatched(const Aws::String &value)
void SetDatabase(Aws::String &&value)
SnowflakeNodeData & WithSelectedColumns(Aws::Vector< Option > &&value)
SnowflakeNodeData & WithDatabase(Aws::String &&value)
void SetConnection(const Option &value)
void SetDatabase(const char *value)
SnowflakeNodeData & WithUpsert(bool value)
void SetTempDir(const char *value)
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetStagingTable(const char *value)
SnowflakeNodeData & WithPostAction(Aws::String &&value)
SnowflakeNodeData & WithPreAction(Aws::String &&value)
SnowflakeNodeData & AddAdditionalOptions(const char *key, const char *value)
void SetAction(const Aws::String &value)
bool SchemaHasBeenSet() const
AWS_GLUE_API SnowflakeNodeData(Aws::Utils::Json::JsonView jsonValue)
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