/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the quicksight-2018-04-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.QuickSight.Model
{
///
/// The type of experience you want to embed. For registered users, you can embed Amazon
/// QuickSight dashboards or the Amazon QuickSight console.
///
///
///
/// Exactly one of the experience configurations is required. You can choose Dashboard
/// or QuickSightConsole. You cannot choose more than one experience configuration.
///
///
///
public partial class RegisteredUserEmbeddingExperienceConfiguration
{
private RegisteredUserDashboardEmbeddingConfiguration _dashboard;
private RegisteredUserDashboardVisualEmbeddingConfiguration _dashboardVisual;
private RegisteredUserQSearchBarEmbeddingConfiguration _qSearchBar;
private RegisteredUserQuickSightConsoleEmbeddingConfiguration _quickSightConsole;
///
/// Gets and sets the property Dashboard.
///
/// The configuration details for providing a dashboard embedding experience.
///
///
public RegisteredUserDashboardEmbeddingConfiguration Dashboard
{
get { return this._dashboard; }
set { this._dashboard = value; }
}
// Check to see if Dashboard property is set
internal bool IsSetDashboard()
{
return this._dashboard != null;
}
///
/// Gets and sets the property DashboardVisual.
///
/// The type of embedding experience. In this case, Amazon QuickSight visuals.
///
///
public RegisteredUserDashboardVisualEmbeddingConfiguration DashboardVisual
{
get { return this._dashboardVisual; }
set { this._dashboardVisual = value; }
}
// Check to see if DashboardVisual property is set
internal bool IsSetDashboardVisual()
{
return this._dashboardVisual != null;
}
///
/// Gets and sets the property QSearchBar.
///
/// The configuration details for embedding the Q search bar.
///
///
///
/// For more information about embedding the Q search bar, see Embedding
/// Overview in the Amazon QuickSight User Guide.
///
///
public RegisteredUserQSearchBarEmbeddingConfiguration QSearchBar
{
get { return this._qSearchBar; }
set { this._qSearchBar = value; }
}
// Check to see if QSearchBar property is set
internal bool IsSetQSearchBar()
{
return this._qSearchBar != null;
}
///
/// Gets and sets the property QuickSightConsole.
///
/// The configuration details for providing each Amazon QuickSight console embedding experience.
/// This can be used along with custom permissions to restrict access to certain features.
/// For more information, see Customizing
/// Access to the Amazon QuickSight Console in the Amazon QuickSight User Guide.
///
///
///
/// Use GenerateEmbedUrlForRegisteredUser
/// where you want to provide an authoring portal that allows users to create
/// data sources, datasets, analyses, and dashboards. The users who accesses an embedded
/// Amazon QuickSight console needs to belong to the author or admin security cohort.
/// If you want to restrict permissions to some of these features, add a custom permissions
/// profile to the user with the UpdateUser
/// API operation. Use the RegisterUser
/// API operation to add a new user with a custom permission profile attached.
/// For more information, see the following sections in the Amazon QuickSight User
/// Guide:
///
///
///
/// For more information about the high-level steps for embedding and for an interactive
/// demo of the ways you can customize embedding, visit the Amazon
/// QuickSight Developer Portal.
///
///
public RegisteredUserQuickSightConsoleEmbeddingConfiguration QuickSightConsole
{
get { return this._quickSightConsole; }
set { this._quickSightConsole = value; }
}
// Check to see if QuickSightConsole property is set
internal bool IsSetQuickSightConsole()
{
return this._quickSightConsole != null;
}
}
}