/** * 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 Rekognition { namespace Model { /** */ class DeleteFacesRequest : public RekognitionRequest { public: AWS_REKOGNITION_API DeleteFacesRequest(); // 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 "DeleteFaces"; } AWS_REKOGNITION_API Aws::String SerializePayload() const override; AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Collection from which to remove the specific faces.

*/ inline const Aws::String& GetCollectionId() const{ return m_collectionId; } /** *

Collection from which to remove the specific faces.

*/ inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; } /** *

Collection from which to remove the specific faces.

*/ inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; } /** *

Collection from which to remove the specific faces.

*/ inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); } /** *

Collection from which to remove the specific faces.

*/ inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); } /** *

Collection from which to remove the specific faces.

*/ inline DeleteFacesRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;} /** *

Collection from which to remove the specific faces.

*/ inline DeleteFacesRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;} /** *

Collection from which to remove the specific faces.

*/ inline DeleteFacesRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;} /** *

An array of face IDs to delete.

*/ inline const Aws::Vector& GetFaceIds() const{ return m_faceIds; } /** *

An array of face IDs to delete.

*/ inline bool FaceIdsHasBeenSet() const { return m_faceIdsHasBeenSet; } /** *

An array of face IDs to delete.

*/ inline void SetFaceIds(const Aws::Vector& value) { m_faceIdsHasBeenSet = true; m_faceIds = value; } /** *

An array of face IDs to delete.

*/ inline void SetFaceIds(Aws::Vector&& value) { m_faceIdsHasBeenSet = true; m_faceIds = std::move(value); } /** *

An array of face IDs to delete.

*/ inline DeleteFacesRequest& WithFaceIds(const Aws::Vector& value) { SetFaceIds(value); return *this;} /** *

An array of face IDs to delete.

*/ inline DeleteFacesRequest& WithFaceIds(Aws::Vector&& value) { SetFaceIds(std::move(value)); return *this;} /** *

An array of face IDs to delete.

*/ inline DeleteFacesRequest& AddFaceIds(const Aws::String& value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(value); return *this; } /** *

An array of face IDs to delete.

*/ inline DeleteFacesRequest& AddFaceIds(Aws::String&& value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(std::move(value)); return *this; } /** *

An array of face IDs to delete.

*/ inline DeleteFacesRequest& AddFaceIds(const char* value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(value); return *this; } private: Aws::String m_collectionId; bool m_collectionIdHasBeenSet = false; Aws::Vector m_faceIds; bool m_faceIdsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws