AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectiveEquipmentPerson.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/model/BoundingBox.h>
10#include <aws/rekognition/model/ProtectiveEquipmentBodyPart.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 ProtectiveEquipmentPerson();
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<ProtectiveEquipmentBodyPart>& GetBodyParts() const{ return m_bodyParts; }
50 inline bool BodyPartsHasBeenSet() const { return m_bodyPartsHasBeenSet; }
51 inline void SetBodyParts(const Aws::Vector<ProtectiveEquipmentBodyPart>& value) { m_bodyPartsHasBeenSet = true; m_bodyParts = value; }
52 inline void SetBodyParts(Aws::Vector<ProtectiveEquipmentBodyPart>&& value) { m_bodyPartsHasBeenSet = true; m_bodyParts = std::move(value); }
55 inline ProtectiveEquipmentPerson& AddBodyParts(const ProtectiveEquipmentBodyPart& value) { m_bodyPartsHasBeenSet = true; m_bodyParts.push_back(value); return *this; }
56 inline ProtectiveEquipmentPerson& AddBodyParts(ProtectiveEquipmentBodyPart&& value) { m_bodyPartsHasBeenSet = true; m_bodyParts.push_back(std::move(value)); return *this; }
58
60
63 inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; }
64 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
65 inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
66 inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
67 inline ProtectiveEquipmentPerson& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;}
68 inline ProtectiveEquipmentPerson& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;}
70
72
76 inline double GetConfidence() const{ return m_confidence; }
77 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
78 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
79 inline ProtectiveEquipmentPerson& WithConfidence(double value) { SetConfidence(value); return *this;}
81
83
87 inline int GetId() const{ return m_id; }
88 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
89 inline void SetId(int value) { m_idHasBeenSet = true; m_id = value; }
90 inline ProtectiveEquipmentPerson& WithId(int value) { SetId(value); return *this;}
92 private:
93
95 bool m_bodyPartsHasBeenSet = false;
96
97 BoundingBox m_boundingBox;
98 bool m_boundingBoxHasBeenSet = false;
99
100 double m_confidence;
101 bool m_confidenceHasBeenSet = false;
102
103 int m_id;
104 bool m_idHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Rekognition
109} // namespace Aws
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ProtectiveEquipmentBodyPart > & GetBodyParts() const
ProtectiveEquipmentPerson & AddBodyParts(ProtectiveEquipmentBodyPart &&value)
ProtectiveEquipmentPerson & AddBodyParts(const ProtectiveEquipmentBodyPart &value)
ProtectiveEquipmentPerson & WithBodyParts(const Aws::Vector< ProtectiveEquipmentBodyPart > &value)
void SetBodyParts(const Aws::Vector< ProtectiveEquipmentBodyPart > &value)
AWS_REKOGNITION_API ProtectiveEquipmentPerson(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentPerson & WithBoundingBox(const BoundingBox &value)
AWS_REKOGNITION_API ProtectiveEquipmentPerson & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentPerson & WithBoundingBox(BoundingBox &&value)
ProtectiveEquipmentPerson & WithConfidence(double value)
ProtectiveEquipmentPerson & WithBodyParts(Aws::Vector< ProtectiveEquipmentBodyPart > &&value)
void SetBodyParts(Aws::Vector< ProtectiveEquipmentBodyPart > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue