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

Dashboard version.

See Also:

AWS * API Reference

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

The time that this dashboard version was created.

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

The time that this dashboard version was created.

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

The time that this dashboard version was created.

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

The time that this dashboard version was created.

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

The time that this dashboard version was created.

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

The time that this dashboard version was created.

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

Errors associated with this dashboard version.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

Errors associated with this dashboard version.

*/ inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } /** *

Errors associated with this dashboard version.

*/ inline void SetErrors(const Aws::Vector& value) { m_errorsHasBeenSet = true; m_errors = value; } /** *

Errors associated with this dashboard version.

*/ inline void SetErrors(Aws::Vector&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); } /** *

Errors associated with this dashboard version.

*/ inline DashboardVersion& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

Errors associated with this dashboard version.

*/ inline DashboardVersion& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

Errors associated with this dashboard version.

*/ inline DashboardVersion& AddErrors(const DashboardError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } /** *

Errors associated with this dashboard version.

*/ inline DashboardVersion& AddErrors(DashboardError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } /** *

Version number for this version of the dashboard.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

Version number for this version of the dashboard.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

Version number for this version of the dashboard.

*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

Version number for this version of the dashboard.

*/ inline DashboardVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *

The HTTP status of the request.

*/ inline const ResourceStatus& GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The HTTP status of the request.

*/ inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The HTTP status of the request.

*/ inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The HTTP status of the request.

*/ inline DashboardVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;} /** *

The HTTP status of the request.

*/ inline DashboardVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

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 DashboardVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the resource.

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

The Amazon Resource Name (ARN) of the resource.

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

Source entity ARN.

*/ inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; } /** *

Source entity ARN.

*/ inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; } /** *

Source entity ARN.

*/ inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; } /** *

Source entity ARN.

*/ inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); } /** *

Source entity ARN.

*/ inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); } /** *

Source entity ARN.

*/ inline DashboardVersion& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;} /** *

Source entity ARN.

*/ inline DashboardVersion& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;} /** *

Source entity ARN.

*/ inline DashboardVersion& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;} /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline const Aws::Vector& GetDataSetArns() const{ return m_dataSetArns; } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline bool DataSetArnsHasBeenSet() const { return m_dataSetArnsHasBeenSet; } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline void SetDataSetArns(const Aws::Vector& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = value; } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline void SetDataSetArns(Aws::Vector&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = std::move(value); } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline DashboardVersion& WithDataSetArns(const Aws::Vector& value) { SetDataSetArns(value); return *this;} /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline DashboardVersion& WithDataSetArns(Aws::Vector&& value) { SetDataSetArns(std::move(value)); return *this;} /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline DashboardVersion& AddDataSetArns(const Aws::String& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline DashboardVersion& AddDataSetArns(Aws::String&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with * this version of the dashboard.

*/ inline DashboardVersion& AddDataSetArns(const char* value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; } /** *

Description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Description.

*/ inline DashboardVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Description.

*/ inline DashboardVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Description.

*/ inline DashboardVersion& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline const Aws::String& GetThemeArn() const{ return m_themeArn; } /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; } /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; } /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); } /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); } /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline DashboardVersion& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;} /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline DashboardVersion& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;} /** *

The ARN of the theme associated with a version of the dashboard.

*/ inline DashboardVersion& WithThemeArn(const char* value) { SetThemeArn(value); return *this;} /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline const Aws::Vector& GetSheets() const{ return m_sheets; } /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; } /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline void SetSheets(const Aws::Vector& value) { m_sheetsHasBeenSet = true; m_sheets = value; } /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline void SetSheets(Aws::Vector&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); } /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline DashboardVersion& WithSheets(const Aws::Vector& value) { SetSheets(value); return *this;} /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline DashboardVersion& WithSheets(Aws::Vector&& value) { SetSheets(std::move(value)); return *this;} /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline DashboardVersion& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; } /** *

A list of the associated sheets with the unique identifier and name of each * sheet.

*/ inline DashboardVersion& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Vector m_errors; bool m_errorsHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; ResourceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_sourceEntityArn; bool m_sourceEntityArnHasBeenSet = false; Aws::Vector m_dataSetArns; bool m_dataSetArnsHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_themeArn; bool m_themeArnHasBeenSet = false; Aws::Vector m_sheets; bool m_sheetsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws