/** * 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 source controls that are used in a * CascadingControlConfiguration.

See Also:

AWS * API Reference

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

The source sheet control ID of a CascadingControlSource.

*/ inline const Aws::String& GetSourceSheetControlId() const{ return m_sourceSheetControlId; } /** *

The source sheet control ID of a CascadingControlSource.

*/ inline bool SourceSheetControlIdHasBeenSet() const { return m_sourceSheetControlIdHasBeenSet; } /** *

The source sheet control ID of a CascadingControlSource.

*/ inline void SetSourceSheetControlId(const Aws::String& value) { m_sourceSheetControlIdHasBeenSet = true; m_sourceSheetControlId = value; } /** *

The source sheet control ID of a CascadingControlSource.

*/ inline void SetSourceSheetControlId(Aws::String&& value) { m_sourceSheetControlIdHasBeenSet = true; m_sourceSheetControlId = std::move(value); } /** *

The source sheet control ID of a CascadingControlSource.

*/ inline void SetSourceSheetControlId(const char* value) { m_sourceSheetControlIdHasBeenSet = true; m_sourceSheetControlId.assign(value); } /** *

The source sheet control ID of a CascadingControlSource.

*/ inline CascadingControlSource& WithSourceSheetControlId(const Aws::String& value) { SetSourceSheetControlId(value); return *this;} /** *

The source sheet control ID of a CascadingControlSource.

*/ inline CascadingControlSource& WithSourceSheetControlId(Aws::String&& value) { SetSourceSheetControlId(std::move(value)); return *this;} /** *

The source sheet control ID of a CascadingControlSource.

*/ inline CascadingControlSource& WithSourceSheetControlId(const char* value) { SetSourceSheetControlId(value); return *this;} /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline const ColumnIdentifier& GetColumnToMatch() const{ return m_columnToMatch; } /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline bool ColumnToMatchHasBeenSet() const { return m_columnToMatchHasBeenSet; } /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline void SetColumnToMatch(const ColumnIdentifier& value) { m_columnToMatchHasBeenSet = true; m_columnToMatch = value; } /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline void SetColumnToMatch(ColumnIdentifier&& value) { m_columnToMatchHasBeenSet = true; m_columnToMatch = std::move(value); } /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline CascadingControlSource& WithColumnToMatch(const ColumnIdentifier& value) { SetColumnToMatch(value); return *this;} /** *

The column identifier that determines which column to look up for the source * sheet control.

*/ inline CascadingControlSource& WithColumnToMatch(ColumnIdentifier&& value) { SetColumnToMatch(std::move(value)); return *this;} private: Aws::String m_sourceSheetControlId; bool m_sourceSheetControlIdHasBeenSet = false; ColumnIdentifier m_columnToMatch; bool m_columnToMatchHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws