AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
51 inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
52 inline ComparedSourceImageFace& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;}
53 inline ComparedSourceImageFace& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(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;
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)
ComparedSourceImageFace & WithBoundingBox(const BoundingBox &value)
ComparedSourceImageFace & WithBoundingBox(BoundingBox &&value)
ComparedSourceImageFace & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API ComparedSourceImageFace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue