7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/BodyPart.h>
10#include <aws/rekognition/model/EquipmentDetection.h>
21namespace Rekognition {
46 m_nameHasBeenSet =
true;
63 m_confidenceHasBeenSet =
true;
79 template <
typename EquipmentDetectionsT = Aws::Vector<EquipmentDetection>>
81 m_equipmentDetectionsHasBeenSet =
true;
82 m_equipmentDetections = std::forward<EquipmentDetectionsT>(value);
84 template <
typename EquipmentDetectionsT = Aws::Vector<EquipmentDetection>>
89 template <
typename EquipmentDetectionsT = EquipmentDetection>
91 m_equipmentDetectionsHasBeenSet =
true;
92 m_equipmentDetections.emplace_back(std::forward<EquipmentDetectionsT>(value));
98 bool m_nameHasBeenSet =
false;
100 double m_confidence{0.0};
101 bool m_confidenceHasBeenSet =
false;
104 bool m_equipmentDetectionsHasBeenSet =
false;
bool NameHasBeenSet() const
bool ConfidenceHasBeenSet() const
AWS_REKOGNITION_API ProtectiveEquipmentBodyPart(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentBodyPart & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectiveEquipmentBodyPart & WithName(BodyPart value)
double GetConfidence() const
void SetName(BodyPart value)
ProtectiveEquipmentBodyPart & AddEquipmentDetections(EquipmentDetectionsT &&value)
bool EquipmentDetectionsHasBeenSet() const
void SetConfidence(double value)
ProtectiveEquipmentBodyPart & WithEquipmentDetections(EquipmentDetectionsT &&value)
AWS_REKOGNITION_API ProtectiveEquipmentBodyPart()=default
AWS_REKOGNITION_API ProtectiveEquipmentBodyPart & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEquipmentDetections(EquipmentDetectionsT &&value)
const Aws::Vector< EquipmentDetection > & GetEquipmentDetections() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue