/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides UserID metadata along with the confidence in the match of this
* UserID with the input face.See Also:
AWS
* API Reference
Describes the UserID metadata.
*/ inline double GetSimilarity() const{ return m_similarity; } /** *Describes the UserID metadata.
*/ inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; } /** *Describes the UserID metadata.
*/ inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; } /** *Describes the UserID metadata.
*/ inline UserMatch& WithSimilarity(double value) { SetSimilarity(value); return *this;} /** *Confidence in the match of this UserID with the input face.
*/ inline const MatchedUser& GetUser() const{ return m_user; } /** *Confidence in the match of this UserID with the input face.
*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *Confidence in the match of this UserID with the input face.
*/ inline void SetUser(const MatchedUser& value) { m_userHasBeenSet = true; m_user = value; } /** *Confidence in the match of this UserID with the input face.
*/ inline void SetUser(MatchedUser&& value) { m_userHasBeenSet = true; m_user = std::move(value); } /** *Confidence in the match of this UserID with the input face.
*/ inline UserMatch& WithUser(const MatchedUser& value) { SetUser(value); return *this;} /** *Confidence in the match of this UserID with the input face.
*/ inline UserMatch& WithUser(MatchedUser&& value) { SetUser(std::move(value)); return *this;} private: double m_similarity; bool m_similarityHasBeenSet = false; MatchedUser m_user; bool m_userHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws