/* * 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 { /// /// A structure that contains information that identifies the snapshot that needs to be /// generated. /// public partial class SnapshotFileSheetSelection { private SnapshotFileSheetSelectionScope _selectionScope; private string _sheetId; private List _visualIds = new List(); /// /// Gets and sets the property SelectionScope. /// /// The selection scope of the visuals on a sheet of a dashboard that you are generating /// a snapthot of. You can choose one of the following options. /// ///
  • /// /// ALL_VISUALS - Selects all visuals that are on the sheet. This value /// is required if the snapshot is a PDF. /// ///
  • /// /// SELECTED_VISUALS - Select the visual that you want to add to the snapshot. /// This value is required if the snapshot is a CSV. /// ///
///
[AWSProperty(Required=true)] public SnapshotFileSheetSelectionScope SelectionScope { get { return this._selectionScope; } set { this._selectionScope = value; } } // Check to see if SelectionScope property is set internal bool IsSetSelectionScope() { return this._selectionScope != null; } /// /// Gets and sets the property SheetId. /// /// The sheet ID of the dashboard to generate the snapshot artifact from. This value is /// required for CSV or PDF format types. /// /// [AWSProperty(Required=true, Min=1, Max=512)] public string SheetId { get { return this._sheetId; } set { this._sheetId = value; } } // Check to see if SheetId property is set internal bool IsSetSheetId() { return this._sheetId != null; } /// /// Gets and sets the property VisualIds. /// /// A structure that lists the IDs of the visuals in the selected sheet. Supported visual /// types are table, pivot table visuals. This value is required if you are generating /// a CSV. This value supports a maximum of 1 visual ID. /// /// [AWSProperty(Min=1, Max=1)] public List VisualIds { get { return this._visualIds; } set { this._visualIds = value; } } // Check to see if VisualIds property is set internal bool IsSetVisualIds() { return this._visualIds != null && this._visualIds.Count > 0; } } }