AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompareFacesMatch.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ComparedFace.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_REKOGNITION_API CompareFacesMatch();
39 AWS_REKOGNITION_API CompareFacesMatch(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline double GetSimilarity() const{ return m_similarity; }
49 inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; }
50 inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; }
51 inline CompareFacesMatch& WithSimilarity(double value) { SetSimilarity(value); return *this;}
53
55
59 inline const ComparedFace& GetFace() const{ return m_face; }
60 inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; }
61 inline void SetFace(const ComparedFace& value) { m_faceHasBeenSet = true; m_face = value; }
62 inline void SetFace(ComparedFace&& value) { m_faceHasBeenSet = true; m_face = std::move(value); }
63 inline CompareFacesMatch& WithFace(const ComparedFace& value) { SetFace(value); return *this;}
64 inline CompareFacesMatch& WithFace(ComparedFace&& value) { SetFace(std::move(value)); return *this;}
66 private:
67
68 double m_similarity;
69 bool m_similarityHasBeenSet = false;
70
71 ComparedFace m_face;
72 bool m_faceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Rekognition
77} // namespace Aws
CompareFacesMatch & WithFace(ComparedFace &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API CompareFacesMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFace(const ComparedFace &value)
CompareFacesMatch & WithFace(const ComparedFace &value)
AWS_REKOGNITION_API CompareFacesMatch(Aws::Utils::Json::JsonView jsonValue)
CompareFacesMatch & WithSimilarity(double value)
Aws::Utils::Json::JsonValue JsonValue