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

An object representing the properties of a table in a workbook.

See * Also:

AWS API * Reference

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

The id of the table.

*/ inline const Aws::String& GetTableId() const{ return m_tableId; } /** *

The id of the table.

*/ inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } /** *

The id of the table.

*/ inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } /** *

The id of the table.

*/ inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } /** *

The id of the table.

*/ inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } /** *

The id of the table.

*/ inline Table& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} /** *

The id of the table.

*/ inline Table& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} /** *

The id of the table.

*/ inline Table& WithTableId(const char* value) { SetTableId(value); return *this;} /** *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

*/ inline Table& WithTableName(const char* value) { SetTableName(value); return *this;} private: Aws::String m_tableId; bool m_tableIdHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws