/** * 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 AWS_QUICKSIGHT_API RelationalTable { public: RelationalTable(); RelationalTable(Aws::Utils::Json::JsonView jsonValue); RelationalTable& operator=(Aws::Utils::Json::JsonView jsonValue); 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 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; Aws::String m_schema; bool m_schemaHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::Vector m_inputColumns; bool m_inputColumnsHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws