AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateFacesResult.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/DisassociatedFace.h>
12#include <aws/rekognition/model/UnsuccessfulFaceDisassociation.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 DisassociateFacesResult();
37
38
40
45 inline const Aws::Vector<DisassociatedFace>& GetDisassociatedFaces() const{ return m_disassociatedFaces; }
46 inline void SetDisassociatedFaces(const Aws::Vector<DisassociatedFace>& value) { m_disassociatedFaces = value; }
47 inline void SetDisassociatedFaces(Aws::Vector<DisassociatedFace>&& value) { m_disassociatedFaces = std::move(value); }
50 inline DisassociateFacesResult& AddDisassociatedFaces(const DisassociatedFace& value) { m_disassociatedFaces.push_back(value); return *this; }
51 inline DisassociateFacesResult& AddDisassociatedFaces(DisassociatedFace&& value) { m_disassociatedFaces.push_back(std::move(value)); return *this; }
53
55
60 inline const Aws::Vector<UnsuccessfulFaceDisassociation>& GetUnsuccessfulFaceDisassociations() const{ return m_unsuccessfulFaceDisassociations; }
61 inline void SetUnsuccessfulFaceDisassociations(const Aws::Vector<UnsuccessfulFaceDisassociation>& value) { m_unsuccessfulFaceDisassociations = value; }
62 inline void SetUnsuccessfulFaceDisassociations(Aws::Vector<UnsuccessfulFaceDisassociation>&& value) { m_unsuccessfulFaceDisassociations = std::move(value); }
65 inline DisassociateFacesResult& AddUnsuccessfulFaceDisassociations(const UnsuccessfulFaceDisassociation& value) { m_unsuccessfulFaceDisassociations.push_back(value); return *this; }
66 inline DisassociateFacesResult& AddUnsuccessfulFaceDisassociations(UnsuccessfulFaceDisassociation&& value) { m_unsuccessfulFaceDisassociations.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 DisassociateFacesResult& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;}
78 inline DisassociateFacesResult& 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 DisassociateFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline DisassociateFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline DisassociateFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::Vector<DisassociatedFace> m_disassociatedFaces;
94
95 Aws::Vector<UnsuccessfulFaceDisassociation> m_unsuccessfulFaceDisassociations;
96
97 UserStatus m_userStatus;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Rekognition
104} // namespace Aws
const Aws::Vector< UnsuccessfulFaceDisassociation > & GetUnsuccessfulFaceDisassociations() const
DisassociateFacesResult & AddDisassociatedFaces(DisassociatedFace &&value)
void SetDisassociatedFaces(Aws::Vector< DisassociatedFace > &&value)
DisassociateFacesResult & WithUnsuccessfulFaceDisassociations(const Aws::Vector< UnsuccessfulFaceDisassociation > &value)
AWS_REKOGNITION_API DisassociateFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnsuccessfulFaceDisassociations(Aws::Vector< UnsuccessfulFaceDisassociation > &&value)
void SetUnsuccessfulFaceDisassociations(const Aws::Vector< UnsuccessfulFaceDisassociation > &value)
DisassociateFacesResult & AddUnsuccessfulFaceDisassociations(UnsuccessfulFaceDisassociation &&value)
DisassociateFacesResult & AddDisassociatedFaces(const DisassociatedFace &value)
DisassociateFacesResult & AddUnsuccessfulFaceDisassociations(const UnsuccessfulFaceDisassociation &value)
DisassociateFacesResult & WithUserStatus(const UserStatus &value)
DisassociateFacesResult & WithRequestId(const Aws::String &value)
AWS_REKOGNITION_API DisassociateFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateFacesResult & WithUserStatus(UserStatus &&value)
DisassociateFacesResult & WithRequestId(Aws::String &&value)
DisassociateFacesResult & WithDisassociatedFaces(const Aws::Vector< DisassociatedFace > &value)
void SetDisassociatedFaces(const Aws::Vector< DisassociatedFace > &value)
DisassociateFacesResult & WithRequestId(const char *value)
DisassociateFacesResult & WithUnsuccessfulFaceDisassociations(Aws::Vector< UnsuccessfulFaceDisassociation > &&value)
DisassociateFacesResult & WithDisassociatedFaces(Aws::Vector< DisassociatedFace > &&value)
const Aws::Vector< DisassociatedFace > & GetDisassociatedFaces() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue