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

See Also:

AWS * API Reference

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

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.

*/ inline const Aws::Vector& GetSheetSelections() const{ return m_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.

*/ inline bool SheetSelectionsHasBeenSet() const { return m_sheetSelectionsHasBeenSet; } /** *

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.

*/ inline void SetSheetSelections(const Aws::Vector& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections = value; } /** *

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.

*/ inline void SetSheetSelections(Aws::Vector&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections = std::move(value); } /** *

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.

*/ inline SnapshotFile& WithSheetSelections(const Aws::Vector& value) { SetSheetSelections(value); return *this;} /** *

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.

*/ inline SnapshotFile& WithSheetSelections(Aws::Vector&& value) { SetSheetSelections(std::move(value)); return *this;} /** *

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.

*/ inline SnapshotFile& AddSheetSelections(const SnapshotFileSheetSelection& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections.push_back(value); return *this; } /** *

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.

*/ inline SnapshotFile& AddSheetSelections(SnapshotFileSheetSelection&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections.push_back(std::move(value)); return *this; } /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline const SnapshotFileFormatType& GetFormatType() const{ return m_formatType; } /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline bool FormatTypeHasBeenSet() const { return m_formatTypeHasBeenSet; } /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline void SetFormatType(const SnapshotFileFormatType& value) { m_formatTypeHasBeenSet = true; m_formatType = value; } /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline void SetFormatType(SnapshotFileFormatType&& value) { m_formatTypeHasBeenSet = true; m_formatType = std::move(value); } /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline SnapshotFile& WithFormatType(const SnapshotFileFormatType& value) { SetFormatType(value); return *this;} /** *

The format of the snapshot file to be generated. You can choose between * CSV and PDF.

*/ inline SnapshotFile& WithFormatType(SnapshotFileFormatType&& value) { SetFormatType(std::move(value)); return *this;} private: Aws::Vector m_sheetSelections; bool m_sheetSelectionsHasBeenSet = false; SnapshotFileFormatType m_formatType; bool m_formatTypeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws