/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 file groups that are requested for the artifact * generation in a StartDashboardSnapshotJob API call.

See * Also:

AWS * API Reference

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

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline const Aws::Vector& GetFileGroups() const{ return m_fileGroups; } /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline bool FileGroupsHasBeenSet() const { return m_fileGroupsHasBeenSet; } /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline void SetFileGroups(const Aws::Vector& value) { m_fileGroupsHasBeenSet = true; m_fileGroups = value; } /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline void SetFileGroups(Aws::Vector&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups = std::move(value); } /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline AnonymousUserSnapshotJobResult& WithFileGroups(const Aws::Vector& value) { SetFileGroups(value); return *this;} /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline AnonymousUserSnapshotJobResult& WithFileGroups(Aws::Vector&& value) { SetFileGroups(std::move(value)); return *this;} /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline AnonymousUserSnapshotJobResult& AddFileGroups(const SnapshotJobResultFileGroup& value) { m_fileGroupsHasBeenSet = true; m_fileGroups.push_back(value); return *this; } /** *

A list of SnapshotJobResultFileGroup objects that contain * information on the files that are requested during a * StartDashboardSnapshotJob API call. If the job succeeds, these * objects contain the location where the snapshot artifacts are stored. If the job * fails, the objects contain information about the error that caused the job to * fail.

*/ inline AnonymousUserSnapshotJobResult& AddFileGroups(SnapshotJobResultFileGroup&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups.push_back(std::move(value)); return *this; } private: Aws::Vector m_fileGroups; bool m_fileGroupsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws