/** * 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 AWS_QUICKSIGHT_API OutputColumn { public: OutputColumn(); OutputColumn(Aws::Utils::Json::JsonView jsonValue); OutputColumn& operator=(Aws::Utils::Json::JsonView jsonValue); 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;} /** *

Type.

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

Type.

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

Type.

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

Type.

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

Type.

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

Type.

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