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

The configuration of a KPI visual.

See Also:

AWS * API Reference

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

The field well configuration of a KPI visual.

*/ inline const KPIFieldWells& GetFieldWells() const{ return m_fieldWells; } /** *

The field well configuration of a KPI visual.

*/ inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; } /** *

The field well configuration of a KPI visual.

*/ inline void SetFieldWells(const KPIFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; } /** *

The field well configuration of a KPI visual.

*/ inline void SetFieldWells(KPIFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); } /** *

The field well configuration of a KPI visual.

*/ inline KPIConfiguration& WithFieldWells(const KPIFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field well configuration of a KPI visual.

*/ inline KPIConfiguration& WithFieldWells(KPIFieldWells&& value) { SetFieldWells(std::move(value)); return *this;} /** *

The sort configuration of a KPI visual.

*/ inline const KPISortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; } /** *

The sort configuration of a KPI visual.

*/ inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; } /** *

The sort configuration of a KPI visual.

*/ inline void SetSortConfiguration(const KPISortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; } /** *

The sort configuration of a KPI visual.

*/ inline void SetSortConfiguration(KPISortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); } /** *

The sort configuration of a KPI visual.

*/ inline KPIConfiguration& WithSortConfiguration(const KPISortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration of a KPI visual.

*/ inline KPIConfiguration& WithSortConfiguration(KPISortConfiguration&& value) { SetSortConfiguration(std::move(value)); return *this;} /** *

The options that determine the presentation of a KPI visual.

*/ inline const KPIOptions& GetKPIOptions() const{ return m_kPIOptions; } /** *

The options that determine the presentation of a KPI visual.

*/ inline bool KPIOptionsHasBeenSet() const { return m_kPIOptionsHasBeenSet; } /** *

The options that determine the presentation of a KPI visual.

*/ inline void SetKPIOptions(const KPIOptions& value) { m_kPIOptionsHasBeenSet = true; m_kPIOptions = value; } /** *

The options that determine the presentation of a KPI visual.

*/ inline void SetKPIOptions(KPIOptions&& value) { m_kPIOptionsHasBeenSet = true; m_kPIOptions = std::move(value); } /** *

The options that determine the presentation of a KPI visual.

*/ inline KPIConfiguration& WithKPIOptions(const KPIOptions& value) { SetKPIOptions(value); return *this;} /** *

The options that determine the presentation of a KPI visual.

*/ inline KPIConfiguration& WithKPIOptions(KPIOptions&& value) { SetKPIOptions(std::move(value)); return *this;} private: KPIFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; KPISortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; KPIOptions m_kPIOptions; bool m_kPIOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws