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

Dashboard version summary.

See Also:

AWS * API Reference

*/ class DashboardVersionSummary { public: AWS_QUICKSIGHT_API DashboardVersionSummary(); AWS_QUICKSIGHT_API DashboardVersionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API DashboardVersionSummary& 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 DashboardVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the resource.

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

The Amazon Resource Name (ARN) of the resource.

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

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 DashboardVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The time that this dashboard version was created.

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

Version number.

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

Version number.

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

Version number.

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

Version number.

*/ inline DashboardVersionSummary& 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 DashboardVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;} /** *

The HTTP status of the request.

*/ inline DashboardVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(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 DashboardVersionSummary& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;} /** *

Source entity ARN.

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

Source entity ARN.

*/ inline DashboardVersionSummary& WithSourceEntityArn(const char* value) { SetSourceEntityArn(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 DashboardVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Description.

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

Description.

*/ inline DashboardVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; ResourceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_sourceEntityArn; bool m_sourceEntityArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws