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

An object that contains attributes about a single column in a * table

See Also:

AWS * API Reference

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

The id of the column in the table.

*/ inline const Aws::String& GetTableColumnId() const{ return m_tableColumnId; } /** *

The id of the column in the table.

*/ inline bool TableColumnIdHasBeenSet() const { return m_tableColumnIdHasBeenSet; } /** *

The id of the column in the table.

*/ inline void SetTableColumnId(const Aws::String& value) { m_tableColumnIdHasBeenSet = true; m_tableColumnId = value; } /** *

The id of the column in the table.

*/ inline void SetTableColumnId(Aws::String&& value) { m_tableColumnIdHasBeenSet = true; m_tableColumnId = std::move(value); } /** *

The id of the column in the table.

*/ inline void SetTableColumnId(const char* value) { m_tableColumnIdHasBeenSet = true; m_tableColumnId.assign(value); } /** *

The id of the column in the table.

*/ inline TableColumn& WithTableColumnId(const Aws::String& value) { SetTableColumnId(value); return *this;} /** *

The id of the column in the table.

*/ inline TableColumn& WithTableColumnId(Aws::String&& value) { SetTableColumnId(std::move(value)); return *this;} /** *

The id of the column in the table.

*/ inline TableColumn& WithTableColumnId(const char* value) { SetTableColumnId(value); return *this;} /** *

The name of the column in the table.

*/ inline const Aws::String& GetTableColumnName() const{ return m_tableColumnName; } /** *

The name of the column in the table.

*/ inline bool TableColumnNameHasBeenSet() const { return m_tableColumnNameHasBeenSet; } /** *

The name of the column in the table.

*/ inline void SetTableColumnName(const Aws::String& value) { m_tableColumnNameHasBeenSet = true; m_tableColumnName = value; } /** *

The name of the column in the table.

*/ inline void SetTableColumnName(Aws::String&& value) { m_tableColumnNameHasBeenSet = true; m_tableColumnName = std::move(value); } /** *

The name of the column in the table.

*/ inline void SetTableColumnName(const char* value) { m_tableColumnNameHasBeenSet = true; m_tableColumnName.assign(value); } /** *

The name of the column in the table.

*/ inline TableColumn& WithTableColumnName(const Aws::String& value) { SetTableColumnName(value); return *this;} /** *

The name of the column in the table.

*/ inline TableColumn& WithTableColumnName(Aws::String&& value) { SetTableColumnName(std::move(value)); return *this;} /** *

The name of the column in the table.

*/ inline TableColumn& WithTableColumnName(const char* value) { SetTableColumnName(value); return *this;} /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline const Format& GetFormat() const{ return m_format; } /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline TableColumn& WithFormat(const Format& value) { SetFormat(value); return *this;} /** *

The column level format that is applied in the table. An empty value in this * field means that the column format is the default value 'AUTO'.

*/ inline TableColumn& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;} private: Aws::String m_tableColumnId; bool m_tableColumnIdHasBeenSet = false; Aws::String m_tableColumnName; bool m_tableColumnNameHasBeenSet = false; Format m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws