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

The theme summary.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the resource.

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

The Amazon Resource Name (ARN) of the resource.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

the display name for the theme.

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

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline const Aws::String& GetThemeId() const{ return m_themeId; } /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; } /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; } /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); } /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); } /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline ThemeSummary& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;} /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline ThemeSummary& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;} /** *

The ID of the theme. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.

*/ inline ThemeSummary& WithThemeId(const char* value) { SetThemeId(value); return *this;} /** *

The latest version number for the theme.

*/ inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; } /** *

The latest version number for the theme.

*/ inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; } /** *

The latest version number for the theme.

*/ inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; } /** *

The latest version number for the theme.

*/ inline ThemeSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;} /** *

The date and time that this theme was created.

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

The date and time that this theme was created.

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

The date and time that this theme was created.

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

The date and time that this theme was created.

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

The date and time that this theme was created.

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

The date and time that this theme was created.

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

The last date and time that this theme was updated.

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

The last date and time that this theme was updated.

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

The last date and time that this theme was updated.

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

The last date and time that this theme was updated.

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

The last date and time that this theme was updated.

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

The last date and time that this theme was updated.

*/ inline ThemeSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_themeId; bool m_themeIdHasBeenSet = false; long long m_latestVersionNumber; bool m_latestVersionNumberHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws