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

The border options for a table border.

See Also:

AWS * API Reference

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

The color of a table border.

*/ inline const Aws::String& GetColor() const{ return m_color; } /** *

The color of a table border.

*/ inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; } /** *

The color of a table border.

*/ inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; } /** *

The color of a table border.

*/ inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); } /** *

The color of a table border.

*/ inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); } /** *

The color of a table border.

*/ inline TableBorderOptions& WithColor(const Aws::String& value) { SetColor(value); return *this;} /** *

The color of a table border.

*/ inline TableBorderOptions& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;} /** *

The color of a table border.

*/ inline TableBorderOptions& WithColor(const char* value) { SetColor(value); return *this;} /** *

The thickness of a table border.

*/ inline int GetThickness() const{ return m_thickness; } /** *

The thickness of a table border.

*/ inline bool ThicknessHasBeenSet() const { return m_thicknessHasBeenSet; } /** *

The thickness of a table border.

*/ inline void SetThickness(int value) { m_thicknessHasBeenSet = true; m_thickness = value; } /** *

The thickness of a table border.

*/ inline TableBorderOptions& WithThickness(int value) { SetThickness(value); return *this;} /** *

The style (none, solid) of a table border.

*/ inline const TableBorderStyle& GetStyle() const{ return m_style; } /** *

The style (none, solid) of a table border.

*/ inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; } /** *

The style (none, solid) of a table border.

*/ inline void SetStyle(const TableBorderStyle& value) { m_styleHasBeenSet = true; m_style = value; } /** *

The style (none, solid) of a table border.

*/ inline void SetStyle(TableBorderStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); } /** *

The style (none, solid) of a table border.

*/ inline TableBorderOptions& WithStyle(const TableBorderStyle& value) { SetStyle(value); return *this;} /** *

The style (none, solid) of a table border.

*/ inline TableBorderOptions& WithStyle(TableBorderStyle&& value) { SetStyle(std::move(value)); return *this;} private: Aws::String m_color; bool m_colorHasBeenSet = false; int m_thickness; bool m_thicknessHasBeenSet = false; TableBorderStyle m_style; bool m_styleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws