/** * 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 filter that is applied to the options.

See Also:

AWS * API Reference

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

The selected sheet that the filter is applied to.

*/ inline const Aws::String& GetSheetId() const{ return m_sheetId; } /** *

The selected sheet that the filter is applied to.

*/ inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; } /** *

The selected sheet that the filter is applied to.

*/ inline void SetSheetId(const Aws::String& value) { m_sheetIdHasBeenSet = true; m_sheetId = value; } /** *

The selected sheet that the filter is applied to.

*/ inline void SetSheetId(Aws::String&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::move(value); } /** *

The selected sheet that the filter is applied to.

*/ inline void SetSheetId(const char* value) { m_sheetIdHasBeenSet = true; m_sheetId.assign(value); } /** *

The selected sheet that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& WithSheetId(const Aws::String& value) { SetSheetId(value); return *this;} /** *

The selected sheet that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& WithSheetId(Aws::String&& value) { SetSheetId(std::move(value)); return *this;} /** *

The selected sheet that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& WithSheetId(const char* value) { SetSheetId(value); return *this;} /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline const FilterVisualScope& GetScope() const{ return m_scope; } /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline void SetScope(const FilterVisualScope& value) { m_scopeHasBeenSet = true; m_scope = value; } /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline void SetScope(FilterVisualScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline SheetVisualScopingConfiguration& WithScope(const FilterVisualScope& value) { SetScope(value); return *this;} /** *

The scope of the applied entities. Choose one of the following options:

*
  • ALL_VISUALS

  • * SELECTED_VISUALS

*/ inline SheetVisualScopingConfiguration& WithScope(FilterVisualScope&& value) { SetScope(std::move(value)); return *this;} /** *

The selected visuals that the filter is applied to.

*/ inline const Aws::Vector& GetVisualIds() const{ return m_visualIds; } /** *

The selected visuals that the filter is applied to.

*/ inline bool VisualIdsHasBeenSet() const { return m_visualIdsHasBeenSet; } /** *

The selected visuals that the filter is applied to.

*/ inline void SetVisualIds(const Aws::Vector& value) { m_visualIdsHasBeenSet = true; m_visualIds = value; } /** *

The selected visuals that the filter is applied to.

*/ inline void SetVisualIds(Aws::Vector&& value) { m_visualIdsHasBeenSet = true; m_visualIds = std::move(value); } /** *

The selected visuals that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& WithVisualIds(const Aws::Vector& value) { SetVisualIds(value); return *this;} /** *

The selected visuals that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& WithVisualIds(Aws::Vector&& value) { SetVisualIds(std::move(value)); return *this;} /** *

The selected visuals that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& AddVisualIds(const Aws::String& value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(value); return *this; } /** *

The selected visuals that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& AddVisualIds(Aws::String&& value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(std::move(value)); return *this; } /** *

The selected visuals that the filter is applied to.

*/ inline SheetVisualScopingConfiguration& AddVisualIds(const char* value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(value); return *this; } private: Aws::String m_sheetId; bool m_sheetIdHasBeenSet = false; FilterVisualScope m_scope; bool m_scopeHasBeenSet = false; Aws::Vector m_visualIds; bool m_visualIdsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws