/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

Contains metadata like FaceId, UserID, and Reasons, for a face that was * unsuccessfully disassociated.

See Also:

AWS * API Reference

*/ class UnsuccessfulFaceDisassociation { public: AWS_REKOGNITION_API UnsuccessfulFaceDisassociation(); AWS_REKOGNITION_API UnsuccessfulFaceDisassociation(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API UnsuccessfulFaceDisassociation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique identifier assigned to the face.

*/ inline const Aws::String& GetFaceId() const{ return m_faceId; } /** *

A unique identifier assigned to the face.

*/ inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; } /** *

A unique identifier assigned to the face.

*/ inline void SetFaceId(const Aws::String& value) { m_faceIdHasBeenSet = true; m_faceId = value; } /** *

A unique identifier assigned to the face.

*/ inline void SetFaceId(Aws::String&& value) { m_faceIdHasBeenSet = true; m_faceId = std::move(value); } /** *

A unique identifier assigned to the face.

*/ inline void SetFaceId(const char* value) { m_faceIdHasBeenSet = true; m_faceId.assign(value); } /** *

A unique identifier assigned to the face.

*/ inline UnsuccessfulFaceDisassociation& WithFaceId(const Aws::String& value) { SetFaceId(value); return *this;} /** *

A unique identifier assigned to the face.

*/ inline UnsuccessfulFaceDisassociation& WithFaceId(Aws::String&& value) { SetFaceId(std::move(value)); return *this;} /** *

A unique identifier assigned to the face.

*/ inline UnsuccessfulFaceDisassociation& WithFaceId(const char* value) { SetFaceId(value); return *this;} /** *

A provided ID for the UserID. Unique within the collection.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline UnsuccessfulFaceDisassociation& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

A provided ID for the UserID. Unique within the collection.

*/ inline UnsuccessfulFaceDisassociation& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

A provided ID for the UserID. Unique within the collection.

*/ inline UnsuccessfulFaceDisassociation& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The reason why the deletion was unsuccessful.

*/ inline const Aws::Vector& GetReasons() const{ return m_reasons; } /** *

The reason why the deletion was unsuccessful.

*/ inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; } /** *

The reason why the deletion was unsuccessful.

*/ inline void SetReasons(const Aws::Vector& value) { m_reasonsHasBeenSet = true; m_reasons = value; } /** *

The reason why the deletion was unsuccessful.

*/ inline void SetReasons(Aws::Vector&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); } /** *

The reason why the deletion was unsuccessful.

*/ inline UnsuccessfulFaceDisassociation& WithReasons(const Aws::Vector& value) { SetReasons(value); return *this;} /** *

The reason why the deletion was unsuccessful.

*/ inline UnsuccessfulFaceDisassociation& WithReasons(Aws::Vector&& value) { SetReasons(std::move(value)); return *this;} /** *

The reason why the deletion was unsuccessful.

*/ inline UnsuccessfulFaceDisassociation& AddReasons(const UnsuccessfulFaceDisassociationReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; } /** *

The reason why the deletion was unsuccessful.

*/ inline UnsuccessfulFaceDisassociation& AddReasons(UnsuccessfulFaceDisassociationReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; } private: Aws::String m_faceId; bool m_faceIdHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; Aws::Vector m_reasons; bool m_reasonsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws