/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTSiteWise { namespace Model { /** */ class BatchDisassociateProjectAssetsRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API BatchDisassociateProjectAssetsRequest(); // 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 "BatchDisassociateProjectAssets"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; /** *

The ID of the project from which to disassociate the assets.

*/ inline const Aws::String& GetProjectId() const{ return m_projectId; } /** *

The ID of the project from which to disassociate the assets.

*/ inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } /** *

The ID of the project from which to disassociate the assets.

*/ inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; } /** *

The ID of the project from which to disassociate the assets.

*/ inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); } /** *

The ID of the project from which to disassociate the assets.

*/ inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); } /** *

The ID of the project from which to disassociate the assets.

*/ inline BatchDisassociateProjectAssetsRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} /** *

The ID of the project from which to disassociate the assets.

*/ inline BatchDisassociateProjectAssetsRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} /** *

The ID of the project from which to disassociate the assets.

*/ inline BatchDisassociateProjectAssetsRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;} /** *

The IDs of the assets to be disassociated from the project.

*/ inline const Aws::Vector& GetAssetIds() const{ return m_assetIds; } /** *

The IDs of the assets to be disassociated from the project.

*/ inline bool AssetIdsHasBeenSet() const { return m_assetIdsHasBeenSet; } /** *

The IDs of the assets to be disassociated from the project.

*/ inline void SetAssetIds(const Aws::Vector& value) { m_assetIdsHasBeenSet = true; m_assetIds = value; } /** *

The IDs of the assets to be disassociated from the project.

*/ inline void SetAssetIds(Aws::Vector&& value) { m_assetIdsHasBeenSet = true; m_assetIds = std::move(value); } /** *

The IDs of the assets to be disassociated from the project.

*/ inline BatchDisassociateProjectAssetsRequest& WithAssetIds(const Aws::Vector& value) { SetAssetIds(value); return *this;} /** *

The IDs of the assets to be disassociated from the project.

*/ inline BatchDisassociateProjectAssetsRequest& WithAssetIds(Aws::Vector&& value) { SetAssetIds(std::move(value)); return *this;} /** *

The IDs of the assets to be disassociated from the project.

*/ inline BatchDisassociateProjectAssetsRequest& AddAssetIds(const Aws::String& value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(value); return *this; } /** *

The IDs of the assets to be disassociated from the project.

*/ inline BatchDisassociateProjectAssetsRequest& AddAssetIds(Aws::String&& value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(std::move(value)); return *this; } /** *

The IDs of the assets to be disassociated from the project.

*/ inline BatchDisassociateProjectAssetsRequest& AddAssetIds(const char* value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(value); return *this; } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

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

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline BatchDisassociateProjectAssetsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_projectId; bool m_projectIdHasBeenSet = false; Aws::Vector m_assetIds; bool m_assetIdsHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws