AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DetectProtectiveEquipmentResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/ProtectiveEquipmentPerson.h>
11#include <aws/rekognition/model/ProtectiveEquipmentSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Rekognition {
25namespace Model {
27 public:
28 AWS_REKOGNITION_API DetectProtectiveEquipmentResult() = default;
31
33
37 inline const Aws::String& GetProtectiveEquipmentModelVersion() const { return m_protectiveEquipmentModelVersion; }
38 template <typename ProtectiveEquipmentModelVersionT = Aws::String>
39 void SetProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT&& value) {
40 m_protectiveEquipmentModelVersionHasBeenSet = true;
41 m_protectiveEquipmentModelVersion = std::forward<ProtectiveEquipmentModelVersionT>(value);
42 }
43 template <typename ProtectiveEquipmentModelVersionT = Aws::String>
44 DetectProtectiveEquipmentResult& WithProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT&& value) {
45 SetProtectiveEquipmentModelVersion(std::forward<ProtectiveEquipmentModelVersionT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::Vector<ProtectiveEquipmentPerson>& GetPersons() const { return m_persons; }
56 template <typename PersonsT = Aws::Vector<ProtectiveEquipmentPerson>>
57 void SetPersons(PersonsT&& value) {
58 m_personsHasBeenSet = true;
59 m_persons = std::forward<PersonsT>(value);
60 }
61 template <typename PersonsT = Aws::Vector<ProtectiveEquipmentPerson>>
63 SetPersons(std::forward<PersonsT>(value));
64 return *this;
65 }
66 template <typename PersonsT = ProtectiveEquipmentPerson>
68 m_personsHasBeenSet = true;
69 m_persons.emplace_back(std::forward<PersonsT>(value));
70 return *this;
71 }
73
75
79 inline const ProtectiveEquipmentSummary& GetSummary() const { return m_summary; }
80 template <typename SummaryT = ProtectiveEquipmentSummary>
81 void SetSummary(SummaryT&& value) {
82 m_summaryHasBeenSet = true;
83 m_summary = std::forward<SummaryT>(value);
84 }
85 template <typename SummaryT = ProtectiveEquipmentSummary>
87 SetSummary(std::forward<SummaryT>(value));
88 return *this;
89 }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template <typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) {
97 m_requestIdHasBeenSet = true;
98 m_requestId = std::forward<RequestIdT>(value);
99 }
100 template <typename RequestIdT = Aws::String>
102 SetRequestId(std::forward<RequestIdT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_protectiveEquipmentModelVersion;
108 bool m_protectiveEquipmentModelVersionHasBeenSet = false;
109
111 bool m_personsHasBeenSet = false;
112
114 bool m_summaryHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Rekognition
122} // namespace Aws
DetectProtectiveEquipmentResult & AddPersons(PersonsT &&value)
AWS_REKOGNITION_API DetectProtectiveEquipmentResult()=default
DetectProtectiveEquipmentResult & WithProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT &&value)
void SetProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT &&value)
DetectProtectiveEquipmentResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ProtectiveEquipmentPerson > & GetPersons() const
AWS_REKOGNITION_API DetectProtectiveEquipmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectProtectiveEquipmentResult & WithSummary(SummaryT &&value)
AWS_REKOGNITION_API DetectProtectiveEquipmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectProtectiveEquipmentResult & WithPersons(PersonsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue