/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace FinSpaceData { namespace Model { /** * The request for a DeleteDataset operation.

See Also:

AWS * API Reference

*/ class DeleteDatasetRequest : public FinSpaceDataRequest { public: AWS_FINSPACEDATA_API DeleteDatasetRequest(); // 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 "DeleteDataset"; } AWS_FINSPACEDATA_API Aws::String SerializePayload() const override; AWS_FINSPACEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeleteDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeleteDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeleteDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The unique identifier of the Dataset to be deleted.

*/ inline const Aws::String& GetDatasetId() const{ return m_datasetId; } /** *

The unique identifier of the Dataset to be deleted.

*/ inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; } /** *

The unique identifier of the Dataset to be deleted.

*/ inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; } /** *

The unique identifier of the Dataset to be deleted.

*/ inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); } /** *

The unique identifier of the Dataset to be deleted.

*/ inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); } /** *

The unique identifier of the Dataset to be deleted.

*/ inline DeleteDatasetRequest& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;} /** *

The unique identifier of the Dataset to be deleted.

*/ inline DeleteDatasetRequest& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;} /** *

The unique identifier of the Dataset to be deleted.

*/ inline DeleteDatasetRequest& WithDatasetId(const char* value) { SetDatasetId(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws