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/AWSVector.h>
11#include <aws/glue/model/AmazonRedshiftAdvancedOption.h>
52 inline void SetAccessType(
const char* value) { m_accessTypeHasBeenSet =
true; m_accessType.assign(value); }
67 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
79 inline void SetConnection(
const Option& value) { m_connectionHasBeenSet =
true; m_connection = value; }
80 inline void SetConnection(
Option&& value) { m_connectionHasBeenSet =
true; m_connection = std::move(value); }
91 inline void SetSchema(
const Option& value) { m_schemaHasBeenSet =
true; m_schema = value; }
92 inline void SetSchema(
Option&& value) { m_schemaHasBeenSet =
true; m_schema = std::move(value); }
103 inline void SetTable(
const Option& value) { m_tableHasBeenSet =
true; m_table = value; }
104 inline void SetTable(
Option&& value) { m_tableHasBeenSet =
true; m_table = std::move(value); }
142 inline void SetCatalogRedshiftSchema(
const char* value) { m_catalogRedshiftSchemaHasBeenSet =
true; m_catalogRedshiftSchema.assign(value); }
156 inline void SetCatalogRedshiftTable(
const char* value) { m_catalogRedshiftTableHasBeenSet =
true; m_catalogRedshiftTable.assign(value); }
171 inline void SetTempDir(
const char* value) { m_tempDirHasBeenSet =
true; m_tempDir.assign(value); }
184 inline void SetIamRole(
const Option& value) { m_iamRoleHasBeenSet =
true; m_iamRole = value; }
185 inline void SetIamRole(
Option&& value) { m_iamRoleHasBeenSet =
true; m_iamRole = std::move(value); }
213 inline void SetSampleQuery(
const char* value) { m_sampleQueryHasBeenSet =
true; m_sampleQuery.assign(value); }
227 inline void SetPreAction(
const char* value) { m_preActionHasBeenSet =
true; m_preAction.assign(value); }
241 inline void SetPostAction(
const char* value) { m_postActionHasBeenSet =
true; m_postAction.assign(value); }
255 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
269 inline void SetTablePrefix(
const char* value) { m_tablePrefixHasBeenSet =
true; m_tablePrefix.assign(value); }
281 inline void SetUpsert(
bool value) { m_upsertHasBeenSet =
true; m_upsert = value; }
294 inline void SetMergeAction(
const char* value) { m_mergeActionHasBeenSet =
true; m_mergeAction.assign(value); }
309 inline void SetMergeWhenMatched(
const char* value) { m_mergeWhenMatchedHasBeenSet =
true; m_mergeWhenMatched.assign(value); }
324 inline void SetMergeWhenNotMatched(
const char* value) { m_mergeWhenNotMatchedHasBeenSet =
true; m_mergeWhenNotMatched.assign(value); }
338 inline void SetMergeClause(
const char* value) { m_mergeClauseHasBeenSet =
true; m_mergeClause.assign(value); }
353 inline void SetCrawlerConnection(
const char* value) { m_crawlerConnectionHasBeenSet =
true; m_crawlerConnection.assign(value); }
382 inline void SetStagingTable(
const char* value) { m_stagingTableHasBeenSet =
true; m_stagingTable.assign(value); }
405 bool m_accessTypeHasBeenSet =
false;
408 bool m_sourceTypeHasBeenSet =
false;
411 bool m_connectionHasBeenSet =
false;
414 bool m_schemaHasBeenSet =
false;
417 bool m_tableHasBeenSet =
false;
420 bool m_catalogDatabaseHasBeenSet =
false;
423 bool m_catalogTableHasBeenSet =
false;
426 bool m_catalogRedshiftSchemaHasBeenSet =
false;
429 bool m_catalogRedshiftTableHasBeenSet =
false;
432 bool m_tempDirHasBeenSet =
false;
435 bool m_iamRoleHasBeenSet =
false;
438 bool m_advancedOptionsHasBeenSet =
false;
441 bool m_sampleQueryHasBeenSet =
false;
444 bool m_preActionHasBeenSet =
false;
447 bool m_postActionHasBeenSet =
false;
450 bool m_actionHasBeenSet =
false;
453 bool m_tablePrefixHasBeenSet =
false;
456 bool m_upsertHasBeenSet =
false;
459 bool m_mergeActionHasBeenSet =
false;
462 bool m_mergeWhenMatchedHasBeenSet =
false;
465 bool m_mergeWhenNotMatchedHasBeenSet =
false;
468 bool m_mergeClauseHasBeenSet =
false;
471 bool m_crawlerConnectionHasBeenSet =
false;
474 bool m_tableSchemaHasBeenSet =
false;
477 bool m_stagingTableHasBeenSet =
false;
480 bool m_selectedColumnsHasBeenSet =
false;
void SetTable(const Option &value)
bool AccessTypeHasBeenSet() const
bool IamRoleHasBeenSet() const
const Aws::String & GetMergeWhenNotMatched() const
AmazonRedshiftNodeData & WithCatalogRedshiftSchema(Aws::String &&value)
void SetCatalogRedshiftTable(const char *value)
AmazonRedshiftNodeData & WithTable(const Option &value)
bool AdvancedOptionsHasBeenSet() const
void SetTablePrefix(const Aws::String &value)
bool TableHasBeenSet() const
AmazonRedshiftNodeData & AddSelectedColumns(const Option &value)
const Aws::String & GetMergeWhenMatched() const
void SetUpsert(bool value)
AmazonRedshiftNodeData & AddTableSchema(Option &&value)
bool MergeWhenNotMatchedHasBeenSet() const
AmazonRedshiftNodeData & WithAction(Aws::String &&value)
void SetAccessType(Aws::String &&value)
bool CatalogRedshiftTableHasBeenSet() const
AmazonRedshiftNodeData & WithAccessType(const char *value)
AmazonRedshiftNodeData & WithStagingTable(const Aws::String &value)
AmazonRedshiftNodeData & WithPostAction(Aws::String &&value)
void SetPostAction(const Aws::String &value)
AmazonRedshiftNodeData & WithSelectedColumns(const Aws::Vector< Option > &value)
AmazonRedshiftNodeData & WithCatalogRedshiftSchema(const Aws::String &value)
AmazonRedshiftNodeData & WithTableSchema(Aws::Vector< Option > &&value)
AmazonRedshiftNodeData & WithStagingTable(const char *value)
AWS_GLUE_API AmazonRedshiftNodeData(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftNodeData & WithIamRole(Option &&value)
AmazonRedshiftNodeData & WithAccessType(const Aws::String &value)
AmazonRedshiftNodeData & WithSampleQuery(const char *value)
void SetCatalogDatabase(Option &&value)
const Aws::String & GetTempDir() const
AmazonRedshiftNodeData & WithSourceType(Aws::String &&value)
bool CatalogRedshiftSchemaHasBeenSet() const
bool SelectedColumnsHasBeenSet() const
AmazonRedshiftNodeData & WithMergeWhenNotMatched(const Aws::String &value)
bool UpsertHasBeenSet() const
AmazonRedshiftNodeData & WithCatalogTable(const Option &value)
bool MergeClauseHasBeenSet() const
AmazonRedshiftNodeData & WithPostAction(const Aws::String &value)
AmazonRedshiftNodeData & WithMergeClause(Aws::String &&value)
void SetCatalogRedshiftSchema(const Aws::String &value)
const Option & GetCatalogDatabase() const
void SetAction(const char *value)
AmazonRedshiftNodeData & AddTableSchema(const Option &value)
void SetTempDir(const char *value)
const Aws::Vector< AmazonRedshiftAdvancedOption > & GetAdvancedOptions() const
AmazonRedshiftNodeData & WithTablePrefix(Aws::String &&value)
void SetConnection(Option &&value)
AmazonRedshiftNodeData & AddAdvancedOptions(const AmazonRedshiftAdvancedOption &value)
AmazonRedshiftNodeData & WithSourceType(const Aws::String &value)
bool ConnectionHasBeenSet() const
void SetMergeWhenNotMatched(Aws::String &&value)
void SetCatalogRedshiftSchema(Aws::String &&value)
void SetTable(Option &&value)
void SetMergeAction(const Aws::String &value)
AmazonRedshiftNodeData & WithConnection(Option &&value)
void SetMergeWhenMatched(const Aws::String &value)
void SetIamRole(const Option &value)
const Aws::String & GetPreAction() const
const Option & GetSchema() const
AWS_GLUE_API AmazonRedshiftNodeData & operator=(Aws::Utils::Json::JsonView jsonValue)
AmazonRedshiftNodeData & WithMergeClause(const char *value)
const Aws::String & GetCatalogRedshiftTable() const
AmazonRedshiftNodeData & WithMergeClause(const Aws::String &value)
void SetMergeWhenNotMatched(const Aws::String &value)
AmazonRedshiftNodeData & WithTablePrefix(const char *value)
bool TablePrefixHasBeenSet() const
AmazonRedshiftNodeData & WithPreAction(Aws::String &&value)
AmazonRedshiftNodeData & WithAdvancedOptions(const Aws::Vector< AmazonRedshiftAdvancedOption > &value)
void SetAction(const Aws::String &value)
const Aws::String & GetStagingTable() const
void SetPreAction(const char *value)
void SetStagingTable(Aws::String &&value)
AmazonRedshiftNodeData & WithCatalogRedshiftTable(const Aws::String &value)
void SetAccessType(const Aws::String &value)
void SetTableSchema(const Aws::Vector< Option > &value)
void SetAdvancedOptions(const Aws::Vector< AmazonRedshiftAdvancedOption > &value)
AmazonRedshiftNodeData & WithAccessType(Aws::String &&value)
AmazonRedshiftNodeData & WithMergeWhenMatched(const Aws::String &value)
void SetStagingTable(const Aws::String &value)
AmazonRedshiftNodeData & WithSourceType(const char *value)
void SetTableSchema(Aws::Vector< Option > &&value)
AmazonRedshiftNodeData & WithCatalogTable(Option &&value)
void SetSelectedColumns(Aws::Vector< Option > &&value)
AmazonRedshiftNodeData & WithMergeWhenNotMatched(const char *value)
void SetTablePrefix(const char *value)
AmazonRedshiftNodeData & WithMergeAction(const char *value)
void SetCrawlerConnection(const Aws::String &value)
AmazonRedshiftNodeData & WithTempDir(const Aws::String &value)
bool PostActionHasBeenSet() const
const Aws::String & GetSampleQuery() const
const Aws::Vector< Option > & GetSelectedColumns() const
void SetCatalogRedshiftTable(Aws::String &&value)
AmazonRedshiftNodeData & WithMergeAction(Aws::String &&value)
AmazonRedshiftNodeData & WithMergeWhenMatched(const char *value)
void SetSampleQuery(const char *value)
void SetSampleQuery(Aws::String &&value)
AmazonRedshiftNodeData & WithConnection(const Option &value)
AmazonRedshiftNodeData & WithAction(const char *value)
void SetCrawlerConnection(const char *value)
void SetAccessType(const char *value)
void SetMergeAction(Aws::String &&value)
AmazonRedshiftNodeData & WithStagingTable(Aws::String &&value)
AmazonRedshiftNodeData & WithMergeAction(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceType(const char *value)
const Aws::String & GetCrawlerConnection() const
const Aws::String & GetCatalogRedshiftSchema() const
AmazonRedshiftNodeData & WithMergeWhenNotMatched(Aws::String &&value)
AmazonRedshiftNodeData & WithTablePrefix(const Aws::String &value)
void SetTempDir(const Aws::String &value)
void SetSchema(Option &&value)
void SetPostAction(const char *value)
AmazonRedshiftNodeData & WithCrawlerConnection(const char *value)
AmazonRedshiftNodeData & WithPostAction(const char *value)
bool SchemaHasBeenSet() const
AmazonRedshiftNodeData & WithSampleQuery(const Aws::String &value)
void SetSelectedColumns(const Aws::Vector< Option > &value)
void SetAction(Aws::String &&value)
void SetConnection(const Option &value)
const Aws::String & GetPostAction() const
void SetPreAction(Aws::String &&value)
AmazonRedshiftNodeData & WithSchema(const Option &value)
void SetIamRole(Option &&value)
AmazonRedshiftNodeData & WithCatalogRedshiftTable(Aws::String &&value)
bool ActionHasBeenSet() const
void SetCatalogDatabase(const Option &value)
const Option & GetTable() const
const Option & GetCatalogTable() const
void SetCatalogTable(const Option &value)
void SetMergeAction(const char *value)
void SetPreAction(const Aws::String &value)
bool TempDirHasBeenSet() const
bool StagingTableHasBeenSet() const
AmazonRedshiftNodeData & WithAction(const Aws::String &value)
AmazonRedshiftNodeData & WithSchema(Option &&value)
AmazonRedshiftNodeData & WithCrawlerConnection(Aws::String &&value)
AmazonRedshiftNodeData & AddAdvancedOptions(AmazonRedshiftAdvancedOption &&value)
bool CatalogDatabaseHasBeenSet() const
void SetSourceType(const Aws::String &value)
const Option & GetIamRole() const
bool CrawlerConnectionHasBeenSet() const
AmazonRedshiftNodeData & WithCatalogRedshiftSchema(const char *value)
AmazonRedshiftNodeData & WithPreAction(const char *value)
void SetMergeClause(const char *value)
bool SampleQueryHasBeenSet() const
AmazonRedshiftNodeData & WithMergeWhenMatched(Aws::String &&value)
void SetSchema(const Option &value)
AmazonRedshiftNodeData & WithTable(Option &&value)
AWS_GLUE_API AmazonRedshiftNodeData()
void SetTempDir(Aws::String &&value)
void SetSampleQuery(const Aws::String &value)
void SetMergeWhenMatched(Aws::String &&value)
void SetPostAction(Aws::String &&value)
void SetMergeClause(Aws::String &&value)
AmazonRedshiftNodeData & AddSelectedColumns(Option &&value)
AmazonRedshiftNodeData & WithTempDir(const char *value)
void SetMergeWhenMatched(const char *value)
const Aws::String & GetAction() const
bool SourceTypeHasBeenSet() const
bool MergeWhenMatchedHasBeenSet() const
void SetAdvancedOptions(Aws::Vector< AmazonRedshiftAdvancedOption > &&value)
const Option & GetConnection() const
AmazonRedshiftNodeData & WithCrawlerConnection(const Aws::String &value)
AmazonRedshiftNodeData & WithCatalogDatabase(Option &&value)
void SetCrawlerConnection(Aws::String &&value)
AmazonRedshiftNodeData & WithSelectedColumns(Aws::Vector< Option > &&value)
void SetSourceType(Aws::String &&value)
bool MergeActionHasBeenSet() const
AmazonRedshiftNodeData & WithCatalogRedshiftTable(const char *value)
AmazonRedshiftNodeData & WithCatalogDatabase(const Option &value)
const Aws::String & GetTablePrefix() const
bool CatalogTableHasBeenSet() const
AmazonRedshiftNodeData & WithSampleQuery(Aws::String &&value)
const Aws::String & GetSourceType() const
void SetTablePrefix(Aws::String &&value)
void SetMergeWhenNotMatched(const char *value)
void SetStagingTable(const char *value)
bool TableSchemaHasBeenSet() const
bool PreActionHasBeenSet() const
void SetMergeClause(const Aws::String &value)
AmazonRedshiftNodeData & WithTableSchema(const Aws::Vector< Option > &value)
const Aws::String & GetAccessType() const
const Aws::String & GetMergeClause() const
AmazonRedshiftNodeData & WithPreAction(const Aws::String &value)
const Aws::String & GetMergeAction() const
void SetCatalogRedshiftSchema(const char *value)
AmazonRedshiftNodeData & WithIamRole(const Option &value)
const Aws::Vector< Option > & GetTableSchema() const
void SetCatalogRedshiftTable(const Aws::String &value)
AmazonRedshiftNodeData & WithTempDir(Aws::String &&value)
AmazonRedshiftNodeData & WithAdvancedOptions(Aws::Vector< AmazonRedshiftAdvancedOption > &&value)
AmazonRedshiftNodeData & WithUpsert(bool value)
void SetCatalogTable(Option &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue