/** * 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 contribution analysis visual display for a line, pie, or bar * chart.

See Also:

AWS * API Reference

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

The measure field that is used in the contribution analysis.

*/ inline const Aws::String& GetMeasureFieldId() const{ return m_measureFieldId; } /** *

The measure field that is used in the contribution analysis.

*/ inline bool MeasureFieldIdHasBeenSet() const { return m_measureFieldIdHasBeenSet; } /** *

The measure field that is used in the contribution analysis.

*/ inline void SetMeasureFieldId(const Aws::String& value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId = value; } /** *

The measure field that is used in the contribution analysis.

*/ inline void SetMeasureFieldId(Aws::String&& value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId = std::move(value); } /** *

The measure field that is used in the contribution analysis.

*/ inline void SetMeasureFieldId(const char* value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId.assign(value); } /** *

The measure field that is used in the contribution analysis.

*/ inline ContributionAnalysisDefault& WithMeasureFieldId(const Aws::String& value) { SetMeasureFieldId(value); return *this;} /** *

The measure field that is used in the contribution analysis.

*/ inline ContributionAnalysisDefault& WithMeasureFieldId(Aws::String&& value) { SetMeasureFieldId(std::move(value)); return *this;} /** *

The measure field that is used in the contribution analysis.

*/ inline ContributionAnalysisDefault& WithMeasureFieldId(const char* value) { SetMeasureFieldId(value); return *this;} /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline const Aws::Vector& GetContributorDimensions() const{ return m_contributorDimensions; } /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline bool ContributorDimensionsHasBeenSet() const { return m_contributorDimensionsHasBeenSet; } /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline void SetContributorDimensions(const Aws::Vector& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions = value; } /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline void SetContributorDimensions(Aws::Vector&& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions = std::move(value); } /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline ContributionAnalysisDefault& WithContributorDimensions(const Aws::Vector& value) { SetContributorDimensions(value); return *this;} /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline ContributionAnalysisDefault& WithContributorDimensions(Aws::Vector&& value) { SetContributorDimensions(std::move(value)); return *this;} /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline ContributionAnalysisDefault& AddContributorDimensions(const ColumnIdentifier& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions.push_back(value); return *this; } /** *

The dimensions columns that are used in the contribution analysis, usually a * list of ColumnIdentifiers.

*/ inline ContributionAnalysisDefault& AddContributorDimensions(ColumnIdentifier&& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions.push_back(std::move(value)); return *this; } private: Aws::String m_measureFieldId; bool m_measureFieldIdHasBeenSet = false; Aws::Vector m_contributorDimensions; bool m_contributorDimensionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws