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

The operation that is defined by the custom action.

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 VisualCustomActionOperation { public: AWS_QUICKSIGHT_API VisualCustomActionOperation(); AWS_QUICKSIGHT_API VisualCustomActionOperation(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API VisualCustomActionOperation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline const CustomActionFilterOperation& GetFilterOperation() const{ return m_filterOperation; } /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline bool FilterOperationHasBeenSet() const { return m_filterOperationHasBeenSet; } /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline void SetFilterOperation(const CustomActionFilterOperation& value) { m_filterOperationHasBeenSet = true; m_filterOperation = value; } /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline void SetFilterOperation(CustomActionFilterOperation&& value) { m_filterOperationHasBeenSet = true; m_filterOperation = std::move(value); } /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline VisualCustomActionOperation& WithFilterOperation(const CustomActionFilterOperation& value) { SetFilterOperation(value); return *this;} /** *

The filter operation that filters data included in a visual or in an entire * sheet.

*/ inline VisualCustomActionOperation& WithFilterOperation(CustomActionFilterOperation&& value) { SetFilterOperation(std::move(value)); return *this;} /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline const CustomActionNavigationOperation& GetNavigationOperation() const{ return m_navigationOperation; } /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline bool NavigationOperationHasBeenSet() const { return m_navigationOperationHasBeenSet; } /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline void SetNavigationOperation(const CustomActionNavigationOperation& value) { m_navigationOperationHasBeenSet = true; m_navigationOperation = value; } /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline void SetNavigationOperation(CustomActionNavigationOperation&& value) { m_navigationOperationHasBeenSet = true; m_navigationOperation = std::move(value); } /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline VisualCustomActionOperation& WithNavigationOperation(const CustomActionNavigationOperation& value) { SetNavigationOperation(value); return *this;} /** *

The navigation operation that navigates between different sheets in the same * analysis.

*/ inline VisualCustomActionOperation& WithNavigationOperation(CustomActionNavigationOperation&& value) { SetNavigationOperation(std::move(value)); return *this;} /** *

The URL operation that opens a link to another webpage.

*/ inline const CustomActionURLOperation& GetURLOperation() const{ return m_uRLOperation; } /** *

The URL operation that opens a link to another webpage.

*/ inline bool URLOperationHasBeenSet() const { return m_uRLOperationHasBeenSet; } /** *

The URL operation that opens a link to another webpage.

*/ inline void SetURLOperation(const CustomActionURLOperation& value) { m_uRLOperationHasBeenSet = true; m_uRLOperation = value; } /** *

The URL operation that opens a link to another webpage.

*/ inline void SetURLOperation(CustomActionURLOperation&& value) { m_uRLOperationHasBeenSet = true; m_uRLOperation = std::move(value); } /** *

The URL operation that opens a link to another webpage.

*/ inline VisualCustomActionOperation& WithURLOperation(const CustomActionURLOperation& value) { SetURLOperation(value); return *this;} /** *

The URL operation that opens a link to another webpage.

*/ inline VisualCustomActionOperation& WithURLOperation(CustomActionURLOperation&& value) { SetURLOperation(std::move(value)); return *this;} /** *

The set parameter operation that sets parameters in custom action.

*/ inline const CustomActionSetParametersOperation& GetSetParametersOperation() const{ return m_setParametersOperation; } /** *

The set parameter operation that sets parameters in custom action.

*/ inline bool SetParametersOperationHasBeenSet() const { return m_setParametersOperationHasBeenSet; } /** *

The set parameter operation that sets parameters in custom action.

*/ inline void SetSetParametersOperation(const CustomActionSetParametersOperation& value) { m_setParametersOperationHasBeenSet = true; m_setParametersOperation = value; } /** *

The set parameter operation that sets parameters in custom action.

*/ inline void SetSetParametersOperation(CustomActionSetParametersOperation&& value) { m_setParametersOperationHasBeenSet = true; m_setParametersOperation = std::move(value); } /** *

The set parameter operation that sets parameters in custom action.

*/ inline VisualCustomActionOperation& WithSetParametersOperation(const CustomActionSetParametersOperation& value) { SetSetParametersOperation(value); return *this;} /** *

The set parameter operation that sets parameters in custom action.

*/ inline VisualCustomActionOperation& WithSetParametersOperation(CustomActionSetParametersOperation&& value) { SetSetParametersOperation(std::move(value)); return *this;} private: CustomActionFilterOperation m_filterOperation; bool m_filterOperationHasBeenSet = false; CustomActionNavigationOperation m_navigationOperation; bool m_navigationOperationHasBeenSet = false; CustomActionURLOperation m_uRLOperation; bool m_uRLOperationHasBeenSet = false; CustomActionSetParametersOperation m_setParametersOperation; bool m_setParametersOperationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws