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

A column of a data set.

See Also:

AWS * API Reference

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

The data set that the column belongs to.

*/ inline const Aws::String& GetDataSetIdentifier() const{ return m_dataSetIdentifier; } /** *

The data set that the column belongs to.

*/ inline bool DataSetIdentifierHasBeenSet() const { return m_dataSetIdentifierHasBeenSet; } /** *

The data set that the column belongs to.

*/ inline void SetDataSetIdentifier(const Aws::String& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = value; } /** *

The data set that the column belongs to.

*/ inline void SetDataSetIdentifier(Aws::String&& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = std::move(value); } /** *

The data set that the column belongs to.

*/ inline void SetDataSetIdentifier(const char* value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier.assign(value); } /** *

The data set that the column belongs to.

*/ inline ColumnIdentifier& WithDataSetIdentifier(const Aws::String& value) { SetDataSetIdentifier(value); return *this;} /** *

The data set that the column belongs to.

*/ inline ColumnIdentifier& WithDataSetIdentifier(Aws::String&& value) { SetDataSetIdentifier(std::move(value)); return *this;} /** *

The data set that the column belongs to.

*/ inline ColumnIdentifier& WithDataSetIdentifier(const char* value) { SetDataSetIdentifier(value); return *this;} /** *

The name of the column.

*/ inline const Aws::String& GetColumnName() const{ return m_columnName; } /** *

The name of the column.

*/ inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } /** *

The name of the column.

*/ inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } /** *

The name of the column.

*/ inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } /** *

The name of the column.

*/ inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } /** *

The name of the column.

*/ inline ColumnIdentifier& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} /** *

The name of the column.

*/ inline ColumnIdentifier& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} /** *

The name of the column.

*/ inline ColumnIdentifier& WithColumnName(const char* value) { SetColumnName(value); return *this;} private: Aws::String m_dataSetIdentifier; bool m_dataSetIdentifierHasBeenSet = false; Aws::String m_columnName; bool m_columnNameHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws