/** * 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 aggregated field wells for a geospatial map.

See Also:

* AWS * API Reference

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

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline const Aws::Vector& GetGeospatial() const{ return m_geospatial; } /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline bool GeospatialHasBeenSet() const { return m_geospatialHasBeenSet; } /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline void SetGeospatial(const Aws::Vector& value) { m_geospatialHasBeenSet = true; m_geospatial = value; } /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline void SetGeospatial(Aws::Vector&& value) { m_geospatialHasBeenSet = true; m_geospatial = std::move(value); } /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& WithGeospatial(const Aws::Vector& value) { SetGeospatial(value); return *this;} /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& WithGeospatial(Aws::Vector&& value) { SetGeospatial(std::move(value)); return *this;} /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& AddGeospatial(const DimensionField& value) { m_geospatialHasBeenSet = true; m_geospatial.push_back(value); return *this; } /** *

The geospatial field wells of a geospatial map. Values are grouped by * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& AddGeospatial(DimensionField&& value) { m_geospatialHasBeenSet = true; m_geospatial.push_back(std::move(value)); return *this; } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The size field wells of a geospatial map. Values are aggregated based on * geospatial fields.

*/ inline GeospatialMapAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

The color field wells of a geospatial map.

*/ inline const Aws::Vector& GetColors() const{ return m_colors; } /** *

The color field wells of a geospatial map.

*/ inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; } /** *

The color field wells of a geospatial map.

*/ inline void SetColors(const Aws::Vector& value) { m_colorsHasBeenSet = true; m_colors = value; } /** *

The color field wells of a geospatial map.

*/ inline void SetColors(Aws::Vector&& value) { m_colorsHasBeenSet = true; m_colors = std::move(value); } /** *

The color field wells of a geospatial map.

*/ inline GeospatialMapAggregatedFieldWells& WithColors(const Aws::Vector& value) { SetColors(value); return *this;} /** *

The color field wells of a geospatial map.

*/ inline GeospatialMapAggregatedFieldWells& WithColors(Aws::Vector&& value) { SetColors(std::move(value)); return *this;} /** *

The color field wells of a geospatial map.

*/ inline GeospatialMapAggregatedFieldWells& AddColors(const DimensionField& value) { m_colorsHasBeenSet = true; m_colors.push_back(value); return *this; } /** *

The color field wells of a geospatial map.

*/ inline GeospatialMapAggregatedFieldWells& AddColors(DimensionField&& value) { m_colorsHasBeenSet = true; m_colors.push_back(std::move(value)); return *this; } private: Aws::Vector m_geospatial; bool m_geospatialHasBeenSet = false; Aws::Vector m_values; bool m_valuesHasBeenSet = false; Aws::Vector m_colors; bool m_colorsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws