/** * 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 configuration of an insight visual.

See Also:

AWS * API Reference

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

The computations configurations of the insight visual

*/ inline const Aws::Vector& GetComputations() const{ return m_computations; } /** *

The computations configurations of the insight visual

*/ inline bool ComputationsHasBeenSet() const { return m_computationsHasBeenSet; } /** *

The computations configurations of the insight visual

*/ inline void SetComputations(const Aws::Vector& value) { m_computationsHasBeenSet = true; m_computations = value; } /** *

The computations configurations of the insight visual

*/ inline void SetComputations(Aws::Vector&& value) { m_computationsHasBeenSet = true; m_computations = std::move(value); } /** *

The computations configurations of the insight visual

*/ inline InsightConfiguration& WithComputations(const Aws::Vector& value) { SetComputations(value); return *this;} /** *

The computations configurations of the insight visual

*/ inline InsightConfiguration& WithComputations(Aws::Vector&& value) { SetComputations(std::move(value)); return *this;} /** *

The computations configurations of the insight visual

*/ inline InsightConfiguration& AddComputations(const Computation& value) { m_computationsHasBeenSet = true; m_computations.push_back(value); return *this; } /** *

The computations configurations of the insight visual

*/ inline InsightConfiguration& AddComputations(Computation&& value) { m_computationsHasBeenSet = true; m_computations.push_back(std::move(value)); return *this; } /** *

The custom narrative of the insight visual.

*/ inline const CustomNarrativeOptions& GetCustomNarrative() const{ return m_customNarrative; } /** *

The custom narrative of the insight visual.

*/ inline bool CustomNarrativeHasBeenSet() const { return m_customNarrativeHasBeenSet; } /** *

The custom narrative of the insight visual.

*/ inline void SetCustomNarrative(const CustomNarrativeOptions& value) { m_customNarrativeHasBeenSet = true; m_customNarrative = value; } /** *

The custom narrative of the insight visual.

*/ inline void SetCustomNarrative(CustomNarrativeOptions&& value) { m_customNarrativeHasBeenSet = true; m_customNarrative = std::move(value); } /** *

The custom narrative of the insight visual.

*/ inline InsightConfiguration& WithCustomNarrative(const CustomNarrativeOptions& value) { SetCustomNarrative(value); return *this;} /** *

The custom narrative of the insight visual.

*/ inline InsightConfiguration& WithCustomNarrative(CustomNarrativeOptions&& value) { SetCustomNarrative(std::move(value)); return *this;} private: Aws::Vector m_computations; bool m_computationsHasBeenSet = false; CustomNarrativeOptions m_customNarrative; bool m_customNarrativeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws