AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateFacesResult.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/UserStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/AssociatedFace.h>
12#include <aws/rekognition/model/UnsuccessfulFaceAssociation.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
32 {
33 public:
34 AWS_REKOGNITION_API AssociateFacesResult();
37
38
40
45 inline const Aws::Vector<AssociatedFace>& GetAssociatedFaces() const{ return m_associatedFaces; }
46 inline void SetAssociatedFaces(const Aws::Vector<AssociatedFace>& value) { m_associatedFaces = value; }
47 inline void SetAssociatedFaces(Aws::Vector<AssociatedFace>&& value) { m_associatedFaces = std::move(value); }
50 inline AssociateFacesResult& AddAssociatedFaces(const AssociatedFace& value) { m_associatedFaces.push_back(value); return *this; }
51 inline AssociateFacesResult& AddAssociatedFaces(AssociatedFace&& value) { m_associatedFaces.push_back(std::move(value)); return *this; }
53
55
60 inline const Aws::Vector<UnsuccessfulFaceAssociation>& GetUnsuccessfulFaceAssociations() const{ return m_unsuccessfulFaceAssociations; }
61 inline void SetUnsuccessfulFaceAssociations(const Aws::Vector<UnsuccessfulFaceAssociation>& value) { m_unsuccessfulFaceAssociations = value; }
62 inline void SetUnsuccessfulFaceAssociations(Aws::Vector<UnsuccessfulFaceAssociation>&& value) { m_unsuccessfulFaceAssociations = std::move(value); }
65 inline AssociateFacesResult& AddUnsuccessfulFaceAssociations(const UnsuccessfulFaceAssociation& value) { m_unsuccessfulFaceAssociations.push_back(value); return *this; }
66 inline AssociateFacesResult& AddUnsuccessfulFaceAssociations(UnsuccessfulFaceAssociation&& value) { m_unsuccessfulFaceAssociations.push_back(std::move(value)); return *this; }
68
70
74 inline const UserStatus& GetUserStatus() const{ return m_userStatus; }
75 inline void SetUserStatus(const UserStatus& value) { m_userStatus = value; }
76 inline void SetUserStatus(UserStatus&& value) { m_userStatus = std::move(value); }
77 inline AssociateFacesResult& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;}
78 inline AssociateFacesResult& WithUserStatus(UserStatus&& value) { SetUserStatus(std::move(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline AssociateFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline AssociateFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline AssociateFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::Vector<AssociatedFace> m_associatedFaces;
94
95 Aws::Vector<UnsuccessfulFaceAssociation> m_unsuccessfulFaceAssociations;
96
97 UserStatus m_userStatus;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Rekognition
104} // namespace Aws
AssociateFacesResult & AddAssociatedFaces(const AssociatedFace &value)
AssociateFacesResult & WithRequestId(const Aws::String &value)
AssociateFacesResult & WithUserStatus(const UserStatus &value)
AssociateFacesResult & AddUnsuccessfulFaceAssociations(const UnsuccessfulFaceAssociation &value)
AssociateFacesResult & WithAssociatedFaces(const Aws::Vector< AssociatedFace > &value)
const Aws::Vector< UnsuccessfulFaceAssociation > & GetUnsuccessfulFaceAssociations() const
AssociateFacesResult & WithRequestId(const char *value)
AssociateFacesResult & WithUnsuccessfulFaceAssociations(const Aws::Vector< UnsuccessfulFaceAssociation > &value)
void SetAssociatedFaces(Aws::Vector< AssociatedFace > &&value)
void SetUnsuccessfulFaceAssociations(const Aws::Vector< UnsuccessfulFaceAssociation > &value)
AWS_REKOGNITION_API AssociateFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnsuccessfulFaceAssociations(Aws::Vector< UnsuccessfulFaceAssociation > &&value)
AssociateFacesResult & WithAssociatedFaces(Aws::Vector< AssociatedFace > &&value)
const Aws::Vector< AssociatedFace > & GetAssociatedFaces() const
AWS_REKOGNITION_API AssociateFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateFacesResult & AddAssociatedFaces(AssociatedFace &&value)
AssociateFacesResult & AddUnsuccessfulFaceAssociations(UnsuccessfulFaceAssociation &&value)
AssociateFacesResult & WithRequestId(Aws::String &&value)
AssociateFacesResult & WithUserStatus(UserStatus &&value)
void SetAssociatedFaces(const Aws::Vector< AssociatedFace > &value)
AssociateFacesResult & WithUnsuccessfulFaceAssociations(Aws::Vector< UnsuccessfulFaceAssociation > &&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