/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The table cell style for a cell in pivot table or table visual.See
* Also:
AWS
* API Reference
The visibility of the table cells.
*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *The visibility of the table cells.
*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *The visibility of the table cells.
*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *The visibility of the table cells.
*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *The visibility of the table cells.
*/ inline TableCellStyle& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *The visibility of the table cells.
*/ inline TableCellStyle& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} /** *The font configuration of the table cells.
*/ inline const FontConfiguration& GetFontConfiguration() const{ return m_fontConfiguration; } /** *The font configuration of the table cells.
*/ inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; } /** *The font configuration of the table cells.
*/ inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; } /** *The font configuration of the table cells.
*/ inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); } /** *The font configuration of the table cells.
*/ inline TableCellStyle& WithFontConfiguration(const FontConfiguration& value) { SetFontConfiguration(value); return *this;} /** *The font configuration of the table cells.
*/ inline TableCellStyle& WithFontConfiguration(FontConfiguration&& value) { SetFontConfiguration(std::move(value)); return *this;} /** *The text wrap (none, wrap) for the table cells.
*/ inline const TextWrap& GetTextWrap() const{ return m_textWrap; } /** *The text wrap (none, wrap) for the table cells.
*/ inline bool TextWrapHasBeenSet() const { return m_textWrapHasBeenSet; } /** *The text wrap (none, wrap) for the table cells.
*/ inline void SetTextWrap(const TextWrap& value) { m_textWrapHasBeenSet = true; m_textWrap = value; } /** *The text wrap (none, wrap) for the table cells.
*/ inline void SetTextWrap(TextWrap&& value) { m_textWrapHasBeenSet = true; m_textWrap = std::move(value); } /** *The text wrap (none, wrap) for the table cells.
*/ inline TableCellStyle& WithTextWrap(const TextWrap& value) { SetTextWrap(value); return *this;} /** *The text wrap (none, wrap) for the table cells.
*/ inline TableCellStyle& WithTextWrap(TextWrap&& value) { SetTextWrap(std::move(value)); return *this;} /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline const HorizontalTextAlignment& GetHorizontalTextAlignment() const{ return m_horizontalTextAlignment; } /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline bool HorizontalTextAlignmentHasBeenSet() const { return m_horizontalTextAlignmentHasBeenSet; } /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline void SetHorizontalTextAlignment(const HorizontalTextAlignment& value) { m_horizontalTextAlignmentHasBeenSet = true; m_horizontalTextAlignment = value; } /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline void SetHorizontalTextAlignment(HorizontalTextAlignment&& value) { m_horizontalTextAlignmentHasBeenSet = true; m_horizontalTextAlignment = std::move(value); } /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline TableCellStyle& WithHorizontalTextAlignment(const HorizontalTextAlignment& value) { SetHorizontalTextAlignment(value); return *this;} /** *The horizontal text alignment (left, center, right, auto) for the table * cells.
*/ inline TableCellStyle& WithHorizontalTextAlignment(HorizontalTextAlignment&& value) { SetHorizontalTextAlignment(std::move(value)); return *this;} /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline const VerticalTextAlignment& GetVerticalTextAlignment() const{ return m_verticalTextAlignment; } /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline bool VerticalTextAlignmentHasBeenSet() const { return m_verticalTextAlignmentHasBeenSet; } /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline void SetVerticalTextAlignment(const VerticalTextAlignment& value) { m_verticalTextAlignmentHasBeenSet = true; m_verticalTextAlignment = value; } /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline void SetVerticalTextAlignment(VerticalTextAlignment&& value) { m_verticalTextAlignmentHasBeenSet = true; m_verticalTextAlignment = std::move(value); } /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline TableCellStyle& WithVerticalTextAlignment(const VerticalTextAlignment& value) { SetVerticalTextAlignment(value); return *this;} /** *The vertical text alignment (top, middle, bottom) for the table cells.
*/ inline TableCellStyle& WithVerticalTextAlignment(VerticalTextAlignment&& value) { SetVerticalTextAlignment(std::move(value)); return *this;} /** *The background color for the table cells.
*/ inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; } /** *The background color for the table cells.
*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *The background color for the table cells.
*/ inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *The background color for the table cells.
*/ inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *The background color for the table cells.
*/ inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); } /** *The background color for the table cells.
*/ inline TableCellStyle& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;} /** *The background color for the table cells.
*/ inline TableCellStyle& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *The background color for the table cells.
*/ inline TableCellStyle& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;} /** *The height color for the table cells.
*/ inline int GetHeight() const{ return m_height; } /** *The height color for the table cells.
*/ inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; } /** *The height color for the table cells.
*/ inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; } /** *The height color for the table cells.
*/ inline TableCellStyle& WithHeight(int value) { SetHeight(value); return *this;} /** *The borders for the table cells.
*/ inline const GlobalTableBorderOptions& GetBorder() const{ return m_border; } /** *The borders for the table cells.
*/ inline bool BorderHasBeenSet() const { return m_borderHasBeenSet; } /** *The borders for the table cells.
*/ inline void SetBorder(const GlobalTableBorderOptions& value) { m_borderHasBeenSet = true; m_border = value; } /** *The borders for the table cells.
*/ inline void SetBorder(GlobalTableBorderOptions&& value) { m_borderHasBeenSet = true; m_border = std::move(value); } /** *The borders for the table cells.
*/ inline TableCellStyle& WithBorder(const GlobalTableBorderOptions& value) { SetBorder(value); return *this;} /** *The borders for the table cells.
*/ inline TableCellStyle& WithBorder(GlobalTableBorderOptions&& value) { SetBorder(std::move(value)); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; FontConfiguration m_fontConfiguration; bool m_fontConfigurationHasBeenSet = false; TextWrap m_textWrap; bool m_textWrapHasBeenSet = false; HorizontalTextAlignment m_horizontalTextAlignment; bool m_horizontalTextAlignmentHasBeenSet = false; VerticalTextAlignment m_verticalTextAlignment; bool m_verticalTextAlignmentHasBeenSet = false; Aws::String m_backgroundColor; bool m_backgroundColorHasBeenSet = false; int m_height; bool m_heightHasBeenSet = false; GlobalTableBorderOptions m_border; bool m_borderHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws