/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The values that are displayed in a control can be configured to only show * values that are valid based on what's selected in other controls.

See * Also:

AWS * API Reference

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

A list of source controls that determine the values that are used in the * current control.

*/ inline const Aws::Vector& GetSourceControls() const{ return m_sourceControls; } /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline bool SourceControlsHasBeenSet() const { return m_sourceControlsHasBeenSet; } /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline void SetSourceControls(const Aws::Vector& value) { m_sourceControlsHasBeenSet = true; m_sourceControls = value; } /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline void SetSourceControls(Aws::Vector&& value) { m_sourceControlsHasBeenSet = true; m_sourceControls = std::move(value); } /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline CascadingControlConfiguration& WithSourceControls(const Aws::Vector& value) { SetSourceControls(value); return *this;} /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline CascadingControlConfiguration& WithSourceControls(Aws::Vector&& value) { SetSourceControls(std::move(value)); return *this;} /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline CascadingControlConfiguration& AddSourceControls(const CascadingControlSource& value) { m_sourceControlsHasBeenSet = true; m_sourceControls.push_back(value); return *this; } /** *

A list of source controls that determine the values that are used in the * current control.

*/ inline CascadingControlConfiguration& AddSourceControls(CascadingControlSource&& value) { m_sourceControlsHasBeenSet = true; m_sourceControls.push_back(std::move(value)); return *this; } private: Aws::Vector m_sourceControls; bool m_sourceControlsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws