/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DataBrew writes the database * output generated by recipe jobs.

See Also:

AWS * API Reference

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

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline const S3Location& GetTempDirectory() const{ return m_tempDirectory; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline bool TempDirectoryHasBeenSet() const { return m_tempDirectoryHasBeenSet; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline void SetTempDirectory(const S3Location& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = value; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline void SetTempDirectory(S3Location&& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = std::move(value); } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline DatabaseTableOutputOptions& WithTempDirectory(const S3Location& value) { SetTempDirectory(value); return *this;} /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can store intermediate results.

*/ inline DatabaseTableOutputOptions& WithTempDirectory(S3Location&& value) { SetTempDirectory(std::move(value)); return *this;} /** *

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

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

A prefix for the name of a table DataBrew will create in the database.

*/ inline DatabaseTableOutputOptions& WithTableName(const char* value) { SetTableName(value); return *this;} private: S3Location m_tempDirectory; bool m_tempDirectoryHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws