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

The experience that you are embedding. You can use this object to generate a * url that embeds a visual into your application.

See Also:

AWS * API Reference

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

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline const DashboardVisualId& GetInitialDashboardVisualId() const{ return m_initialDashboardVisualId; } /** *

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline bool InitialDashboardVisualIdHasBeenSet() const { return m_initialDashboardVisualIdHasBeenSet; } /** *

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline void SetInitialDashboardVisualId(const DashboardVisualId& value) { m_initialDashboardVisualIdHasBeenSet = true; m_initialDashboardVisualId = value; } /** *

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline void SetInitialDashboardVisualId(DashboardVisualId&& value) { m_initialDashboardVisualIdHasBeenSet = true; m_initialDashboardVisualId = std::move(value); } /** *

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline AnonymousUserDashboardVisualEmbeddingConfiguration& WithInitialDashboardVisualId(const DashboardVisualId& value) { SetInitialDashboardVisualId(value); return *this;} /** *

The visual ID for the visual that you want the user to see. This ID is * included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this visual.

The Amazon Resource Name (ARN) of the * dashboard that the visual belongs to must be included in the * AuthorizedResourceArns parameter. Otherwise, the request will fail * with InvalidParameterValueException.

*/ inline AnonymousUserDashboardVisualEmbeddingConfiguration& WithInitialDashboardVisualId(DashboardVisualId&& value) { SetInitialDashboardVisualId(std::move(value)); return *this;} private: DashboardVisualId m_initialDashboardVisualId; bool m_initialDashboardVisualIdHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws