/** * 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 field well configuration of a sankey diagram.

See Also:

* AWS * API Reference

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

The source field wells of a sankey diagram.

*/ inline const Aws::Vector& GetSource() const{ return m_source; } /** *

The source field wells of a sankey diagram.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The source field wells of a sankey diagram.

*/ inline void SetSource(const Aws::Vector& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The source field wells of a sankey diagram.

*/ inline void SetSource(Aws::Vector&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The source field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithSource(const Aws::Vector& value) { SetSource(value); return *this;} /** *

The source field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithSource(Aws::Vector&& value) { SetSource(std::move(value)); return *this;} /** *

The source field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddSource(const DimensionField& value) { m_sourceHasBeenSet = true; m_source.push_back(value); return *this; } /** *

The source field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddSource(DimensionField&& value) { m_sourceHasBeenSet = true; m_source.push_back(std::move(value)); return *this; } /** *

The destination field wells of a sankey diagram.

*/ inline const Aws::Vector& GetDestination() const{ return m_destination; } /** *

The destination field wells of a sankey diagram.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The destination field wells of a sankey diagram.

*/ inline void SetDestination(const Aws::Vector& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The destination field wells of a sankey diagram.

*/ inline void SetDestination(Aws::Vector&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The destination field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithDestination(const Aws::Vector& value) { SetDestination(value); return *this;} /** *

The destination field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithDestination(Aws::Vector&& value) { SetDestination(std::move(value)); return *this;} /** *

The destination field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddDestination(const DimensionField& value) { m_destinationHasBeenSet = true; m_destination.push_back(value); return *this; } /** *

The destination field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddDestination(DimensionField&& value) { m_destinationHasBeenSet = true; m_destination.push_back(std::move(value)); return *this; } /** *

The weight field wells of a sankey diagram.

*/ inline const Aws::Vector& GetWeight() const{ return m_weight; } /** *

The weight field wells of a sankey diagram.

*/ inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; } /** *

The weight field wells of a sankey diagram.

*/ inline void SetWeight(const Aws::Vector& value) { m_weightHasBeenSet = true; m_weight = value; } /** *

The weight field wells of a sankey diagram.

*/ inline void SetWeight(Aws::Vector&& value) { m_weightHasBeenSet = true; m_weight = std::move(value); } /** *

The weight field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithWeight(const Aws::Vector& value) { SetWeight(value); return *this;} /** *

The weight field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& WithWeight(Aws::Vector&& value) { SetWeight(std::move(value)); return *this;} /** *

The weight field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddWeight(const MeasureField& value) { m_weightHasBeenSet = true; m_weight.push_back(value); return *this; } /** *

The weight field wells of a sankey diagram.

*/ inline SankeyDiagramAggregatedFieldWells& AddWeight(MeasureField&& value) { m_weightHasBeenSet = true; m_weight.push_back(std::move(value)); return *this; } private: Aws::Vector m_source; bool m_sourceHasBeenSet = false; Aws::Vector m_destination; bool m_destinationHasBeenSet = false; Aws::Vector m_weight; bool m_weightHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws