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

An alias for a theme.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The Amazon Resource Name (ARN) of the theme alias.

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

The display name of the theme alias.

*/ inline const Aws::String& GetAliasName() const{ return m_aliasName; } /** *

The display name of the theme alias.

*/ inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; } /** *

The display name of the theme alias.

*/ inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; } /** *

The display name of the theme alias.

*/ inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); } /** *

The display name of the theme alias.

*/ inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); } /** *

The display name of the theme alias.

*/ inline ThemeAlias& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;} /** *

The display name of the theme alias.

*/ inline ThemeAlias& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;} /** *

The display name of the theme alias.

*/ inline ThemeAlias& WithAliasName(const char* value) { SetAliasName(value); return *this;} /** *

The version number of the theme alias.

*/ inline long long GetThemeVersionNumber() const{ return m_themeVersionNumber; } /** *

The version number of the theme alias.

*/ inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; } /** *

The version number of the theme alias.

*/ inline void SetThemeVersionNumber(long long value) { m_themeVersionNumberHasBeenSet = true; m_themeVersionNumber = value; } /** *

The version number of the theme alias.

*/ inline ThemeAlias& WithThemeVersionNumber(long long value) { SetThemeVersionNumber(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; long long m_themeVersionNumber; bool m_themeVersionNumberHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws