/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The sort configuration of a sankey diagram.See Also:
AWS
* API Reference
The sort configuration of the weight fields.
*/ inline const Aws::VectorThe sort configuration of the weight fields.
*/ inline bool WeightSortHasBeenSet() const { return m_weightSortHasBeenSet; } /** *The sort configuration of the weight fields.
*/ inline void SetWeightSort(const Aws::VectorThe sort configuration of the weight fields.
*/ inline void SetWeightSort(Aws::VectorThe sort configuration of the weight fields.
*/ inline SankeyDiagramSortConfiguration& WithWeightSort(const Aws::VectorThe sort configuration of the weight fields.
*/ inline SankeyDiagramSortConfiguration& WithWeightSort(Aws::VectorThe sort configuration of the weight fields.
*/ inline SankeyDiagramSortConfiguration& AddWeightSort(const FieldSortOptions& value) { m_weightSortHasBeenSet = true; m_weightSort.push_back(value); return *this; } /** *The sort configuration of the weight fields.
*/ inline SankeyDiagramSortConfiguration& AddWeightSort(FieldSortOptions&& value) { m_weightSortHasBeenSet = true; m_weightSort.push_back(std::move(value)); return *this; } /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline const ItemsLimitConfiguration& GetSourceItemsLimit() const{ return m_sourceItemsLimit; } /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline bool SourceItemsLimitHasBeenSet() const { return m_sourceItemsLimitHasBeenSet; } /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline void SetSourceItemsLimit(const ItemsLimitConfiguration& value) { m_sourceItemsLimitHasBeenSet = true; m_sourceItemsLimit = value; } /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline void SetSourceItemsLimit(ItemsLimitConfiguration&& value) { m_sourceItemsLimitHasBeenSet = true; m_sourceItemsLimit = std::move(value); } /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline SankeyDiagramSortConfiguration& WithSourceItemsLimit(const ItemsLimitConfiguration& value) { SetSourceItemsLimit(value); return *this;} /** *The limit on the number of source nodes that are displayed in a sankey * diagram.
*/ inline SankeyDiagramSortConfiguration& WithSourceItemsLimit(ItemsLimitConfiguration&& value) { SetSourceItemsLimit(std::move(value)); return *this;} /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline const ItemsLimitConfiguration& GetDestinationItemsLimit() const{ return m_destinationItemsLimit; } /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline bool DestinationItemsLimitHasBeenSet() const { return m_destinationItemsLimitHasBeenSet; } /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline void SetDestinationItemsLimit(const ItemsLimitConfiguration& value) { m_destinationItemsLimitHasBeenSet = true; m_destinationItemsLimit = value; } /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline void SetDestinationItemsLimit(ItemsLimitConfiguration&& value) { m_destinationItemsLimitHasBeenSet = true; m_destinationItemsLimit = std::move(value); } /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline SankeyDiagramSortConfiguration& WithDestinationItemsLimit(const ItemsLimitConfiguration& value) { SetDestinationItemsLimit(value); return *this;} /** *The limit on the number of destination nodes that are displayed in a sankey * diagram.
*/ inline SankeyDiagramSortConfiguration& WithDestinationItemsLimit(ItemsLimitConfiguration&& value) { SetDestinationItemsLimit(std::move(value)); return *this;} private: Aws::Vector