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

The column group schema.

See Also:

AWS * API Reference

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

The name of the column group schema.

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

A structure containing the list of schemas for column group columns.

*/ inline const Aws::Vector& GetColumnGroupColumnSchemaList() const{ return m_columnGroupColumnSchemaList; } /** *

A structure containing the list of schemas for column group columns.

*/ inline bool ColumnGroupColumnSchemaListHasBeenSet() const { return m_columnGroupColumnSchemaListHasBeenSet; } /** *

A structure containing the list of schemas for column group columns.

*/ inline void SetColumnGroupColumnSchemaList(const Aws::Vector& value) { m_columnGroupColumnSchemaListHasBeenSet = true; m_columnGroupColumnSchemaList = value; } /** *

A structure containing the list of schemas for column group columns.

*/ inline void SetColumnGroupColumnSchemaList(Aws::Vector&& value) { m_columnGroupColumnSchemaListHasBeenSet = true; m_columnGroupColumnSchemaList = std::move(value); } /** *

A structure containing the list of schemas for column group columns.

*/ inline ColumnGroupSchema& WithColumnGroupColumnSchemaList(const Aws::Vector& value) { SetColumnGroupColumnSchemaList(value); return *this;} /** *

A structure containing the list of schemas for column group columns.

*/ inline ColumnGroupSchema& WithColumnGroupColumnSchemaList(Aws::Vector&& value) { SetColumnGroupColumnSchemaList(std::move(value)); return *this;} /** *

A structure containing the list of schemas for column group columns.

*/ inline ColumnGroupSchema& AddColumnGroupColumnSchemaList(const ColumnGroupColumnSchema& value) { m_columnGroupColumnSchemaListHasBeenSet = true; m_columnGroupColumnSchemaList.push_back(value); return *this; } /** *

A structure containing the list of schemas for column group columns.

*/ inline ColumnGroupSchema& AddColumnGroupColumnSchemaList(ColumnGroupColumnSchema&& value) { m_columnGroupColumnSchemaListHasBeenSet = true; m_columnGroupColumnSchemaList.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_columnGroupColumnSchemaList; bool m_columnGroupColumnSchemaListHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws