AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComparedFace.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BoundingBox.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/Pose.h>
11#include <aws/rekognition/model/ImageQuality.h>
12#include <aws/rekognition/model/Smile.h>
13#include <aws/rekognition/model/Landmark.h>
14#include <aws/rekognition/model/Emotion.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_REKOGNITION_API ComparedFace();
43 AWS_REKOGNITION_API ComparedFace(Aws::Utils::Json::JsonView jsonValue);
44 AWS_REKOGNITION_API ComparedFace& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; }
53 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
54 inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
55 inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
56 inline ComparedFace& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;}
57 inline ComparedFace& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;}
59
61
64 inline double GetConfidence() const{ return m_confidence; }
65 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
66 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
67 inline ComparedFace& WithConfidence(double value) { SetConfidence(value); return *this;}
69
71
74 inline const Aws::Vector<Landmark>& GetLandmarks() const{ return m_landmarks; }
75 inline bool LandmarksHasBeenSet() const { return m_landmarksHasBeenSet; }
76 inline void SetLandmarks(const Aws::Vector<Landmark>& value) { m_landmarksHasBeenSet = true; m_landmarks = value; }
77 inline void SetLandmarks(Aws::Vector<Landmark>&& value) { m_landmarksHasBeenSet = true; m_landmarks = std::move(value); }
78 inline ComparedFace& WithLandmarks(const Aws::Vector<Landmark>& value) { SetLandmarks(value); return *this;}
79 inline ComparedFace& WithLandmarks(Aws::Vector<Landmark>&& value) { SetLandmarks(std::move(value)); return *this;}
80 inline ComparedFace& AddLandmarks(const Landmark& value) { m_landmarksHasBeenSet = true; m_landmarks.push_back(value); return *this; }
81 inline ComparedFace& AddLandmarks(Landmark&& value) { m_landmarksHasBeenSet = true; m_landmarks.push_back(std::move(value)); return *this; }
83
85
88 inline const Pose& GetPose() const{ return m_pose; }
89 inline bool PoseHasBeenSet() const { return m_poseHasBeenSet; }
90 inline void SetPose(const Pose& value) { m_poseHasBeenSet = true; m_pose = value; }
91 inline void SetPose(Pose&& value) { m_poseHasBeenSet = true; m_pose = std::move(value); }
92 inline ComparedFace& WithPose(const Pose& value) { SetPose(value); return *this;}
93 inline ComparedFace& WithPose(Pose&& value) { SetPose(std::move(value)); return *this;}
95
97
100 inline const ImageQuality& GetQuality() const{ return m_quality; }
101 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
102 inline void SetQuality(const ImageQuality& value) { m_qualityHasBeenSet = true; m_quality = value; }
103 inline void SetQuality(ImageQuality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); }
104 inline ComparedFace& WithQuality(const ImageQuality& value) { SetQuality(value); return *this;}
105 inline ComparedFace& WithQuality(ImageQuality&& value) { SetQuality(std::move(value)); return *this;}
107
109
114 inline const Aws::Vector<Emotion>& GetEmotions() const{ return m_emotions; }
115 inline bool EmotionsHasBeenSet() const { return m_emotionsHasBeenSet; }
116 inline void SetEmotions(const Aws::Vector<Emotion>& value) { m_emotionsHasBeenSet = true; m_emotions = value; }
117 inline void SetEmotions(Aws::Vector<Emotion>&& value) { m_emotionsHasBeenSet = true; m_emotions = std::move(value); }
118 inline ComparedFace& WithEmotions(const Aws::Vector<Emotion>& value) { SetEmotions(value); return *this;}
119 inline ComparedFace& WithEmotions(Aws::Vector<Emotion>&& value) { SetEmotions(std::move(value)); return *this;}
120 inline ComparedFace& AddEmotions(const Emotion& value) { m_emotionsHasBeenSet = true; m_emotions.push_back(value); return *this; }
121 inline ComparedFace& AddEmotions(Emotion&& value) { m_emotionsHasBeenSet = true; m_emotions.push_back(std::move(value)); return *this; }
123
125
129 inline const Smile& GetSmile() const{ return m_smile; }
130 inline bool SmileHasBeenSet() const { return m_smileHasBeenSet; }
131 inline void SetSmile(const Smile& value) { m_smileHasBeenSet = true; m_smile = value; }
132 inline void SetSmile(Smile&& value) { m_smileHasBeenSet = true; m_smile = std::move(value); }
133 inline ComparedFace& WithSmile(const Smile& value) { SetSmile(value); return *this;}
134 inline ComparedFace& WithSmile(Smile&& value) { SetSmile(std::move(value)); return *this;}
136 private:
137
138 BoundingBox m_boundingBox;
139 bool m_boundingBoxHasBeenSet = false;
140
141 double m_confidence;
142 bool m_confidenceHasBeenSet = false;
143
144 Aws::Vector<Landmark> m_landmarks;
145 bool m_landmarksHasBeenSet = false;
146
147 Pose m_pose;
148 bool m_poseHasBeenSet = false;
149
150 ImageQuality m_quality;
151 bool m_qualityHasBeenSet = false;
152
153 Aws::Vector<Emotion> m_emotions;
154 bool m_emotionsHasBeenSet = false;
155
156 Smile m_smile;
157 bool m_smileHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Rekognition
162} // namespace Aws
const ImageQuality & GetQuality() const
ComparedFace & WithPose(Pose &&value)
ComparedFace & WithBoundingBox(BoundingBox &&value)
void SetEmotions(Aws::Vector< Emotion > &&value)
AWS_REKOGNITION_API ComparedFace()
const Aws::Vector< Landmark > & GetLandmarks() const
ComparedFace & WithSmile(const Smile &value)
AWS_REKOGNITION_API ComparedFace & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLandmarks(Aws::Vector< Landmark > &&value)
void SetSmile(const Smile &value)
ComparedFace & AddEmotions(const Emotion &value)
ComparedFace & AddEmotions(Emotion &&value)
void SetEmotions(const Aws::Vector< Emotion > &value)
void SetLandmarks(const Aws::Vector< Landmark > &value)
ComparedFace & WithQuality(ImageQuality &&value)
ComparedFace & WithPose(const Pose &value)
ComparedFace & WithLandmarks(const Aws::Vector< Landmark > &value)
ComparedFace & WithEmotions(const Aws::Vector< Emotion > &value)
ComparedFace & WithEmotions(Aws::Vector< Emotion > &&value)
void SetBoundingBox(const BoundingBox &value)
const BoundingBox & GetBoundingBox() const
void SetBoundingBox(BoundingBox &&value)
AWS_REKOGNITION_API ComparedFace(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuality(ImageQuality &&value)
ComparedFace & AddLandmarks(const Landmark &value)
ComparedFace & WithSmile(Smile &&value)
ComparedFace & WithLandmarks(Aws::Vector< Landmark > &&value)
void SetPose(const Pose &value)
ComparedFace & AddLandmarks(Landmark &&value)
ComparedFace & WithBoundingBox(const BoundingBox &value)
const Aws::Vector< Emotion > & GetEmotions() const
void SetQuality(const ImageQuality &value)
ComparedFace & WithQuality(const ImageQuality &value)
ComparedFace & WithConfidence(double value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue