/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GlueDataBrew { namespace Model { /** *

Represents options that specify how and where in the Glue Data Catalog * DataBrew writes the output generated by recipe jobs.

See Also:

* AWS * API Reference

*/ class DataCatalogOutput { public: AWS_GLUEDATABREW_API DataCatalogOutput(); AWS_GLUEDATABREW_API DataCatalogOutput(Aws::Utils::Json::JsonView jsonValue); AWS_GLUEDATABREW_API DataCatalogOutput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogOutput& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogOutput& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogOutput& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} /** *

The name of a database in the Data Catalog.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The name of a database in the Data Catalog.

*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *

The name of a database in the Data Catalog.

*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *

The name of a database in the Data Catalog.

*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *

The name of a database in the Data Catalog.

*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *

The name of a database in the Data Catalog.

*/ inline DataCatalogOutput& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The name of a database in the Data Catalog.

*/ inline DataCatalogOutput& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The name of a database in the Data Catalog.

*/ inline DataCatalogOutput& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *

The name of a table in the Data Catalog.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The name of a table in the Data Catalog.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The name of a table in the Data Catalog.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The name of a table in the Data Catalog.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The name of a table in the Data Catalog.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The name of a table in the Data Catalog.

*/ inline DataCatalogOutput& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of a table in the Data Catalog.

*/ inline DataCatalogOutput& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The name of a table in the Data Catalog.

*/ inline DataCatalogOutput& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline const S3TableOutputOptions& GetS3Options() const{ return m_s3Options; } /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline bool S3OptionsHasBeenSet() const { return m_s3OptionsHasBeenSet; } /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline void SetS3Options(const S3TableOutputOptions& value) { m_s3OptionsHasBeenSet = true; m_s3Options = value; } /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline void SetS3Options(S3TableOutputOptions&& value) { m_s3OptionsHasBeenSet = true; m_s3Options = std::move(value); } /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline DataCatalogOutput& WithS3Options(const S3TableOutputOptions& value) { SetS3Options(value); return *this;} /** *

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

*/ inline DataCatalogOutput& WithS3Options(S3TableOutputOptions&& value) { SetS3Options(std::move(value)); return *this;} /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline const DatabaseTableOutputOptions& GetDatabaseOptions() const{ return m_databaseOptions; } /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline bool DatabaseOptionsHasBeenSet() const { return m_databaseOptionsHasBeenSet; } /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline void SetDatabaseOptions(const DatabaseTableOutputOptions& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = value; } /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline void SetDatabaseOptions(DatabaseTableOutputOptions&& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = std::move(value); } /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline DataCatalogOutput& WithDatabaseOptions(const DatabaseTableOutputOptions& value) { SetDatabaseOptions(value); return *this;} /** *

Represents options that specify how and where DataBrew writes the database * output generated by recipe jobs.

*/ inline DataCatalogOutput& WithDatabaseOptions(DatabaseTableOutputOptions&& value) { SetDatabaseOptions(std::move(value)); return *this;} /** *

A value that, if true, means that any data in the location specified for * output is overwritten with new output. Not supported with DatabaseOptions.

*/ inline bool GetOverwrite() const{ return m_overwrite; } /** *

A value that, if true, means that any data in the location specified for * output is overwritten with new output. Not supported with DatabaseOptions.

*/ inline bool OverwriteHasBeenSet() const { return m_overwriteHasBeenSet; } /** *

A value that, if true, means that any data in the location specified for * output is overwritten with new output. Not supported with DatabaseOptions.

*/ inline void SetOverwrite(bool value) { m_overwriteHasBeenSet = true; m_overwrite = value; } /** *

A value that, if true, means that any data in the location specified for * output is overwritten with new output. Not supported with DatabaseOptions.

*/ inline DataCatalogOutput& WithOverwrite(bool value) { SetOverwrite(value); return *this;} private: Aws::String m_catalogId; bool m_catalogIdHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; S3TableOutputOptions m_s3Options; bool m_s3OptionsHasBeenSet = false; DatabaseTableOutputOptions m_databaseOptions; bool m_databaseOptionsHasBeenSet = false; bool m_overwrite; bool m_overwriteHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws