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

A FieldFolder element is a folder that contains fields and nested * subfolders.

See Also:

AWS * API Reference

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

The description for a field folder.

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

A folder has a list of columns. A column can only be in one folder.

*/ inline const Aws::Vector& GetColumns() const{ return m_columns; } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline void SetColumns(const Aws::Vector& value) { m_columnsHasBeenSet = true; m_columns = value; } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline void SetColumns(Aws::Vector&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline FieldFolder& WithColumns(const Aws::Vector& value) { SetColumns(value); return *this;} /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline FieldFolder& WithColumns(Aws::Vector&& value) { SetColumns(std::move(value)); return *this;} /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline FieldFolder& AddColumns(const Aws::String& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline FieldFolder& AddColumns(Aws::String&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; } /** *

A folder has a list of columns. A column can only be in one folder.

*/ inline FieldFolder& AddColumns(const char* value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_columns; bool m_columnsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws