/** * 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 QuickSight { namespace Model { /** *

A physical table type for relational data sources.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) for the data source.

*/ inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; } /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; } /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline RelationalTable& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline RelationalTable& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the data source.

*/ inline RelationalTable& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;} /** *

The catalog associated with a table.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } /** *

The catalog associated with a table.

*/ inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } /** *

The catalog associated with a table.

*/ inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } /** *

The catalog associated with a table.

*/ inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } /** *

The catalog associated with a table.

*/ inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } /** *

The catalog associated with a table.

*/ inline RelationalTable& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} /** *

The catalog associated with a table.

*/ inline RelationalTable& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} /** *

The catalog associated with a table.

*/ inline RelationalTable& WithCatalog(const char* value) { SetCatalog(value); return *this;} /** *

The schema name. This name applies to certain relational database * engines.

*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *

The schema name. This name applies to certain relational database * engines.

*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *

The schema name. This name applies to certain relational database * engines.

*/ inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *

The schema name. This name applies to certain relational database * engines.

*/ inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *

The schema name. This name applies to certain relational database * engines.

*/ inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); } /** *

The schema name. This name applies to certain relational database * engines.

*/ inline RelationalTable& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *

The schema name. This name applies to certain relational database * engines.

*/ inline RelationalTable& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *

The schema name. This name applies to certain relational database * engines.

*/ inline RelationalTable& WithSchema(const char* value) { SetSchema(value); return *this;} /** *

The name of the relational table.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the relational table.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the relational table.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the relational table.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the relational table.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the relational table.

*/ inline RelationalTable& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the relational table.

*/ inline RelationalTable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the relational table.

*/ inline RelationalTable& WithName(const char* value) { SetName(value); return *this;} /** *

The column schema of the table.

*/ inline const Aws::Vector& GetInputColumns() const{ return m_inputColumns; } /** *

The column schema of the table.

*/ inline bool InputColumnsHasBeenSet() const { return m_inputColumnsHasBeenSet; } /** *

The column schema of the table.

*/ inline void SetInputColumns(const Aws::Vector& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = value; } /** *

The column schema of the table.

*/ inline void SetInputColumns(Aws::Vector&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = std::move(value); } /** *

The column schema of the table.

*/ inline RelationalTable& WithInputColumns(const Aws::Vector& value) { SetInputColumns(value); return *this;} /** *

The column schema of the table.

*/ inline RelationalTable& WithInputColumns(Aws::Vector&& value) { SetInputColumns(std::move(value)); return *this;} /** *

The column schema of the table.

*/ inline RelationalTable& AddInputColumns(const InputColumn& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(value); return *this; } /** *

The column schema of the table.

*/ inline RelationalTable& AddInputColumns(InputColumn&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(std::move(value)); return *this; } private: Aws::String m_dataSourceArn; bool m_dataSourceArnHasBeenSet = false; Aws::String m_catalog; bool m_catalogHasBeenSet = false; Aws::String m_schema; bool m_schemaHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_inputColumns; bool m_inputColumnsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws