/* * 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 the information for the snapshot that you want to generate. /// This information is provided by you when you start a new snapshot job. /// public partial class SnapshotFile { private SnapshotFileFormatType _formatType; private List _sheetSelections = new List(); /// /// Gets and sets the property FormatType. /// /// The format of the snapshot file to be generated. You can choose between CSV /// and PDF. /// /// [AWSProperty(Required=true)] public SnapshotFileFormatType FormatType { get { return this._formatType; } set { this._formatType = value; } } // Check to see if FormatType property is set internal bool IsSetFormatType() { return this._formatType != null; } /// /// Gets and sets the property SheetSelections. /// /// A list of SnapshotFileSheetSelection objects that contain information /// on the dashboard sheet that is exported. These objects provide information about the /// snapshot artifacts that are generated during the job. This structure can hold a maximum /// of 5 CSV configurations or 1 configuration for PDF. /// /// [AWSProperty(Required=true, Min=1, Max=1)] public List SheetSelections { get { return this._sheetSelections; } set { this._sheetSelections = value; } } // Check to see if SheetSelections property is set internal bool IsSetSheetSelections() { return this._sheetSelections != null && this._sheetSelections.Count > 0; } } }