AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
32 public:
33 AWS_REKOGNITION_API ComparedSourceImageFace() = default;
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const BoundingBox& GetBoundingBox() const { return m_boundingBox; }
43 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
44 template <typename BoundingBoxT = BoundingBox>
45 void SetBoundingBox(BoundingBoxT&& value) {
46 m_boundingBoxHasBeenSet = true;
47 m_boundingBox = std::forward<BoundingBoxT>(value);
48 }
49 template <typename BoundingBoxT = BoundingBox>
51 SetBoundingBox(std::forward<BoundingBoxT>(value));
52 return *this;
53 }
55
57
60 inline double GetConfidence() const { return m_confidence; }
61 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
62 inline void SetConfidence(double value) {
63 m_confidenceHasBeenSet = true;
64 m_confidence = value;
65 }
67 SetConfidence(value);
68 return *this;
69 }
71 private:
72 BoundingBox m_boundingBox;
73
74 double m_confidence{0.0};
75 bool m_boundingBoxHasBeenSet = false;
76 bool m_confidenceHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Rekognition
81} // 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