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

The column schema.

See Also:

AWS * API Reference

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The name of the column schema.

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

The data type of the column schema.

*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *

The data type of the column schema.

*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *

The data type of the column schema.

*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *

The data type of the column schema.

*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *

The data type of the column schema.

*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *

The data type of the column schema.

*/ inline ColumnSchema& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *

The data type of the column schema.

*/ inline ColumnSchema& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *

The data type of the column schema.

*/ inline ColumnSchema& WithDataType(const char* value) { SetDataType(value); return *this;} /** *

The geographic role of the column schema.

*/ inline const Aws::String& GetGeographicRole() const{ return m_geographicRole; } /** *

The geographic role of the column schema.

*/ inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; } /** *

The geographic role of the column schema.

*/ inline void SetGeographicRole(const Aws::String& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = value; } /** *

The geographic role of the column schema.

*/ inline void SetGeographicRole(Aws::String&& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = std::move(value); } /** *

The geographic role of the column schema.

*/ inline void SetGeographicRole(const char* value) { m_geographicRoleHasBeenSet = true; m_geographicRole.assign(value); } /** *

The geographic role of the column schema.

*/ inline ColumnSchema& WithGeographicRole(const Aws::String& value) { SetGeographicRole(value); return *this;} /** *

The geographic role of the column schema.

*/ inline ColumnSchema& WithGeographicRole(Aws::String&& value) { SetGeographicRole(std::move(value)); return *this;} /** *

The geographic role of the column schema.

*/ inline ColumnSchema& WithGeographicRole(const char* value) { SetGeographicRole(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_geographicRole; bool m_geographicRoleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws