AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FaceMatch.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/Face.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
33 {
34 public:
35 AWS_REKOGNITION_API FaceMatch();
36 AWS_REKOGNITION_API FaceMatch(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API FaceMatch& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetSimilarity() const{ return m_similarity; }
46 inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; }
47 inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; }
48 inline FaceMatch& WithSimilarity(double value) { SetSimilarity(value); return *this;}
50
52
56 inline const Face& GetFace() const{ return m_face; }
57 inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; }
58 inline void SetFace(const Face& value) { m_faceHasBeenSet = true; m_face = value; }
59 inline void SetFace(Face&& value) { m_faceHasBeenSet = true; m_face = std::move(value); }
60 inline FaceMatch& WithFace(const Face& value) { SetFace(value); return *this;}
61 inline FaceMatch& WithFace(Face&& value) { SetFace(std::move(value)); return *this;}
63 private:
64
65 double m_similarity;
66 bool m_similarityHasBeenSet = false;
67
68 Face m_face;
69 bool m_faceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
AWS_REKOGNITION_API FaceMatch(Aws::Utils::Json::JsonView jsonValue)
void SetFace(const Face &value)
Definition FaceMatch.h:58
FaceMatch & WithSimilarity(double value)
Definition FaceMatch.h:48
FaceMatch & WithFace(Face &&value)
Definition FaceMatch.h:61
AWS_REKOGNITION_API FaceMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API FaceMatch()
const Face & GetFace() const
Definition FaceMatch.h:56
FaceMatch & WithFace(const Face &value)
Definition FaceMatch.h:60
void SetSimilarity(double value)
Definition FaceMatch.h:47
Aws::Utils::Json::JsonValue JsonValue