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

The template alias.

See Also:

AWS * API Reference

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

The display name of the template alias.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The version number of the template alias.

*/ inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; } /** *

The version number of the template alias.

*/ inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; } /** *

The version number of the template alias.

*/ inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; } /** *

The version number of the template alias.

*/ inline TemplateAlias& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;} private: Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; long long m_templateVersionNumber; bool m_templateVersionNumberHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws