136 lines
4.2 KiB
C++
136 lines
4.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 QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_QUICKSIGHT_API DeleteDataSourceRequest : public QuickSightRequest
|
|
{
|
|
public:
|
|
DeleteDataSourceRequest();
|
|
|
|
// 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 "DeleteDataSource"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS account ID.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline DeleteDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_awsAccountId;
|
|
bool m_awsAccountIdHasBeenSet;
|
|
|
|
Aws::String m_dataSourceId;
|
|
bool m_dataSourceIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|