170 lines
5.5 KiB
C++
170 lines
5.5 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 DeleteDashboardRequest : public QuickSightRequest
|
|
{
|
|
public:
|
|
DeleteDashboardRequest();
|
|
|
|
// 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 "DeleteDashboard"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
|
|
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</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 dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the AWS account that contains the dashboard that you're
|
|
* deleting.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID for the dashboard.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The version number of the dashboard. If the version number property is
|
|
* provided, only the specified version of the dashboard is deleted.</p>
|
|
*/
|
|
inline long long GetVersionNumber() const{ return m_versionNumber; }
|
|
|
|
/**
|
|
* <p>The version number of the dashboard. If the version number property is
|
|
* provided, only the specified version of the dashboard is deleted.</p>
|
|
*/
|
|
inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The version number of the dashboard. If the version number property is
|
|
* provided, only the specified version of the dashboard is deleted.</p>
|
|
*/
|
|
inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
|
|
|
|
/**
|
|
* <p>The version number of the dashboard. If the version number property is
|
|
* provided, only the specified version of the dashboard is deleted.</p>
|
|
*/
|
|
inline DeleteDashboardRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_awsAccountId;
|
|
bool m_awsAccountIdHasBeenSet;
|
|
|
|
Aws::String m_dashboardId;
|
|
bool m_dashboardIdHasBeenSet;
|
|
|
|
long long m_versionNumber;
|
|
bool m_versionNumberHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|