AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::String& GetProtectiveEquipmentModelVersion() const{ return m_protectiveEquipmentModelVersion; }
44 inline void SetProtectiveEquipmentModelVersion(const Aws::String& value) { m_protectiveEquipmentModelVersion = value; }
45 inline void SetProtectiveEquipmentModelVersion(Aws::String&& value) { m_protectiveEquipmentModelVersion = std::move(value); }
46 inline void SetProtectiveEquipmentModelVersion(const char* value) { m_protectiveEquipmentModelVersion.assign(value); }
51
53
57 inline const Aws::Vector<ProtectiveEquipmentPerson>& GetPersons() const{ return m_persons; }
58 inline void SetPersons(const Aws::Vector<ProtectiveEquipmentPerson>& value) { m_persons = value; }
59 inline void SetPersons(Aws::Vector<ProtectiveEquipmentPerson>&& value) { m_persons = std::move(value); }
62 inline DetectProtectiveEquipmentResult& AddPersons(const ProtectiveEquipmentPerson& value) { m_persons.push_back(value); return *this; }
63 inline DetectProtectiveEquipmentResult& AddPersons(ProtectiveEquipmentPerson&& value) { m_persons.push_back(std::move(value)); return *this; }
65
67
71 inline const ProtectiveEquipmentSummary& GetSummary() const{ return m_summary; }
72 inline void SetSummary(const ProtectiveEquipmentSummary& value) { m_summary = value; }
73 inline void SetSummary(ProtectiveEquipmentSummary&& value) { m_summary = std::move(value); }
75 inline DetectProtectiveEquipmentResult& WithSummary(ProtectiveEquipmentSummary&& value) { SetSummary(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline DetectProtectiveEquipmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline DetectProtectiveEquipmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline DetectProtectiveEquipmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_protectiveEquipmentModelVersion;
91
93
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace Rekognition
101} // namespace Aws
void SetPersons(Aws::Vector< ProtectiveEquipmentPerson > &&value)
DetectProtectiveEquipmentResult & WithProtectiveEquipmentModelVersion(Aws::String &&value)
DetectProtectiveEquipmentResult & AddPersons(const ProtectiveEquipmentPerson &value)
DetectProtectiveEquipmentResult & AddPersons(ProtectiveEquipmentPerson &&value)
DetectProtectiveEquipmentResult & WithSummary(const ProtectiveEquipmentSummary &value)
DetectProtectiveEquipmentResult & WithRequestId(const Aws::String &value)
DetectProtectiveEquipmentResult & WithProtectiveEquipmentModelVersion(const Aws::String &value)
const Aws::Vector< ProtectiveEquipmentPerson > & GetPersons() const
DetectProtectiveEquipmentResult & WithProtectiveEquipmentModelVersion(const char *value)
DetectProtectiveEquipmentResult & WithRequestId(const char *value)
AWS_REKOGNITION_API DetectProtectiveEquipmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectProtectiveEquipmentResult & WithRequestId(Aws::String &&value)
DetectProtectiveEquipmentResult & WithSummary(ProtectiveEquipmentSummary &&value)
DetectProtectiveEquipmentResult & WithPersons(const Aws::Vector< ProtectiveEquipmentPerson > &value)
void SetPersons(const Aws::Vector< ProtectiveEquipmentPerson > &value)
DetectProtectiveEquipmentResult & WithPersons(Aws::Vector< ProtectiveEquipmentPerson > &&value)
AWS_REKOGNITION_API DetectProtectiveEquipmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue