/* * 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 { /// /// Container for the parameters to the UpdateDashboard operation. /// Updates a dashboard in an Amazon Web Services account. /// /// /// /// Updating a Dashboard creates a new dashboard version but does not immediately publish /// the new version. You can update the published version of a dashboard by using the /// UpdateDashboardPublishedVersion /// API operation. /// /// /// public partial class UpdateDashboardRequest : AmazonQuickSightRequest { private string _awsAccountId; private string _dashboardId; private DashboardPublishOptions _dashboardPublishOptions; private DashboardVersionDefinition _definition; private string _name; private Parameters _parameters; private DashboardSourceEntity _sourceEntity; private string _themeArn; private string _versionDescription; /// /// Gets and sets the property AwsAccountId. /// /// The ID of the Amazon Web Services account that contains the dashboard that you're /// updating. /// /// [AWSProperty(Required=true, Min=12, Max=12)] public string AwsAccountId { get { return this._awsAccountId; } set { this._awsAccountId = value; } } // Check to see if AwsAccountId property is set internal bool IsSetAwsAccountId() { return this._awsAccountId != null; } /// /// Gets and sets the property DashboardId. /// /// The ID for the dashboard. /// /// [AWSProperty(Required=true, Min=1, Max=512)] public string DashboardId { get { return this._dashboardId; } set { this._dashboardId = value; } } // Check to see if DashboardId property is set internal bool IsSetDashboardId() { return this._dashboardId != null; } /// /// Gets and sets the property DashboardPublishOptions. /// /// Options for publishing the dashboard when you create it: /// /// /// public DashboardPublishOptions DashboardPublishOptions { get { return this._dashboardPublishOptions; } set { this._dashboardPublishOptions = value; } } // Check to see if DashboardPublishOptions property is set internal bool IsSetDashboardPublishOptions() { return this._dashboardPublishOptions != null; } /// /// Gets and sets the property Definition. /// /// The definition of a dashboard. /// /// /// /// A definition is the data model of all features in a Dashboard, Template, or Analysis. /// /// public DashboardVersionDefinition Definition { get { return this._definition; } set { this._definition = value; } } // Check to see if Definition property is set internal bool IsSetDefinition() { return this._definition != null; } /// /// Gets and sets the property Name. /// /// The display name of the dashboard. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Parameters. /// /// A structure that contains the parameters of the dashboard. These are parameter overrides /// for a dashboard. A dashboard can have any type of parameters, and some parameters /// might accept multiple values. /// /// public Parameters Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null; } /// /// Gets and sets the property SourceEntity. /// /// The entity that you are using as a source when you update the dashboard. In SourceEntity, /// you specify the type of object you're using as source. You can only update a dashboard /// from a template, so you use a SourceTemplate entity. If you need to update /// a dashboard from an analysis, first convert the analysis to a template by using the /// CreateTemplate /// API operation. For SourceTemplate, specify the Amazon Resource /// Name (ARN) of the source template. The SourceTemplate ARN can contain /// any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services /// Region. /// /// /// /// Use the DataSetReferences entity within SourceTemplate to /// list the replacement datasets for the placeholders listed in the original. The schema /// in each dataset must match its placeholder. /// /// public DashboardSourceEntity SourceEntity { get { return this._sourceEntity; } set { this._sourceEntity = value; } } // Check to see if SourceEntity property is set internal bool IsSetSourceEntity() { return this._sourceEntity != null; } /// /// Gets and sets the property ThemeArn. /// /// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. /// If you add a value for this field, it overrides the value that was originally associated /// with the entity. The theme ARN must exist in the same Amazon Web Services account /// where you create the dashboard. /// /// public string ThemeArn { get { return this._themeArn; } set { this._themeArn = value; } } // Check to see if ThemeArn property is set internal bool IsSetThemeArn() { return this._themeArn != null; } /// /// Gets and sets the property VersionDescription. /// /// A description for the first version of the dashboard being created. /// /// [AWSProperty(Min=1, Max=512)] public string VersionDescription { get { return this._versionDescription; } set { this._versionDescription = value; } } // Check to see if VersionDescription property is set internal bool IsSetVersionDescription() { return this._versionDescription != null; } } }