AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectiveEquipmentBodyPart.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BodyPart.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/EquipmentDetection.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
37 {
38 public:
39 AWS_REKOGNITION_API ProtectiveEquipmentBodyPart();
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const BodyPart& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const BodyPart& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(BodyPart&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline ProtectiveEquipmentBodyPart& WithName(const BodyPart& value) { SetName(value); return *this;}
54 inline ProtectiveEquipmentBodyPart& WithName(BodyPart&& value) { SetName(std::move(value)); return *this;}
56
58
62 inline double GetConfidence() const{ return m_confidence; }
63 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
64 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
65 inline ProtectiveEquipmentBodyPart& WithConfidence(double value) { SetConfidence(value); return *this;}
67
69
73 inline const Aws::Vector<EquipmentDetection>& GetEquipmentDetections() const{ return m_equipmentDetections; }
74 inline bool EquipmentDetectionsHasBeenSet() const { return m_equipmentDetectionsHasBeenSet; }
75 inline void SetEquipmentDetections(const Aws::Vector<EquipmentDetection>& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections = value; }
76 inline void SetEquipmentDetections(Aws::Vector<EquipmentDetection>&& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections = std::move(value); }
79 inline ProtectiveEquipmentBodyPart& AddEquipmentDetections(const EquipmentDetection& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections.push_back(value); return *this; }
80 inline ProtectiveEquipmentBodyPart& AddEquipmentDetections(EquipmentDetection&& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections.push_back(std::move(value)); return *this; }
82 private:
83
84 BodyPart m_name;
85 bool m_nameHasBeenSet = false;
86
87 double m_confidence;
88 bool m_confidenceHasBeenSet = false;
89
90 Aws::Vector<EquipmentDetection> m_equipmentDetections;
91 bool m_equipmentDetectionsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Rekognition
96} // namespace Aws
AWS_REKOGNITION_API ProtectiveEquipmentBodyPart(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentBodyPart & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectiveEquipmentBodyPart & AddEquipmentDetections(const EquipmentDetection &value)
ProtectiveEquipmentBodyPart & WithName(const BodyPart &value)
ProtectiveEquipmentBodyPart & WithEquipmentDetections(const Aws::Vector< EquipmentDetection > &value)
AWS_REKOGNITION_API ProtectiveEquipmentBodyPart & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentBodyPart & AddEquipmentDetections(EquipmentDetection &&value)
ProtectiveEquipmentBodyPart & WithEquipmentDetections(Aws::Vector< EquipmentDetection > &&value)
ProtectiveEquipmentBodyPart & WithName(BodyPart &&value)
void SetEquipmentDetections(Aws::Vector< EquipmentDetection > &&value)
const Aws::Vector< EquipmentDetection > & GetEquipmentDetections() const
void SetEquipmentDetections(const Aws::Vector< EquipmentDetection > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue