AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComparedSourceImageFace.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BoundingBox.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 ComparedSourceImageFace() = default;
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const BoundingBox& GetBoundingBox() const { return m_boundingBox; }
49 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
50 template<typename BoundingBoxT = BoundingBox>
51 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::forward<BoundingBoxT>(value); }
52 template<typename BoundingBoxT = BoundingBox>
53 ComparedSourceImageFace& WithBoundingBox(BoundingBoxT&& value) { SetBoundingBox(std::forward<BoundingBoxT>(value)); return *this;}
55
57
60 inline double GetConfidence() const { return m_confidence; }
61 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
62 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
63 inline ComparedSourceImageFace& WithConfidence(double value) { SetConfidence(value); return *this;}
65 private:
66
67 BoundingBox m_boundingBox;
68 bool m_boundingBoxHasBeenSet = false;
69
70 double m_confidence{0.0};
71 bool m_confidenceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
AWS_REKOGNITION_API ComparedSourceImageFace(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ComparedSourceImageFace()=default
ComparedSourceImageFace & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ComparedSourceImageFace & WithBoundingBox(BoundingBoxT &&value)
AWS_REKOGNITION_API ComparedSourceImageFace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue