/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace QuickSight { namespace Model { /** */ class DeleteDataSourceRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API 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_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The Amazon Web Services account ID.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The Amazon Web Services account ID.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The Amazon Web Services account ID.

*/ inline DeleteDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline DeleteDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID.

*/ inline DeleteDataSourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; } /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; } /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); } /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); } /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline DeleteDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline DeleteDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *

The ID of the data source. This ID is unique per Amazon Web Services Region * for each Amazon Web Services account.

*/ inline DeleteDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_dataSourceId; bool m_dataSourceIdHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws