/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { class DeleteFacesResult { public: AWS_REKOGNITION_API DeleteFacesResult(); AWS_REKOGNITION_API DeleteFacesResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API DeleteFacesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline const Aws::Vector& GetDeletedFaces() const{ return m_deletedFaces; } /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline void SetDeletedFaces(const Aws::Vector& value) { m_deletedFaces = value; } /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline void SetDeletedFaces(Aws::Vector&& value) { m_deletedFaces = std::move(value); } /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline DeleteFacesResult& WithDeletedFaces(const Aws::Vector& value) { SetDeletedFaces(value); return *this;} /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline DeleteFacesResult& WithDeletedFaces(Aws::Vector&& value) { SetDeletedFaces(std::move(value)); return *this;} /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline DeleteFacesResult& AddDeletedFaces(const Aws::String& value) { m_deletedFaces.push_back(value); return *this; } /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline DeleteFacesResult& AddDeletedFaces(Aws::String&& value) { m_deletedFaces.push_back(std::move(value)); return *this; } /** *

An array of strings (face IDs) of the faces that were deleted.

*/ inline DeleteFacesResult& AddDeletedFaces(const char* value) { m_deletedFaces.push_back(value); return *this; } /** *

An array of any faces that weren't deleted.

*/ inline const Aws::Vector& GetUnsuccessfulFaceDeletions() const{ return m_unsuccessfulFaceDeletions; } /** *

An array of any faces that weren't deleted.

*/ inline void SetUnsuccessfulFaceDeletions(const Aws::Vector& value) { m_unsuccessfulFaceDeletions = value; } /** *

An array of any faces that weren't deleted.

*/ inline void SetUnsuccessfulFaceDeletions(Aws::Vector&& value) { m_unsuccessfulFaceDeletions = std::move(value); } /** *

An array of any faces that weren't deleted.

*/ inline DeleteFacesResult& WithUnsuccessfulFaceDeletions(const Aws::Vector& value) { SetUnsuccessfulFaceDeletions(value); return *this;} /** *

An array of any faces that weren't deleted.

*/ inline DeleteFacesResult& WithUnsuccessfulFaceDeletions(Aws::Vector&& value) { SetUnsuccessfulFaceDeletions(std::move(value)); return *this;} /** *

An array of any faces that weren't deleted.

*/ inline DeleteFacesResult& AddUnsuccessfulFaceDeletions(const UnsuccessfulFaceDeletion& value) { m_unsuccessfulFaceDeletions.push_back(value); return *this; } /** *

An array of any faces that weren't deleted.

*/ inline DeleteFacesResult& AddUnsuccessfulFaceDeletions(UnsuccessfulFaceDeletion&& value) { m_unsuccessfulFaceDeletions.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_deletedFaces; Aws::Vector m_unsuccessfulFaceDeletions; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws