AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EquipmentDetection.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BoundingBox.h>
9#include <aws/rekognition/model/ProtectiveEquipmentType.h>
10#include <aws/rekognition/model/CoversBodyPart.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_REKOGNITION_API EquipmentDetection() = default;
39 AWS_REKOGNITION_API EquipmentDetection(Aws::Utils::Json::JsonView jsonValue);
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 EquipmentDetection& WithBoundingBox(BoundingBoxT&& value) { SetBoundingBox(std::forward<BoundingBoxT>(value)); return *this;}
55
57
61 inline double GetConfidence() const { return m_confidence; }
62 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
63 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
64 inline EquipmentDetection& WithConfidence(double value) { SetConfidence(value); return *this;}
66
68
71 inline ProtectiveEquipmentType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(ProtectiveEquipmentType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline EquipmentDetection& WithType(ProtectiveEquipmentType value) { SetType(value); return *this;}
76
78
81 inline const CoversBodyPart& GetCoversBodyPart() const { return m_coversBodyPart; }
82 inline bool CoversBodyPartHasBeenSet() const { return m_coversBodyPartHasBeenSet; }
83 template<typename CoversBodyPartT = CoversBodyPart>
84 void SetCoversBodyPart(CoversBodyPartT&& value) { m_coversBodyPartHasBeenSet = true; m_coversBodyPart = std::forward<CoversBodyPartT>(value); }
85 template<typename CoversBodyPartT = CoversBodyPart>
86 EquipmentDetection& WithCoversBodyPart(CoversBodyPartT&& value) { SetCoversBodyPart(std::forward<CoversBodyPartT>(value)); return *this;}
88 private:
89
90 BoundingBox m_boundingBox;
91 bool m_boundingBoxHasBeenSet = false;
92
93 double m_confidence{0.0};
94 bool m_confidenceHasBeenSet = false;
95
97 bool m_typeHasBeenSet = false;
98
99 CoversBodyPart m_coversBodyPart;
100 bool m_coversBodyPartHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Rekognition
105} // namespace Aws
void SetType(ProtectiveEquipmentType value)
AWS_REKOGNITION_API EquipmentDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
EquipmentDetection & WithType(ProtectiveEquipmentType value)
EquipmentDetection & WithConfidence(double value)
EquipmentDetection & WithCoversBodyPart(CoversBodyPartT &&value)
EquipmentDetection & WithBoundingBox(BoundingBoxT &&value)
AWS_REKOGNITION_API EquipmentDetection(Aws::Utils::Json::JsonView jsonValue)
const CoversBodyPart & GetCoversBodyPart() const
void SetCoversBodyPart(CoversBodyPartT &&value)
ProtectiveEquipmentType GetType() const
AWS_REKOGNITION_API EquipmentDetection()=default
Aws::Utils::Json::JsonValue JsonValue