7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/BoundingBox.h>
10#include <aws/rekognition/model/Emotion.h>
11#include <aws/rekognition/model/ImageQuality.h>
12#include <aws/rekognition/model/Landmark.h>
13#include <aws/rekognition/model/Pose.h>
14#include <aws/rekognition/model/Smile.h>
25namespace Rekognition {
48 template <
typename BoundingBoxT = BoundingBox>
50 m_boundingBoxHasBeenSet =
true;
51 m_boundingBox = std::forward<BoundingBoxT>(value);
53 template <
typename BoundingBoxT = BoundingBox>
67 m_confidenceHasBeenSet =
true;
82 template <
typename LandmarksT = Aws::Vector<Landmark>>
84 m_landmarksHasBeenSet =
true;
85 m_landmarks = std::forward<LandmarksT>(value);
87 template <
typename LandmarksT = Aws::Vector<Landmark>>
92 template <
typename LandmarksT = Landmark>
94 m_landmarksHasBeenSet =
true;
95 m_landmarks.emplace_back(std::forward<LandmarksT>(value));
106 template <
typename PoseT = Pose>
108 m_poseHasBeenSet =
true;
109 m_pose = std::forward<PoseT>(value);
111 template <
typename PoseT = Pose>
113 SetPose(std::forward<PoseT>(value));
124 template <
typename QualityT = ImageQuality>
126 m_qualityHasBeenSet =
true;
127 m_quality = std::forward<QualityT>(value);
129 template <
typename QualityT = ImageQuality>
144 template <
typename EmotionsT = Aws::Vector<Emotion>>
146 m_emotionsHasBeenSet =
true;
147 m_emotions = std::forward<EmotionsT>(value);
149 template <
typename EmotionsT = Aws::Vector<Emotion>>
154 template <
typename EmotionsT = Emotion>
156 m_emotionsHasBeenSet =
true;
157 m_emotions.emplace_back(std::forward<EmotionsT>(value));
169 template <
typename SmileT = Smile>
171 m_smileHasBeenSet =
true;
172 m_smile = std::forward<SmileT>(value);
174 template <
typename SmileT = Smile>
176 SetSmile(std::forward<SmileT>(value));
183 double m_confidence{0.0};
189 ImageQuality m_quality;
194 bool m_boundingBoxHasBeenSet =
false;
195 bool m_confidenceHasBeenSet =
false;
196 bool m_landmarksHasBeenSet =
false;
197 bool m_poseHasBeenSet =
false;
198 bool m_qualityHasBeenSet =
false;
199 bool m_emotionsHasBeenSet =
false;
200 bool m_smileHasBeenSet =
false;
const ImageQuality & GetQuality() const
ComparedFace & WithBoundingBox(BoundingBoxT &&value)
void SetQuality(QualityT &&value)
double GetConfidence() const
ComparedFace & WithSmile(SmileT &&value)
const Aws::Vector< Landmark > & GetLandmarks() const
void SetPose(PoseT &&value)
bool LandmarksHasBeenSet() const
AWS_REKOGNITION_API ComparedFace()=default
ComparedFace & WithQuality(QualityT &&value)
ComparedFace & WithLandmarks(LandmarksT &&value)
ComparedFace & AddLandmarks(LandmarksT &&value)
bool SmileHasBeenSet() const
void SetConfidence(double value)
AWS_REKOGNITION_API ComparedFace & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BoundingBoxHasBeenSet() const
ComparedFace & WithPose(PoseT &&value)
void SetEmotions(EmotionsT &&value)
ComparedFace & AddEmotions(EmotionsT &&value)
bool EmotionsHasBeenSet() const
const Smile & GetSmile() const
bool QualityHasBeenSet() const
ComparedFace & WithEmotions(EmotionsT &&value)
const BoundingBox & GetBoundingBox() const
bool ConfidenceHasBeenSet() const
const Pose & GetPose() const
AWS_REKOGNITION_API ComparedFace(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBoundingBox(BoundingBoxT &&value)
void SetLandmarks(LandmarksT &&value)
const Aws::Vector< Emotion > & GetEmotions() const
ComparedFace & WithConfidence(double value)
void SetSmile(SmileT &&value)
bool PoseHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue