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

Dashboard summary.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline DashboardSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline DashboardSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the resource.

*/ inline DashboardSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

Dashboard ID.

*/ inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } /** *

Dashboard ID.

*/ inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; } /** *

Dashboard ID.

*/ inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; } /** *

Dashboard ID.

*/ inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); } /** *

Dashboard ID.

*/ inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); } /** *

Dashboard ID.

*/ inline DashboardSummary& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** *

Dashboard ID.

*/ inline DashboardSummary& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} /** *

Dashboard ID.

*/ inline DashboardSummary& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} /** *

A display name for the dashboard.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A display name for the dashboard.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A display name for the dashboard.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A display name for the dashboard.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A display name for the dashboard.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A display name for the dashboard.

*/ inline DashboardSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A display name for the dashboard.

*/ inline DashboardSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A display name for the dashboard.

*/ inline DashboardSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The time that this dashboard was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The time that this dashboard was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The time that this dashboard was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The time that this dashboard was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The time that this dashboard was created.

*/ inline DashboardSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The time that this dashboard was created.

*/ inline DashboardSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The last time that this dashboard was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The last time that this dashboard was updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The last time that this dashboard was updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The last time that this dashboard was updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The last time that this dashboard was updated.

*/ inline DashboardSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The last time that this dashboard was updated.

*/ inline DashboardSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

Published version number.

*/ inline long long GetPublishedVersionNumber() const{ return m_publishedVersionNumber; } /** *

Published version number.

*/ inline bool PublishedVersionNumberHasBeenSet() const { return m_publishedVersionNumberHasBeenSet; } /** *

Published version number.

*/ inline void SetPublishedVersionNumber(long long value) { m_publishedVersionNumberHasBeenSet = true; m_publishedVersionNumber = value; } /** *

Published version number.

*/ inline DashboardSummary& WithPublishedVersionNumber(long long value) { SetPublishedVersionNumber(value); return *this;} /** *

The last time that this dashboard was published.

*/ inline const Aws::Utils::DateTime& GetLastPublishedTime() const{ return m_lastPublishedTime; } /** *

The last time that this dashboard was published.

*/ inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; } /** *

The last time that this dashboard was published.

*/ inline void SetLastPublishedTime(const Aws::Utils::DateTime& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = value; } /** *

The last time that this dashboard was published.

*/ inline void SetLastPublishedTime(Aws::Utils::DateTime&& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = std::move(value); } /** *

The last time that this dashboard was published.

*/ inline DashboardSummary& WithLastPublishedTime(const Aws::Utils::DateTime& value) { SetLastPublishedTime(value); return *this;} /** *

The last time that this dashboard was published.

*/ inline DashboardSummary& WithLastPublishedTime(Aws::Utils::DateTime&& value) { SetLastPublishedTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_dashboardId; bool m_dashboardIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; long long m_publishedVersionNumber; bool m_publishedVersionNumberHasBeenSet = false; Aws::Utils::DateTime m_lastPublishedTime; bool m_lastPublishedTimeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws