/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a target that writes to a Hudi data source in the Glue Data
* Catalog.See Also:
AWS
* API Reference
The name of the data target.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data target.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data target.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data target.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data target.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data target.
*/ inline S3HudiCatalogTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data target.
*/ inline S3HudiCatalogTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data target.
*/ inline S3HudiCatalogTarget& WithName(const char* value) { SetName(value); return *this;} /** *The nodes that are inputs to the data target.
*/ inline const Aws::VectorThe nodes that are inputs to the data target.
*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *The nodes that are inputs to the data target.
*/ inline void SetInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline void SetInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiCatalogTarget& WithInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiCatalogTarget& WithInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiCatalogTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The nodes that are inputs to the data target.
*/ inline S3HudiCatalogTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *The nodes that are inputs to the data target.
*/ inline S3HudiCatalogTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *Specifies native partitioning using a sequence of keys.
*/ inline const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; } /** *Specifies native partitioning using a sequence of keys.
*/ inline void SetPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline void SetPartitionKeys(Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiCatalogTarget& WithPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiCatalogTarget& WithPartitionKeys(Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiCatalogTarget& AddPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiCatalogTarget& AddPartitionKeys(Aws::VectorThe name of the table in the database to write to.
*/ inline const Aws::String& GetTable() const{ return m_table; } /** *The name of the table in the database to write to.
*/ inline bool TableHasBeenSet() const { return m_tableHasBeenSet; } /** *The name of the table in the database to write to.
*/ inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; } /** *The name of the table in the database to write to.
*/ inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); } /** *The name of the table in the database to write to.
*/ inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); } /** *The name of the table in the database to write to.
*/ inline S3HudiCatalogTarget& WithTable(const Aws::String& value) { SetTable(value); return *this;} /** *The name of the table in the database to write to.
*/ inline S3HudiCatalogTarget& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;} /** *The name of the table in the database to write to.
*/ inline S3HudiCatalogTarget& WithTable(const char* value) { SetTable(value); return *this;} /** *The name of the database to write to.
*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *The name of the database to write to.
*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *The name of the database to write to.
*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *The name of the database to write to.
*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *The name of the database to write to.
*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *The name of the database to write to.
*/ inline S3HudiCatalogTarget& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *The name of the database to write to.
*/ inline S3HudiCatalogTarget& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *The name of the database to write to.
*/ inline S3HudiCatalogTarget& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *Specifies additional connection options for the connector.
*/ inline const Aws::MapSpecifies additional connection options for the connector.
*/ inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; } /** *Specifies additional connection options for the connector.
*/ inline void SetAdditionalOptions(const Aws::MapSpecifies additional connection options for the connector.
*/ inline void SetAdditionalOptions(Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& WithAdditionalOptions(const Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& WithAdditionalOptions(Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiCatalogTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *A policy that specifies update behavior for the crawler.
*/ inline const CatalogSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; } /** *A policy that specifies update behavior for the crawler.
*/ inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; } /** *A policy that specifies update behavior for the crawler.
*/ inline void SetSchemaChangePolicy(const CatalogSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; } /** *A policy that specifies update behavior for the crawler.
*/ inline void SetSchemaChangePolicy(CatalogSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); } /** *A policy that specifies update behavior for the crawler.
*/ inline S3HudiCatalogTarget& WithSchemaChangePolicy(const CatalogSchemaChangePolicy& value) { SetSchemaChangePolicy(value); return *this;} /** *A policy that specifies update behavior for the crawler.
*/ inline S3HudiCatalogTarget& WithSchemaChangePolicy(CatalogSchemaChangePolicy&& value) { SetSchemaChangePolicy(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector