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

The limit configuration of the visual display for an axis.

See * Also:

AWS * API Reference

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

The limit on how many items of a field are showed in the chart. For example, * the number of slices that are displayed in a pie chart.

*/ inline long long GetItemsLimit() const{ return m_itemsLimit; } /** *

The limit on how many items of a field are showed in the chart. For example, * the number of slices that are displayed in a pie chart.

*/ inline bool ItemsLimitHasBeenSet() const { return m_itemsLimitHasBeenSet; } /** *

The limit on how many items of a field are showed in the chart. For example, * the number of slices that are displayed in a pie chart.

*/ inline void SetItemsLimit(long long value) { m_itemsLimitHasBeenSet = true; m_itemsLimit = value; } /** *

The limit on how many items of a field are showed in the chart. For example, * the number of slices that are displayed in a pie chart.

*/ inline ItemsLimitConfiguration& WithItemsLimit(long long value) { SetItemsLimit(value); return *this;} /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline const OtherCategories& GetOtherCategories() const{ return m_otherCategories; } /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline bool OtherCategoriesHasBeenSet() const { return m_otherCategoriesHasBeenSet; } /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline void SetOtherCategories(const OtherCategories& value) { m_otherCategoriesHasBeenSet = true; m_otherCategories = value; } /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline void SetOtherCategories(OtherCategories&& value) { m_otherCategoriesHasBeenSet = true; m_otherCategories = std::move(value); } /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline ItemsLimitConfiguration& WithOtherCategories(const OtherCategories& value) { SetOtherCategories(value); return *this;} /** *

The Show other of an axis in the chart. Choose one of the * following options:

  • INCLUDE

  • * EXCLUDE

*/ inline ItemsLimitConfiguration& WithOtherCategories(OtherCategories&& value) { SetOtherCategories(std::move(value)); return *this;} private: long long m_itemsLimit; bool m_itemsLimitHasBeenSet = false; OtherCategories m_otherCategories; bool m_otherCategoriesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws