/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a Hudi data source that is registered in the Glue Data Catalog. The
* Hudi data source must be stored in Amazon S3.See Also:
AWS
* API Reference
The name of the Hudi data source.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Hudi data source.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Hudi data source.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Hudi data source.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Hudi data source.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Hudi data source.
*/ inline S3CatalogHudiSource& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Hudi data source.
*/ inline S3CatalogHudiSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Hudi data source.
*/ inline S3CatalogHudiSource& WithName(const char* value) { SetName(value); return *this;} /** *The name of the database to read from.
*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *The name of the database to read from.
*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *The name of the database to read from.
*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *The name of the database to read from.
*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *The name of the database to read from.
*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *The name of the database to read from.
*/ inline S3CatalogHudiSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *The name of the database to read from.
*/ inline S3CatalogHudiSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *The name of the database to read from.
*/ inline S3CatalogHudiSource& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *The name of the table in the database to read from.
*/ inline const Aws::String& GetTable() const{ return m_table; } /** *The name of the table in the database to read from.
*/ inline bool TableHasBeenSet() const { return m_tableHasBeenSet; } /** *The name of the table in the database to read from.
*/ inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; } /** *The name of the table in the database to read from.
*/ inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); } /** *The name of the table in the database to read from.
*/ inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); } /** *The name of the table in the database to read from.
*/ inline S3CatalogHudiSource& WithTable(const Aws::String& value) { SetTable(value); return *this;} /** *The name of the table in the database to read from.
*/ inline S3CatalogHudiSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;} /** *The name of the table in the database to read from.
*/ inline S3CatalogHudiSource& WithTable(const char* value) { SetTable(value); return *this;} /** *Specifies additional connection options.
*/ inline const Aws::MapSpecifies additional connection options.
*/ inline bool AdditionalHudiOptionsHasBeenSet() const { return m_additionalHudiOptionsHasBeenSet; } /** *Specifies additional connection options.
*/ inline void SetAdditionalHudiOptions(const Aws::MapSpecifies additional connection options.
*/ inline void SetAdditionalHudiOptions(Aws::MapSpecifies additional connection options.
*/ inline S3CatalogHudiSource& WithAdditionalHudiOptions(const Aws::MapSpecifies additional connection options.
*/ inline S3CatalogHudiSource& WithAdditionalHudiOptions(Aws::MapSpecifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), std::move(value)); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(const char* key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options.
*/ inline S3CatalogHudiSource& AddAdditionalHudiOptions(const char* key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; } /** *Specifies the data schema for the Hudi source.
*/ inline const Aws::VectorSpecifies the data schema for the Hudi source.
*/ inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; } /** *Specifies the data schema for the Hudi source.
*/ inline void SetOutputSchemas(const Aws::VectorSpecifies the data schema for the Hudi source.
*/ inline void SetOutputSchemas(Aws::VectorSpecifies the data schema for the Hudi source.
*/ inline S3CatalogHudiSource& WithOutputSchemas(const Aws::VectorSpecifies the data schema for the Hudi source.
*/ inline S3CatalogHudiSource& WithOutputSchemas(Aws::VectorSpecifies the data schema for the Hudi source.
*/ inline S3CatalogHudiSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; } /** *Specifies the data schema for the Hudi source.
*/ inline S3CatalogHudiSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_database; bool m_databaseHasBeenSet = false; Aws::String m_table; bool m_tableHasBeenSet = false; Aws::Map