/** * 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 { /** *

An empty visual.

Empty visuals are used in layouts but have not been * configured to show any data. A new visual created in the Amazon QuickSight * console is considered an EmptyVisual until a visual type is * selected.

See Also:

AWS * API Reference

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

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline const Aws::String& GetVisualId() const{ return m_visualId; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline EmptyVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;} /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline EmptyVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;} /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers.

*/ inline EmptyVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;} /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline const Aws::String& GetDataSetIdentifier() const{ return m_dataSetIdentifier; } /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline bool DataSetIdentifierHasBeenSet() const { return m_dataSetIdentifierHasBeenSet; } /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline void SetDataSetIdentifier(const Aws::String& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = value; } /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline void SetDataSetIdentifier(Aws::String&& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = std::move(value); } /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline void SetDataSetIdentifier(const char* value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier.assign(value); } /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline EmptyVisual& WithDataSetIdentifier(const Aws::String& value) { SetDataSetIdentifier(value); return *this;} /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline EmptyVisual& WithDataSetIdentifier(Aws::String&& value) { SetDataSetIdentifier(std::move(value)); return *this;} /** *

The data set that is used in the empty visual. Every visual requires a * dataset to render.

*/ inline EmptyVisual& WithDataSetIdentifier(const char* value) { SetDataSetIdentifier(value); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline const Aws::Vector& GetActions() const{ return m_actions; } /** *

The list of custom actions that are configured for a visual.

*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *

The list of custom actions that are configured for a visual.

*/ inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } /** *

The list of custom actions that are configured for a visual.

*/ inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } /** *

The list of custom actions that are configured for a visual.

*/ inline EmptyVisual& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline EmptyVisual& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline EmptyVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *

The list of custom actions that are configured for a visual.

*/ inline EmptyVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } private: Aws::String m_visualId; bool m_visualIdHasBeenSet = false; Aws::String m_dataSetIdentifier; bool m_dataSetIdentifierHasBeenSet = false; Aws::Vector m_actions; bool m_actionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws