AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProtectiveEquipmentSummarizationAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/ProtectiveEquipmentType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
38 public:
39 AWS_REKOGNITION_API ProtectiveEquipmentSummarizationAttributes() = default;
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
55 inline double GetMinConfidence() const { return m_minConfidence; }
56 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
57 inline void SetMinConfidence(double value) {
58 m_minConfidenceHasBeenSet = true;
59 m_minConfidence = value;
60 }
62 SetMinConfidence(value);
63 return *this;
64 }
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) {
79 m_requiredEquipmentTypesHasBeenSet = true;
80 m_requiredEquipmentTypes = std::forward<RequiredEquipmentTypesT>(value);
81 }
82 template <typename RequiredEquipmentTypesT = Aws::Vector<ProtectiveEquipmentType>>
84 SetRequiredEquipmentTypes(std::forward<RequiredEquipmentTypesT>(value));
85 return *this;
86 }
88 m_requiredEquipmentTypesHasBeenSet = true;
89 m_requiredEquipmentTypes.push_back(value);
90 return *this;
91 }
93 private:
94 double m_minConfidence{0.0};
95
96 Aws::Vector<ProtectiveEquipmentType> m_requiredEquipmentTypes;
97 bool m_minConfidenceHasBeenSet = false;
98 bool m_requiredEquipmentTypesHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Rekognition
103} // 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