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

Information about the dashboard you want to embed.

See Also:

* AWS * API Reference

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

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline const Aws::String& GetInitialDashboardId() const{ return m_initialDashboardId; } /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline bool InitialDashboardIdHasBeenSet() const { return m_initialDashboardIdHasBeenSet; } /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline void SetInitialDashboardId(const Aws::String& value) { m_initialDashboardIdHasBeenSet = true; m_initialDashboardId = value; } /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline void SetInitialDashboardId(Aws::String&& value) { m_initialDashboardIdHasBeenSet = true; m_initialDashboardId = std::move(value); } /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline void SetInitialDashboardId(const char* value) { m_initialDashboardIdHasBeenSet = true; m_initialDashboardId.assign(value); } /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline RegisteredUserDashboardEmbeddingConfiguration& WithInitialDashboardId(const Aws::String& value) { SetInitialDashboardId(value); return *this;} /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline RegisteredUserDashboardEmbeddingConfiguration& WithInitialDashboardId(Aws::String&& value) { SetInitialDashboardId(std::move(value)); return *this;} /** *

The dashboard ID for the dashboard that you want the user to see first. This * ID is included in the output URL. When the URL in response is accessed, Amazon * QuickSight renders this dashboard if the user has permissions to view it.

*

If the user does not have permission to view this dashboard, they see a * permissions error message.

*/ inline RegisteredUserDashboardEmbeddingConfiguration& WithInitialDashboardId(const char* value) { SetInitialDashboardId(value); return *this;} /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline const RegisteredUserDashboardFeatureConfigurations& GetFeatureConfigurations() const{ return m_featureConfigurations; } /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline bool FeatureConfigurationsHasBeenSet() const { return m_featureConfigurationsHasBeenSet; } /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline void SetFeatureConfigurations(const RegisteredUserDashboardFeatureConfigurations& value) { m_featureConfigurationsHasBeenSet = true; m_featureConfigurations = value; } /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline void SetFeatureConfigurations(RegisteredUserDashboardFeatureConfigurations&& value) { m_featureConfigurationsHasBeenSet = true; m_featureConfigurations = std::move(value); } /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline RegisteredUserDashboardEmbeddingConfiguration& WithFeatureConfigurations(const RegisteredUserDashboardFeatureConfigurations& value) { SetFeatureConfigurations(value); return *this;} /** *

The feature configurations of an embbedded Amazon QuickSight dashboard.

*/ inline RegisteredUserDashboardEmbeddingConfiguration& WithFeatureConfigurations(RegisteredUserDashboardFeatureConfigurations&& value) { SetFeatureConfigurations(std::move(value)); return *this;} private: Aws::String m_initialDashboardId; bool m_initialDashboardIdHasBeenSet = false; RegisteredUserDashboardFeatureConfigurations m_featureConfigurations; bool m_featureConfigurationsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws