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
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CreateThemeAliasRequest.h

220 lines
7.7 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/quicksight/QuickSightRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace QuickSight
{
namespace Model
{
/**
*/
class AWS_QUICKSIGHT_API CreateThemeAliasRequest : public QuickSightRequest
{
public:
CreateThemeAliasRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateThemeAlias"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline CreateThemeAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline CreateThemeAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
/**
* <p>The ID of the AWS account that contains the theme for the new theme
* alias.</p>
*/
inline CreateThemeAliasRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
/**
* <p>An ID for the theme alias.</p>
*/
inline const Aws::String& GetThemeId() const{ return m_themeId; }
/**
* <p>An ID for the theme alias.</p>
*/
inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
/**
* <p>An ID for the theme alias.</p>
*/
inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
/**
* <p>An ID for the theme alias.</p>
*/
inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
/**
* <p>An ID for the theme alias.</p>
*/
inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
/**
* <p>An ID for the theme alias.</p>
*/
inline CreateThemeAliasRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
/**
* <p>An ID for the theme alias.</p>
*/
inline CreateThemeAliasRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
/**
* <p>An ID for the theme alias.</p>
*/
inline CreateThemeAliasRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline const Aws::String& GetAliasName() const{ return m_aliasName; }
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline CreateThemeAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline CreateThemeAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
/**
* <p>The name that you want to give to the theme alias that you are creating. The
* alias name can't begin with a <code>$</code>. Alias names that start with
* <code>$</code> are reserved by Amazon QuickSight. </p>
*/
inline CreateThemeAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
/**
* <p>The version number of the theme.</p>
*/
inline long long GetThemeVersionNumber() const{ return m_themeVersionNumber; }
/**
* <p>The version number of the theme.</p>
*/
inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; }
/**
* <p>The version number of the theme.</p>
*/
inline void SetThemeVersionNumber(long long value) { m_themeVersionNumberHasBeenSet = true; m_themeVersionNumber = value; }
/**
* <p>The version number of the theme.</p>
*/
inline CreateThemeAliasRequest& WithThemeVersionNumber(long long value) { SetThemeVersionNumber(value); return *this;}
private:
Aws::String m_awsAccountId;
bool m_awsAccountIdHasBeenSet;
Aws::String m_themeId;
bool m_themeIdHasBeenSet;
Aws::String m_aliasName;
bool m_aliasNameHasBeenSet;
long long m_themeVersionNumber;
bool m_themeVersionNumberHasBeenSet;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws