/** * 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 the same-sheet target visuals that you want to be * filtered.

This is a union type structure. For this structure to be valid, * only one of the attributes can be defined.

See Also:

AWS * API Reference

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

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline const Aws::Vector& GetTargetVisuals() const{ return m_targetVisuals; } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline bool TargetVisualsHasBeenSet() const { return m_targetVisualsHasBeenSet; } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline void SetTargetVisuals(const Aws::Vector& value) { m_targetVisualsHasBeenSet = true; m_targetVisuals = value; } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline void SetTargetVisuals(Aws::Vector&& value) { m_targetVisualsHasBeenSet = true; m_targetVisuals = std::move(value); } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline SameSheetTargetVisualConfiguration& WithTargetVisuals(const Aws::Vector& value) { SetTargetVisuals(value); return *this;} /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline SameSheetTargetVisualConfiguration& WithTargetVisuals(Aws::Vector&& value) { SetTargetVisuals(std::move(value)); return *this;} /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline SameSheetTargetVisualConfiguration& AddTargetVisuals(const Aws::String& value) { m_targetVisualsHasBeenSet = true; m_targetVisuals.push_back(value); return *this; } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline SameSheetTargetVisualConfiguration& AddTargetVisuals(Aws::String&& value) { m_targetVisualsHasBeenSet = true; m_targetVisuals.push_back(std::move(value)); return *this; } /** *

A list of the target visual IDs that are located in the same sheet of the * analysis.

*/ inline SameSheetTargetVisualConfiguration& AddTargetVisuals(const char* value) { m_targetVisualsHasBeenSet = true; m_targetVisuals.push_back(value); return *this; } /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline const TargetVisualOptions& GetTargetVisualOptions() const{ return m_targetVisualOptions; } /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline bool TargetVisualOptionsHasBeenSet() const { return m_targetVisualOptionsHasBeenSet; } /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline void SetTargetVisualOptions(const TargetVisualOptions& value) { m_targetVisualOptionsHasBeenSet = true; m_targetVisualOptions = value; } /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline void SetTargetVisualOptions(TargetVisualOptions&& value) { m_targetVisualOptionsHasBeenSet = true; m_targetVisualOptions = std::move(value); } /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline SameSheetTargetVisualConfiguration& WithTargetVisualOptions(const TargetVisualOptions& value) { SetTargetVisualOptions(value); return *this;} /** *

The options that choose the target visual in the same sheet.

Valid * values are defined as follows:

  • ALL_VISUALS: * Applies the filter operation to all visuals in the same sheet.

*/ inline SameSheetTargetVisualConfiguration& WithTargetVisualOptions(TargetVisualOptions&& value) { SetTargetVisualOptions(std::move(value)); return *this;} private: Aws::Vector m_targetVisuals; bool m_targetVisualsHasBeenSet = false; TargetVisualOptions m_targetVisualOptions; bool m_targetVisualOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws