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

Geospatial column group that denotes a hierarchy.

See Also:

* AWS * API Reference

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

A display name for the hierarchy.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A display name for the hierarchy.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A display name for the hierarchy.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A display name for the hierarchy.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A display name for the hierarchy.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A display name for the hierarchy.

*/ inline GeoSpatialColumnGroup& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A display name for the hierarchy.

*/ inline GeoSpatialColumnGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A display name for the hierarchy.

*/ inline GeoSpatialColumnGroup& WithName(const char* value) { SetName(value); return *this;} /** *

Country code.

*/ inline const GeoSpatialCountryCode& GetCountryCode() const{ return m_countryCode; } /** *

Country code.

*/ inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } /** *

Country code.

*/ inline void SetCountryCode(const GeoSpatialCountryCode& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } /** *

Country code.

*/ inline void SetCountryCode(GeoSpatialCountryCode&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } /** *

Country code.

*/ inline GeoSpatialColumnGroup& WithCountryCode(const GeoSpatialCountryCode& value) { SetCountryCode(value); return *this;} /** *

Country code.

*/ inline GeoSpatialColumnGroup& WithCountryCode(GeoSpatialCountryCode&& value) { SetCountryCode(std::move(value)); return *this;} /** *

Columns in this hierarchy.

*/ inline const Aws::Vector& GetColumns() const{ return m_columns; } /** *

Columns in this hierarchy.

*/ inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; } /** *

Columns in this hierarchy.

*/ inline void SetColumns(const Aws::Vector& value) { m_columnsHasBeenSet = true; m_columns = value; } /** *

Columns in this hierarchy.

*/ inline void SetColumns(Aws::Vector&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); } /** *

Columns in this hierarchy.

*/ inline GeoSpatialColumnGroup& WithColumns(const Aws::Vector& value) { SetColumns(value); return *this;} /** *

Columns in this hierarchy.

*/ inline GeoSpatialColumnGroup& WithColumns(Aws::Vector&& value) { SetColumns(std::move(value)); return *this;} /** *

Columns in this hierarchy.

*/ inline GeoSpatialColumnGroup& AddColumns(const Aws::String& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } /** *

Columns in this hierarchy.

*/ inline GeoSpatialColumnGroup& AddColumns(Aws::String&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; } /** *

Columns in this hierarchy.

*/ inline GeoSpatialColumnGroup& AddColumns(const char* value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; GeoSpatialCountryCode m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::Vector m_columns; bool m_columnsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws