/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Rekognition { namespace Model { DisassociatedFace::DisassociatedFace() : m_faceIdHasBeenSet(false) { } DisassociatedFace::DisassociatedFace(JsonView jsonValue) : m_faceIdHasBeenSet(false) { *this = jsonValue; } DisassociatedFace& DisassociatedFace::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("FaceId")) { m_faceId = jsonValue.GetString("FaceId"); m_faceIdHasBeenSet = true; } return *this; } JsonValue DisassociatedFace::Jsonize() const { JsonValue payload; if(m_faceIdHasBeenSet) { payload.WithString("FaceId", m_faceId); } return payload; } } // namespace Model } // namespace Rekognition } // namespace Aws