/** * 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 display options of a control.

See Also:

AWS * API Reference

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

The configuration of the search options in a list control.

*/ inline const ListControlSearchOptions& GetSearchOptions() const{ return m_searchOptions; } /** *

The configuration of the search options in a list control.

*/ inline bool SearchOptionsHasBeenSet() const { return m_searchOptionsHasBeenSet; } /** *

The configuration of the search options in a list control.

*/ inline void SetSearchOptions(const ListControlSearchOptions& value) { m_searchOptionsHasBeenSet = true; m_searchOptions = value; } /** *

The configuration of the search options in a list control.

*/ inline void SetSearchOptions(ListControlSearchOptions&& value) { m_searchOptionsHasBeenSet = true; m_searchOptions = std::move(value); } /** *

The configuration of the search options in a list control.

*/ inline ListControlDisplayOptions& WithSearchOptions(const ListControlSearchOptions& value) { SetSearchOptions(value); return *this;} /** *

The configuration of the search options in a list control.

*/ inline ListControlDisplayOptions& WithSearchOptions(ListControlSearchOptions&& value) { SetSearchOptions(std::move(value)); return *this;} /** *

The configuration of the Select all options in a list * control.

*/ inline const ListControlSelectAllOptions& GetSelectAllOptions() const{ return m_selectAllOptions; } /** *

The configuration of the Select all options in a list * control.

*/ inline bool SelectAllOptionsHasBeenSet() const { return m_selectAllOptionsHasBeenSet; } /** *

The configuration of the Select all options in a list * control.

*/ inline void SetSelectAllOptions(const ListControlSelectAllOptions& value) { m_selectAllOptionsHasBeenSet = true; m_selectAllOptions = value; } /** *

The configuration of the Select all options in a list * control.

*/ inline void SetSelectAllOptions(ListControlSelectAllOptions&& value) { m_selectAllOptionsHasBeenSet = true; m_selectAllOptions = std::move(value); } /** *

The configuration of the Select all options in a list * control.

*/ inline ListControlDisplayOptions& WithSelectAllOptions(const ListControlSelectAllOptions& value) { SetSelectAllOptions(value); return *this;} /** *

The configuration of the Select all options in a list * control.

*/ inline ListControlDisplayOptions& WithSelectAllOptions(ListControlSelectAllOptions&& value) { SetSelectAllOptions(std::move(value)); return *this;} /** *

The options to configure the title visibility, name, and font size.

*/ inline const LabelOptions& GetTitleOptions() const{ return m_titleOptions; } /** *

The options to configure the title visibility, name, and font size.

*/ inline bool TitleOptionsHasBeenSet() const { return m_titleOptionsHasBeenSet; } /** *

The options to configure the title visibility, name, and font size.

*/ inline void SetTitleOptions(const LabelOptions& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = value; } /** *

The options to configure the title visibility, name, and font size.

*/ inline void SetTitleOptions(LabelOptions&& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = std::move(value); } /** *

The options to configure the title visibility, name, and font size.

*/ inline ListControlDisplayOptions& WithTitleOptions(const LabelOptions& value) { SetTitleOptions(value); return *this;} /** *

The options to configure the title visibility, name, and font size.

*/ inline ListControlDisplayOptions& WithTitleOptions(LabelOptions&& value) { SetTitleOptions(std::move(value)); return *this;} /** *

The configuration of info icon label options.

*/ inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const{ return m_infoIconLabelOptions; } /** *

The configuration of info icon label options.

*/ inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; } /** *

The configuration of info icon label options.

*/ inline void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = value; } /** *

The configuration of info icon label options.

*/ inline void SetInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = std::move(value); } /** *

The configuration of info icon label options.

*/ inline ListControlDisplayOptions& WithInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { SetInfoIconLabelOptions(value); return *this;} /** *

The configuration of info icon label options.

*/ inline ListControlDisplayOptions& WithInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { SetInfoIconLabelOptions(std::move(value)); return *this;} private: ListControlSearchOptions m_searchOptions; bool m_searchOptionsHasBeenSet = false; ListControlSelectAllOptions m_selectAllOptions; bool m_selectAllOptionsHasBeenSet = false; LabelOptions m_titleOptions; bool m_titleOptionsHasBeenSet = false; SheetControlInfoIconLabelOptions m_infoIconLabelOptions; bool m_infoIconLabelOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws