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

A table that points to an entity outside the Glue Data Catalog.

See * Also:

AWS * API Reference

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

A unique identifier for the federated table.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

A unique identifier for the federated table.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

A unique identifier for the federated table.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

A unique identifier for the federated table.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

A unique identifier for the federated table.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

A unique identifier for the federated table.

*/ inline FederatedTable& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

A unique identifier for the federated table.

*/ inline FederatedTable& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

A unique identifier for the federated table.

*/ inline FederatedTable& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *

A unique identifier for the federated database.

*/ inline const Aws::String& GetDatabaseIdentifier() const{ return m_databaseIdentifier; } /** *

A unique identifier for the federated database.

*/ inline bool DatabaseIdentifierHasBeenSet() const { return m_databaseIdentifierHasBeenSet; } /** *

A unique identifier for the federated database.

*/ inline void SetDatabaseIdentifier(const Aws::String& value) { m_databaseIdentifierHasBeenSet = true; m_databaseIdentifier = value; } /** *

A unique identifier for the federated database.

*/ inline void SetDatabaseIdentifier(Aws::String&& value) { m_databaseIdentifierHasBeenSet = true; m_databaseIdentifier = std::move(value); } /** *

A unique identifier for the federated database.

*/ inline void SetDatabaseIdentifier(const char* value) { m_databaseIdentifierHasBeenSet = true; m_databaseIdentifier.assign(value); } /** *

A unique identifier for the federated database.

*/ inline FederatedTable& WithDatabaseIdentifier(const Aws::String& value) { SetDatabaseIdentifier(value); return *this;} /** *

A unique identifier for the federated database.

*/ inline FederatedTable& WithDatabaseIdentifier(Aws::String&& value) { SetDatabaseIdentifier(std::move(value)); return *this;} /** *

A unique identifier for the federated database.

*/ inline FederatedTable& WithDatabaseIdentifier(const char* value) { SetDatabaseIdentifier(value); return *this;} /** *

The name of the connection to the external metastore.

*/ inline const Aws::String& GetConnectionName() const{ return m_connectionName; } /** *

The name of the connection to the external metastore.

*/ inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } /** *

The name of the connection to the external metastore.

*/ inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } /** *

The name of the connection to the external metastore.

*/ inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } /** *

The name of the connection to the external metastore.

*/ inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } /** *

The name of the connection to the external metastore.

*/ inline FederatedTable& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} /** *

The name of the connection to the external metastore.

*/ inline FederatedTable& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} /** *

The name of the connection to the external metastore.

*/ inline FederatedTable& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_databaseIdentifier; bool m_databaseIdentifierHasBeenSet = false; Aws::String m_connectionName; bool m_connectionNameHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws