/** * 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 data path options for the pivot table field options.

See * Also:

AWS * API Reference

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

The list of data path values for the data path options.

*/ inline const Aws::Vector& GetDataPathList() const{ return m_dataPathList; } /** *

The list of data path values for the data path options.

*/ inline bool DataPathListHasBeenSet() const { return m_dataPathListHasBeenSet; } /** *

The list of data path values for the data path options.

*/ inline void SetDataPathList(const Aws::Vector& value) { m_dataPathListHasBeenSet = true; m_dataPathList = value; } /** *

The list of data path values for the data path options.

*/ inline void SetDataPathList(Aws::Vector&& value) { m_dataPathListHasBeenSet = true; m_dataPathList = std::move(value); } /** *

The list of data path values for the data path options.

*/ inline PivotTableDataPathOption& WithDataPathList(const Aws::Vector& value) { SetDataPathList(value); return *this;} /** *

The list of data path values for the data path options.

*/ inline PivotTableDataPathOption& WithDataPathList(Aws::Vector&& value) { SetDataPathList(std::move(value)); return *this;} /** *

The list of data path values for the data path options.

*/ inline PivotTableDataPathOption& AddDataPathList(const DataPathValue& value) { m_dataPathListHasBeenSet = true; m_dataPathList.push_back(value); return *this; } /** *

The list of data path values for the data path options.

*/ inline PivotTableDataPathOption& AddDataPathList(DataPathValue&& value) { m_dataPathListHasBeenSet = true; m_dataPathList.push_back(std::move(value)); return *this; } /** *

The width of the data path option.

*/ inline const Aws::String& GetWidth() const{ return m_width; } /** *

The width of the data path option.

*/ inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } /** *

The width of the data path option.

*/ inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; } /** *

The width of the data path option.

*/ inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); } /** *

The width of the data path option.

*/ inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); } /** *

The width of the data path option.

*/ inline PivotTableDataPathOption& WithWidth(const Aws::String& value) { SetWidth(value); return *this;} /** *

The width of the data path option.

*/ inline PivotTableDataPathOption& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;} /** *

The width of the data path option.

*/ inline PivotTableDataPathOption& WithWidth(const char* value) { SetWidth(value); return *this;} private: Aws::Vector m_dataPathList; bool m_dataPathListHasBeenSet = false; Aws::String m_width; bool m_widthHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws