AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DetectProtectiveEquipmentResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/ProtectiveEquipmentSummary.h>
11#include <aws/rekognition/model/ProtectiveEquipmentPerson.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Rekognition
27{
28namespace Model
29{
31 {
32 public:
33 AWS_REKOGNITION_API DetectProtectiveEquipmentResult() = default;
36
37
39
43 inline const Aws::String& GetProtectiveEquipmentModelVersion() const { return m_protectiveEquipmentModelVersion; }
44 template<typename ProtectiveEquipmentModelVersionT = Aws::String>
45 void SetProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT&& value) { m_protectiveEquipmentModelVersionHasBeenSet = true; m_protectiveEquipmentModelVersion = std::forward<ProtectiveEquipmentModelVersionT>(value); }
46 template<typename ProtectiveEquipmentModelVersionT = Aws::String>
47 DetectProtectiveEquipmentResult& WithProtectiveEquipmentModelVersion(ProtectiveEquipmentModelVersionT&& value) { SetProtectiveEquipmentModelVersion(std::forward<ProtectiveEquipmentModelVersionT>(value)); return *this;}
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) { m_personsHasBeenSet = true; m_persons = std::forward<PersonsT>(value); }
58 template<typename PersonsT = Aws::Vector<ProtectiveEquipmentPerson>>
59 DetectProtectiveEquipmentResult& WithPersons(PersonsT&& value) { SetPersons(std::forward<PersonsT>(value)); return *this;}
60 template<typename PersonsT = ProtectiveEquipmentPerson>
61 DetectProtectiveEquipmentResult& AddPersons(PersonsT&& value) { m_personsHasBeenSet = true; m_persons.emplace_back(std::forward<PersonsT>(value)); return *this; }
63
65
69 inline const ProtectiveEquipmentSummary& GetSummary() const { return m_summary; }
70 template<typename SummaryT = ProtectiveEquipmentSummary>
71 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet = true; m_summary = std::forward<SummaryT>(value); }
72 template<typename SummaryT = ProtectiveEquipmentSummary>
73 DetectProtectiveEquipmentResult& WithSummary(SummaryT&& value) { SetSummary(std::forward<SummaryT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 DetectProtectiveEquipmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_protectiveEquipmentModelVersion;
87 bool m_protectiveEquipmentModelVersionHasBeenSet = false;
88
90 bool m_personsHasBeenSet = false;
91
93 bool m_summaryHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Rekognition
101} // 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