AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProtectiveEquipmentSummarizationAttributes.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/ProtectiveEquipmentType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_REKOGNITION_API ProtectiveEquipmentSummarizationAttributes() = default;
47 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
61 inline double GetMinConfidence() const { return m_minConfidence; }
62 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
63 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
66
68
75 inline const Aws::Vector<ProtectiveEquipmentType>& GetRequiredEquipmentTypes() const { return m_requiredEquipmentTypes; }
76 inline bool RequiredEquipmentTypesHasBeenSet() const { return m_requiredEquipmentTypesHasBeenSet; }
77 template<typename RequiredEquipmentTypesT = Aws::Vector<ProtectiveEquipmentType>>
78 void SetRequiredEquipmentTypes(RequiredEquipmentTypesT&& value) { m_requiredEquipmentTypesHasBeenSet = true; m_requiredEquipmentTypes = std::forward<RequiredEquipmentTypesT>(value); }
79 template<typename RequiredEquipmentTypesT = Aws::Vector<ProtectiveEquipmentType>>
80 ProtectiveEquipmentSummarizationAttributes& WithRequiredEquipmentTypes(RequiredEquipmentTypesT&& value) { SetRequiredEquipmentTypes(std::forward<RequiredEquipmentTypesT>(value)); return *this;}
81 inline ProtectiveEquipmentSummarizationAttributes& AddRequiredEquipmentTypes(ProtectiveEquipmentType value) { m_requiredEquipmentTypesHasBeenSet = true; m_requiredEquipmentTypes.push_back(value); return *this; }
83 private:
84
85 double m_minConfidence{0.0};
86 bool m_minConfidenceHasBeenSet = false;
87
88 Aws::Vector<ProtectiveEquipmentType> m_requiredEquipmentTypes;
89 bool m_requiredEquipmentTypesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Rekognition
94} // namespace Aws
AWS_REKOGNITION_API ProtectiveEquipmentSummarizationAttributes(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentSummarizationAttributes & AddRequiredEquipmentTypes(ProtectiveEquipmentType value)
ProtectiveEquipmentSummarizationAttributes & WithRequiredEquipmentTypes(RequiredEquipmentTypesT &&value)
AWS_REKOGNITION_API ProtectiveEquipmentSummarizationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue