/** * 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 { /** *

An object that provides information on the result of a snapshot job. This * object provides information about the job, the job status, and the location of * the generated file.

See Also:

AWS * API Reference

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

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline const Aws::Vector& GetAnonymousUsers() const{ return m_anonymousUsers; } /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline bool AnonymousUsersHasBeenSet() const { return m_anonymousUsersHasBeenSet; } /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline void SetAnonymousUsers(const Aws::Vector& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = value; } /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline void SetAnonymousUsers(Aws::Vector&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = std::move(value); } /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline SnapshotJobResult& WithAnonymousUsers(const Aws::Vector& value) { SetAnonymousUsers(value); return *this;} /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline SnapshotJobResult& WithAnonymousUsers(Aws::Vector&& value) { SetAnonymousUsers(std::move(value)); return *this;} /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline SnapshotJobResult& AddAnonymousUsers(const AnonymousUserSnapshotJobResult& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(value); return *this; } /** *

A list of AnonymousUserSnapshotJobResult objects that contain * information on anonymous users and their user configurations. This data provided * by you when you make a StartDashboardSnapshotJob API call.

*/ inline SnapshotJobResult& AddAnonymousUsers(AnonymousUserSnapshotJobResult&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(std::move(value)); return *this; } private: Aws::Vector m_anonymousUsers; bool m_anonymousUsersHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws