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

Output column.

See Also:

AWS * API Reference

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A description for a column.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for a column.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for a column.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for a column.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for a column.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for a column.

*/ inline OutputColumn& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for a column.

*/ inline OutputColumn& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for a column.

*/ inline OutputColumn& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The type.

*/ inline const ColumnDataType& GetType() const{ return m_type; } /** *

The type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type.

*/ inline void SetType(const ColumnDataType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type.

*/ inline void SetType(ColumnDataType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type.

*/ inline OutputColumn& WithType(const ColumnDataType& value) { SetType(value); return *this;} /** *

The type.

*/ inline OutputColumn& WithType(ColumnDataType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ColumnDataType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws