242 lines
9.2 KiB
C++
242 lines
9.2 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 Http
|
|
{
|
|
class URI;
|
|
} //namespace Http
|
|
namespace QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_QUICKSIGHT_API DescribeThemeRequest : public QuickSightRequest
|
|
{
|
|
public:
|
|
DescribeThemeRequest();
|
|
|
|
// 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 "DescribeTheme"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
|
|
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the theme that you're describing.</p>
|
|
*/
|
|
inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the theme that you're describing.</p>
|
|
*/
|
|
inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the theme that you're describing.</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 that you're describing.</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 that you're describing.</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 that you're describing.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the theme that you're describing.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the theme that you're describing.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline const Aws::String& GetThemeId() const{ return m_themeId; }
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID for the theme.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The version number for the version to describe. If a
|
|
* <code>VersionNumber</code> parameter value isn't provided, the latest version of
|
|
* the theme is described.</p>
|
|
*/
|
|
inline long long GetVersionNumber() const{ return m_versionNumber; }
|
|
|
|
/**
|
|
* <p>The version number for the version to describe. If a
|
|
* <code>VersionNumber</code> parameter value isn't provided, the latest version of
|
|
* the theme is described.</p>
|
|
*/
|
|
inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The version number for the version to describe. If a
|
|
* <code>VersionNumber</code> parameter value isn't provided, the latest version of
|
|
* the theme is described.</p>
|
|
*/
|
|
inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
|
|
|
|
/**
|
|
* <p>The version number for the version to describe. If a
|
|
* <code>VersionNumber</code> parameter value isn't provided, the latest version of
|
|
* the theme is described.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline const Aws::String& GetAliasName() const{ return m_aliasName; }
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The alias of the theme that you want to describe. If you name a specific
|
|
* alias, you describe the version that the alias points to. You can specify the
|
|
* latest version of the theme by providing the keyword <code>$LATEST</code> in the
|
|
* <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't
|
|
* apply to themes.</p>
|
|
*/
|
|
inline DescribeThemeRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_awsAccountId;
|
|
bool m_awsAccountIdHasBeenSet;
|
|
|
|
Aws::String m_themeId;
|
|
bool m_themeIdHasBeenSet;
|
|
|
|
long long m_versionNumber;
|
|
bool m_versionNumberHasBeenSet;
|
|
|
|
Aws::String m_aliasName;
|
|
bool m_aliasNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|