179 lines
5.2 KiB
C++
179 lines
5.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/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_QUICKSIGHT_API DeleteDataSourceResult
|
|
{
|
|
public:
|
|
DeleteDataSourceResult();
|
|
DeleteDataSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DeleteDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline void SetArn(const char* value) { m_arn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the data source that you deleted.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithArn(const char* value) { SetArn(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 void SetDataSourceId(const Aws::String& value) { 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_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_dataSourceId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the data source. This ID is unique per AWS Region for each AWS
|
|
* account.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& 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 DeleteDataSourceResult& 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 DeleteDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline const Aws::String& GetRequestId() const{ return m_requestId; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline int GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline void SetStatus(int value) { m_status = value; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline DeleteDataSourceResult& WithStatus(int value) { SetStatus(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
|
|
Aws::String m_dataSourceId;
|
|
|
|
Aws::String m_requestId;
|
|
|
|
int m_status;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|