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

A structure that represents the cell value synonym.

See Also:

* AWS * API Reference

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

The cell value.

*/ inline const Aws::String& GetCellValue() const{ return m_cellValue; } /** *

The cell value.

*/ inline bool CellValueHasBeenSet() const { return m_cellValueHasBeenSet; } /** *

The cell value.

*/ inline void SetCellValue(const Aws::String& value) { m_cellValueHasBeenSet = true; m_cellValue = value; } /** *

The cell value.

*/ inline void SetCellValue(Aws::String&& value) { m_cellValueHasBeenSet = true; m_cellValue = std::move(value); } /** *

The cell value.

*/ inline void SetCellValue(const char* value) { m_cellValueHasBeenSet = true; m_cellValue.assign(value); } /** *

The cell value.

*/ inline CellValueSynonym& WithCellValue(const Aws::String& value) { SetCellValue(value); return *this;} /** *

The cell value.

*/ inline CellValueSynonym& WithCellValue(Aws::String&& value) { SetCellValue(std::move(value)); return *this;} /** *

The cell value.

*/ inline CellValueSynonym& WithCellValue(const char* value) { SetCellValue(value); return *this;} /** *

Other names or aliases for the cell value.

*/ inline const Aws::Vector& GetSynonyms() const{ return m_synonyms; } /** *

Other names or aliases for the cell value.

*/ inline bool SynonymsHasBeenSet() const { return m_synonymsHasBeenSet; } /** *

Other names or aliases for the cell value.

*/ inline void SetSynonyms(const Aws::Vector& value) { m_synonymsHasBeenSet = true; m_synonyms = value; } /** *

Other names or aliases for the cell value.

*/ inline void SetSynonyms(Aws::Vector&& value) { m_synonymsHasBeenSet = true; m_synonyms = std::move(value); } /** *

Other names or aliases for the cell value.

*/ inline CellValueSynonym& WithSynonyms(const Aws::Vector& value) { SetSynonyms(value); return *this;} /** *

Other names or aliases for the cell value.

*/ inline CellValueSynonym& WithSynonyms(Aws::Vector&& value) { SetSynonyms(std::move(value)); return *this;} /** *

Other names or aliases for the cell value.

*/ inline CellValueSynonym& AddSynonyms(const Aws::String& value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(value); return *this; } /** *

Other names or aliases for the cell value.

*/ inline CellValueSynonym& AddSynonyms(Aws::String&& value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(std::move(value)); return *this; } /** *

Other names or aliases for the cell value.

*/ inline CellValueSynonym& AddSynonyms(const char* value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(value); return *this; } private: Aws::String m_cellValue; bool m_cellValueHasBeenSet = false; Aws::Vector m_synonyms; bool m_synonymsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws