This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

157 lines
4.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* <p>An alias for a theme.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ThemeAlias">AWS
* API Reference</a></p>
*/
class AWS_QUICKSIGHT_API ThemeAlias
{
public:
ThemeAlias();
ThemeAlias(Aws::Utils::Json::JsonView jsonValue);
ThemeAlias& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline ThemeAlias& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline ThemeAlias& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the theme alias.</p>
*/
inline ThemeAlias& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The display name of the theme alias.</p>
*/
inline const Aws::String& GetAliasName() const{ return m_aliasName; }
/**
* <p>The display name of the theme alias.</p>
*/
inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
/**
* <p>The display name of the theme alias.</p>
*/
inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
/**
* <p>The display name of the theme alias.</p>
*/
inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
/**
* <p>The display name of the theme alias.</p>
*/
inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
/**
* <p>The display name of the theme alias.</p>
*/
inline ThemeAlias& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
/**
* <p>The display name of the theme alias.</p>
*/
inline ThemeAlias& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
/**
* <p>The display name of the theme alias.</p>
*/
inline ThemeAlias& WithAliasName(const char* value) { SetAliasName(value); return *this;}
/**
* <p>The version number of the theme alias.</p>
*/
inline long long GetThemeVersionNumber() const{ return m_themeVersionNumber; }
/**
* <p>The version number of the theme alias.</p>
*/
inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; }
/**
* <p>The version number of the theme alias.</p>
*/
inline void SetThemeVersionNumber(long long value) { m_themeVersionNumberHasBeenSet = true; m_themeVersionNumber = value; }
/**
* <p>The version number of the theme alias.</p>
*/
inline ThemeAlias& WithThemeVersionNumber(long long value) { SetThemeVersionNumber(value); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_aliasName;
bool m_aliasNameHasBeenSet;
long long m_themeVersionNumber;
bool m_themeVersionNumberHasBeenSet;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws