AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 EquipmentDetection& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;}
53 inline EquipmentDetection& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(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 const ProtectiveEquipmentType& GetType() const{ return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(const ProtectiveEquipmentType& value) { m_typeHasBeenSet = true; m_type = value; }
74 inline void SetType(ProtectiveEquipmentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
75 inline EquipmentDetection& WithType(const ProtectiveEquipmentType& value) { SetType(value); return *this;}
76 inline EquipmentDetection& WithType(ProtectiveEquipmentType&& value) { SetType(std::move(value)); return *this;}
78
80
83 inline const CoversBodyPart& GetCoversBodyPart() const{ return m_coversBodyPart; }
84 inline bool CoversBodyPartHasBeenSet() const { return m_coversBodyPartHasBeenSet; }
85 inline void SetCoversBodyPart(const CoversBodyPart& value) { m_coversBodyPartHasBeenSet = true; m_coversBodyPart = value; }
86 inline void SetCoversBodyPart(CoversBodyPart&& value) { m_coversBodyPartHasBeenSet = true; m_coversBodyPart = std::move(value); }
87 inline EquipmentDetection& WithCoversBodyPart(const CoversBodyPart& value) { SetCoversBodyPart(value); return *this;}
88 inline EquipmentDetection& WithCoversBodyPart(CoversBodyPart&& value) { SetCoversBodyPart(std::move(value)); return *this;}
90 private:
91
92 BoundingBox m_boundingBox;
93 bool m_boundingBoxHasBeenSet = false;
94
95 double m_confidence;
96 bool m_confidenceHasBeenSet = false;
97
99 bool m_typeHasBeenSet = false;
100
101 CoversBodyPart m_coversBodyPart;
102 bool m_coversBodyPartHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Rekognition
107} // namespace Aws
void SetBoundingBox(const BoundingBox &value)
EquipmentDetection & WithBoundingBox(const BoundingBox &value)
void SetType(ProtectiveEquipmentType &&value)
EquipmentDetection & WithCoversBodyPart(const CoversBodyPart &value)
void SetCoversBodyPart(const CoversBodyPart &value)
void SetType(const ProtectiveEquipmentType &value)
AWS_REKOGNITION_API EquipmentDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCoversBodyPart(CoversBodyPart &&value)
EquipmentDetection & WithCoversBodyPart(CoversBodyPart &&value)
const ProtectiveEquipmentType & GetType() const
EquipmentDetection & WithBoundingBox(BoundingBox &&value)
EquipmentDetection & WithConfidence(double value)
AWS_REKOGNITION_API EquipmentDetection(Aws::Utils::Json::JsonView jsonValue)
const CoversBodyPart & GetCoversBodyPart() const
EquipmentDetection & WithType(ProtectiveEquipmentType &&value)
EquipmentDetection & WithType(const ProtectiveEquipmentType &value)
Aws::Utils::Json::JsonValue JsonValue