/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 DisassociateFacesResult { public: AWS_REKOGNITION_API DisassociateFacesResult(); AWS_REKOGNITION_API DisassociateFacesResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API DisassociateFacesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

*/ inline const Aws::Vector& GetDisassociatedFaces() const{ return m_disassociatedFaces; } /** *

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

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

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

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

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

*/ inline DisassociateFacesResult& WithDisassociatedFaces(const Aws::Vector& value) { SetDisassociatedFaces(value); return *this;} /** *

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

*/ inline DisassociateFacesResult& WithDisassociatedFaces(Aws::Vector&& value) { SetDisassociatedFaces(std::move(value)); return *this;} /** *

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

*/ inline DisassociateFacesResult& AddDisassociatedFaces(const DisassociatedFace& value) { m_disassociatedFaces.push_back(value); return *this; } /** *

An array of DissociatedFace objects containing FaceIds that are successfully * disassociated with the UserID is returned. Returned if the DisassociatedFaces * action is successful.

*/ inline DisassociateFacesResult& AddDisassociatedFaces(DisassociatedFace&& value) { m_disassociatedFaces.push_back(std::move(value)); return *this; } /** *

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

*/ inline const Aws::Vector& GetUnsuccessfulFaceDisassociations() const{ return m_unsuccessfulFaceDisassociations; } /** *

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

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

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

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

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

*/ inline DisassociateFacesResult& WithUnsuccessfulFaceDisassociations(const Aws::Vector& value) { SetUnsuccessfulFaceDisassociations(value); return *this;} /** *

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

*/ inline DisassociateFacesResult& WithUnsuccessfulFaceDisassociations(Aws::Vector&& value) { SetUnsuccessfulFaceDisassociations(std::move(value)); return *this;} /** *

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

*/ inline DisassociateFacesResult& AddUnsuccessfulFaceDisassociations(const UnsuccessfulFaceDisassociation& value) { m_unsuccessfulFaceDisassociations.push_back(value); return *this; } /** *

An array of UnsuccessfulDisassociation objects containing FaceIds that are * not successfully associated, along with the reasons for the failure to * associate. Returned if the DisassociateFaces action is successful.

*/ inline DisassociateFacesResult& AddUnsuccessfulFaceDisassociations(UnsuccessfulFaceDisassociation&& value) { m_unsuccessfulFaceDisassociations.push_back(std::move(value)); return *this; } /** *

The status of an update made to a User. Reflects if the User has been updated * for every requested change.

*/ inline const UserStatus& GetUserStatus() const{ return m_userStatus; } /** *

The status of an update made to a User. Reflects if the User has been updated * for every requested change.

*/ inline void SetUserStatus(const UserStatus& value) { m_userStatus = value; } /** *

The status of an update made to a User. Reflects if the User has been updated * for every requested change.

*/ inline void SetUserStatus(UserStatus&& value) { m_userStatus = std::move(value); } /** *

The status of an update made to a User. Reflects if the User has been updated * for every requested change.

*/ inline DisassociateFacesResult& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;} /** *

The status of an update made to a User. Reflects if the User has been updated * for every requested change.

*/ inline DisassociateFacesResult& WithUserStatus(UserStatus&& value) { SetUserStatus(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 DisassociateFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DisassociateFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DisassociateFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_disassociatedFaces; Aws::Vector m_unsuccessfulFaceDisassociations; UserStatus m_userStatus; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws