/** * 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 { /** *

A collection of options that configure how each panel displays in a small * multiples chart.

See Also:

AWS * API Reference

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

Configures the title display within each small multiples panel.

*/ inline const PanelTitleOptions& GetTitle() const{ return m_title; } /** *

Configures the title display within each small multiples panel.

*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *

Configures the title display within each small multiples panel.

*/ inline void SetTitle(const PanelTitleOptions& value) { m_titleHasBeenSet = true; m_title = value; } /** *

Configures the title display within each small multiples panel.

*/ inline void SetTitle(PanelTitleOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *

Configures the title display within each small multiples panel.

*/ inline PanelConfiguration& WithTitle(const PanelTitleOptions& value) { SetTitle(value); return *this;} /** *

Configures the title display within each small multiples panel.

*/ inline PanelConfiguration& WithTitle(PanelTitleOptions&& value) { SetTitle(std::move(value)); return *this;} /** *

Determines whether or not each panel displays a border.

*/ inline const Visibility& GetBorderVisibility() const{ return m_borderVisibility; } /** *

Determines whether or not each panel displays a border.

*/ inline bool BorderVisibilityHasBeenSet() const { return m_borderVisibilityHasBeenSet; } /** *

Determines whether or not each panel displays a border.

*/ inline void SetBorderVisibility(const Visibility& value) { m_borderVisibilityHasBeenSet = true; m_borderVisibility = value; } /** *

Determines whether or not each panel displays a border.

*/ inline void SetBorderVisibility(Visibility&& value) { m_borderVisibilityHasBeenSet = true; m_borderVisibility = std::move(value); } /** *

Determines whether or not each panel displays a border.

*/ inline PanelConfiguration& WithBorderVisibility(const Visibility& value) { SetBorderVisibility(value); return *this;} /** *

Determines whether or not each panel displays a border.

*/ inline PanelConfiguration& WithBorderVisibility(Visibility&& value) { SetBorderVisibility(std::move(value)); return *this;} /** *

Sets the line thickness of panel borders.

*/ inline const Aws::String& GetBorderThickness() const{ return m_borderThickness; } /** *

Sets the line thickness of panel borders.

*/ inline bool BorderThicknessHasBeenSet() const { return m_borderThicknessHasBeenSet; } /** *

Sets the line thickness of panel borders.

*/ inline void SetBorderThickness(const Aws::String& value) { m_borderThicknessHasBeenSet = true; m_borderThickness = value; } /** *

Sets the line thickness of panel borders.

*/ inline void SetBorderThickness(Aws::String&& value) { m_borderThicknessHasBeenSet = true; m_borderThickness = std::move(value); } /** *

Sets the line thickness of panel borders.

*/ inline void SetBorderThickness(const char* value) { m_borderThicknessHasBeenSet = true; m_borderThickness.assign(value); } /** *

Sets the line thickness of panel borders.

*/ inline PanelConfiguration& WithBorderThickness(const Aws::String& value) { SetBorderThickness(value); return *this;} /** *

Sets the line thickness of panel borders.

*/ inline PanelConfiguration& WithBorderThickness(Aws::String&& value) { SetBorderThickness(std::move(value)); return *this;} /** *

Sets the line thickness of panel borders.

*/ inline PanelConfiguration& WithBorderThickness(const char* value) { SetBorderThickness(value); return *this;} /** *

Sets the line style of panel borders.

*/ inline const PanelBorderStyle& GetBorderStyle() const{ return m_borderStyle; } /** *

Sets the line style of panel borders.

*/ inline bool BorderStyleHasBeenSet() const { return m_borderStyleHasBeenSet; } /** *

Sets the line style of panel borders.

*/ inline void SetBorderStyle(const PanelBorderStyle& value) { m_borderStyleHasBeenSet = true; m_borderStyle = value; } /** *

Sets the line style of panel borders.

*/ inline void SetBorderStyle(PanelBorderStyle&& value) { m_borderStyleHasBeenSet = true; m_borderStyle = std::move(value); } /** *

Sets the line style of panel borders.

*/ inline PanelConfiguration& WithBorderStyle(const PanelBorderStyle& value) { SetBorderStyle(value); return *this;} /** *

Sets the line style of panel borders.

*/ inline PanelConfiguration& WithBorderStyle(PanelBorderStyle&& value) { SetBorderStyle(std::move(value)); return *this;} /** *

Sets the line color of panel borders.

*/ inline const Aws::String& GetBorderColor() const{ return m_borderColor; } /** *

Sets the line color of panel borders.

*/ inline bool BorderColorHasBeenSet() const { return m_borderColorHasBeenSet; } /** *

Sets the line color of panel borders.

*/ inline void SetBorderColor(const Aws::String& value) { m_borderColorHasBeenSet = true; m_borderColor = value; } /** *

Sets the line color of panel borders.

*/ inline void SetBorderColor(Aws::String&& value) { m_borderColorHasBeenSet = true; m_borderColor = std::move(value); } /** *

Sets the line color of panel borders.

*/ inline void SetBorderColor(const char* value) { m_borderColorHasBeenSet = true; m_borderColor.assign(value); } /** *

Sets the line color of panel borders.

*/ inline PanelConfiguration& WithBorderColor(const Aws::String& value) { SetBorderColor(value); return *this;} /** *

Sets the line color of panel borders.

*/ inline PanelConfiguration& WithBorderColor(Aws::String&& value) { SetBorderColor(std::move(value)); return *this;} /** *

Sets the line color of panel borders.

*/ inline PanelConfiguration& WithBorderColor(const char* value) { SetBorderColor(value); return *this;} /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline const Visibility& GetGutterVisibility() const{ return m_gutterVisibility; } /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline bool GutterVisibilityHasBeenSet() const { return m_gutterVisibilityHasBeenSet; } /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline void SetGutterVisibility(const Visibility& value) { m_gutterVisibilityHasBeenSet = true; m_gutterVisibility = value; } /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline void SetGutterVisibility(Visibility&& value) { m_gutterVisibilityHasBeenSet = true; m_gutterVisibility = std::move(value); } /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline PanelConfiguration& WithGutterVisibility(const Visibility& value) { SetGutterVisibility(value); return *this;} /** *

Determines whether or not negative space between sibling panels is * rendered.

*/ inline PanelConfiguration& WithGutterVisibility(Visibility&& value) { SetGutterVisibility(std::move(value)); return *this;} /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline const Aws::String& GetGutterSpacing() const{ return m_gutterSpacing; } /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline bool GutterSpacingHasBeenSet() const { return m_gutterSpacingHasBeenSet; } /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline void SetGutterSpacing(const Aws::String& value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing = value; } /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline void SetGutterSpacing(Aws::String&& value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing = std::move(value); } /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline void SetGutterSpacing(const char* value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing.assign(value); } /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline PanelConfiguration& WithGutterSpacing(const Aws::String& value) { SetGutterSpacing(value); return *this;} /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline PanelConfiguration& WithGutterSpacing(Aws::String&& value) { SetGutterSpacing(std::move(value)); return *this;} /** *

Sets the total amount of negative space to display between sibling * panels.

*/ inline PanelConfiguration& WithGutterSpacing(const char* value) { SetGutterSpacing(value); return *this;} /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline const Visibility& GetBackgroundVisibility() const{ return m_backgroundVisibility; } /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline bool BackgroundVisibilityHasBeenSet() const { return m_backgroundVisibilityHasBeenSet; } /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline void SetBackgroundVisibility(const Visibility& value) { m_backgroundVisibilityHasBeenSet = true; m_backgroundVisibility = value; } /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline void SetBackgroundVisibility(Visibility&& value) { m_backgroundVisibilityHasBeenSet = true; m_backgroundVisibility = std::move(value); } /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline PanelConfiguration& WithBackgroundVisibility(const Visibility& value) { SetBackgroundVisibility(value); return *this;} /** *

Determines whether or not a background for each small multiples panel is * rendered.

*/ inline PanelConfiguration& WithBackgroundVisibility(Visibility&& value) { SetBackgroundVisibility(std::move(value)); return *this;} /** *

Sets the background color for each panel.

*/ inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; } /** *

Sets the background color for each panel.

*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *

Sets the background color for each panel.

*/ inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *

Sets the background color for each panel.

*/ inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *

Sets the background color for each panel.

*/ inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); } /** *

Sets the background color for each panel.

*/ inline PanelConfiguration& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;} /** *

Sets the background color for each panel.

*/ inline PanelConfiguration& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *

Sets the background color for each panel.

*/ inline PanelConfiguration& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;} private: PanelTitleOptions m_title; bool m_titleHasBeenSet = false; Visibility m_borderVisibility; bool m_borderVisibilityHasBeenSet = false; Aws::String m_borderThickness; bool m_borderThicknessHasBeenSet = false; PanelBorderStyle m_borderStyle; bool m_borderStyleHasBeenSet = false; Aws::String m_borderColor; bool m_borderColorHasBeenSet = false; Visibility m_gutterVisibility; bool m_gutterVisibilityHasBeenSet = false; Aws::String m_gutterSpacing; bool m_gutterSpacingHasBeenSet = false; Visibility m_backgroundVisibility; bool m_backgroundVisibilityHasBeenSet = false; Aws::String m_backgroundColor; bool m_backgroundColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws