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

The general configuration of a column.

See Also:

AWS * API Reference

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

The column.

*/ inline const ColumnIdentifier& GetColumn() const{ return m_column; } /** *

The column.

*/ inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; } /** *

The column.

*/ inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; } /** *

The column.

*/ inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); } /** *

The column.

*/ inline ColumnConfiguration& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;} /** *

The column.

*/ inline ColumnConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;} /** *

The format configuration of a column.

*/ inline const FormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; } /** *

The format configuration of a column.

*/ inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; } /** *

The format configuration of a column.

*/ inline void SetFormatConfiguration(const FormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; } /** *

The format configuration of a column.

*/ inline void SetFormatConfiguration(FormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); } /** *

The format configuration of a column.

*/ inline ColumnConfiguration& WithFormatConfiguration(const FormatConfiguration& value) { SetFormatConfiguration(value); return *this;} /** *

The format configuration of a column.

*/ inline ColumnConfiguration& WithFormatConfiguration(FormatConfiguration&& value) { SetFormatConfiguration(std::move(value)); return *this;} /** *

The role of the column.

*/ inline const ColumnRole& GetRole() const{ return m_role; } /** *

The role of the column.

*/ inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } /** *

The role of the column.

*/ inline void SetRole(const ColumnRole& value) { m_roleHasBeenSet = true; m_role = value; } /** *

The role of the column.

*/ inline void SetRole(ColumnRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** *

The role of the column.

*/ inline ColumnConfiguration& WithRole(const ColumnRole& value) { SetRole(value); return *this;} /** *

The role of the column.

*/ inline ColumnConfiguration& WithRole(ColumnRole&& value) { SetRole(std::move(value)); return *this;} /** *

The color configurations of the column.

*/ inline const ColorsConfiguration& GetColorsConfiguration() const{ return m_colorsConfiguration; } /** *

The color configurations of the column.

*/ inline bool ColorsConfigurationHasBeenSet() const { return m_colorsConfigurationHasBeenSet; } /** *

The color configurations of the column.

*/ inline void SetColorsConfiguration(const ColorsConfiguration& value) { m_colorsConfigurationHasBeenSet = true; m_colorsConfiguration = value; } /** *

The color configurations of the column.

*/ inline void SetColorsConfiguration(ColorsConfiguration&& value) { m_colorsConfigurationHasBeenSet = true; m_colorsConfiguration = std::move(value); } /** *

The color configurations of the column.

*/ inline ColumnConfiguration& WithColorsConfiguration(const ColorsConfiguration& value) { SetColorsConfiguration(value); return *this;} /** *

The color configurations of the column.

*/ inline ColumnConfiguration& WithColorsConfiguration(ColorsConfiguration&& value) { SetColorsConfiguration(std::move(value)); return *this;} private: ColumnIdentifier m_column; bool m_columnHasBeenSet = false; FormatConfiguration m_formatConfiguration; bool m_formatConfigurationHasBeenSet = false; ColumnRole m_role; bool m_roleHasBeenSet = false; ColorsConfiguration m_colorsConfiguration; bool m_colorsConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws