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>
54 template<
typename BoundingBoxT = BoundingBox>
55 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet =
true; m_boundingBox = std::forward<BoundingBoxT>(value); }
56 template<
typename BoundingBoxT = BoundingBox>
66 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
76 template<
typename LandmarksT = Aws::Vector<Landmark>>
77 void SetLandmarks(LandmarksT&& value) { m_landmarksHasBeenSet =
true; m_landmarks = std::forward<LandmarksT>(value); }
78 template<
typename LandmarksT = Aws::Vector<Landmark>>
80 template<
typename LandmarksT = Landmark>
81 ComparedFace&
AddLandmarks(LandmarksT&& value) { m_landmarksHasBeenSet =
true; m_landmarks.emplace_back(std::forward<LandmarksT>(value));
return *
this; }
90 template<
typename PoseT = Pose>
91 void SetPose(PoseT&& value) { m_poseHasBeenSet =
true; m_pose = std::forward<PoseT>(value); }
92 template<
typename PoseT = Pose>
102 template<
typename QualityT = ImageQuality>
103 void SetQuality(QualityT&& value) { m_qualityHasBeenSet =
true; m_quality = std::forward<QualityT>(value); }
104 template<
typename QualityT = ImageQuality>
116 template<
typename EmotionsT = Aws::Vector<Emotion>>
117 void SetEmotions(EmotionsT&& value) { m_emotionsHasBeenSet =
true; m_emotions = std::forward<EmotionsT>(value); }
118 template<
typename EmotionsT = Aws::Vector<Emotion>>
120 template<
typename EmotionsT = Emotion>
121 ComparedFace&
AddEmotions(EmotionsT&& value) { m_emotionsHasBeenSet =
true; m_emotions.emplace_back(std::forward<EmotionsT>(value));
return *
this; }
131 template<
typename SmileT = Smile>
132 void SetSmile(SmileT&& value) { m_smileHasBeenSet =
true; m_smile = std::forward<SmileT>(value); }
133 template<
typename SmileT = Smile>
139 bool m_boundingBoxHasBeenSet =
false;
141 double m_confidence{0.0};
142 bool m_confidenceHasBeenSet =
false;
145 bool m_landmarksHasBeenSet =
false;
148 bool m_poseHasBeenSet =
false;
150 ImageQuality m_quality;
151 bool m_qualityHasBeenSet =
false;
154 bool m_emotionsHasBeenSet =
false;
157 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