AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFacesResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/Face.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Rekognition
26{
27namespace Model
28{
30 {
31 public:
32 AWS_REKOGNITION_API ListFacesResult();
35
36
38
41 inline const Aws::Vector<Face>& GetFaces() const{ return m_faces; }
42 inline void SetFaces(const Aws::Vector<Face>& value) { m_faces = value; }
43 inline void SetFaces(Aws::Vector<Face>&& value) { m_faces = std::move(value); }
44 inline ListFacesResult& WithFaces(const Aws::Vector<Face>& value) { SetFaces(value); return *this;}
45 inline ListFacesResult& WithFaces(Aws::Vector<Face>&& value) { SetFaces(std::move(value)); return *this;}
46 inline ListFacesResult& AddFaces(const Face& value) { m_faces.push_back(value); return *this; }
47 inline ListFacesResult& AddFaces(Face&& value) { m_faces.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
59 inline ListFacesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListFacesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListFacesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
69 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
70 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
71 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
72 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
73 inline ListFacesResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;}
74 inline ListFacesResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
75 inline ListFacesResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(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 ListFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline ListFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline ListFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::Vector<Face> m_faces;
91
92 Aws::String m_nextToken;
93
94 Aws::String m_faceModelVersion;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace Rekognition
101} // namespace Aws
ListFacesResult & WithFaceModelVersion(const Aws::String &value)
void SetFaceModelVersion(const char *value)
ListFacesResult & WithRequestId(const Aws::String &value)
AWS_REKOGNITION_API ListFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaces(Aws::Vector< Face > &&value)
ListFacesResult & AddFaces(const Face &value)
ListFacesResult & WithFaces(Aws::Vector< Face > &&value)
ListFacesResult & WithFaceModelVersion(Aws::String &&value)
void SetFaceModelVersion(Aws::String &&value)
void SetFaceModelVersion(const Aws::String &value)
ListFacesResult & WithFaces(const Aws::Vector< Face > &value)
ListFacesResult & WithFaceModelVersion(const char *value)
ListFacesResult & AddFaces(Face &&value)
const Aws::Vector< Face > & GetFaces() const
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
ListFacesResult & WithNextToken(Aws::String &&value)
const Aws::String & GetFaceModelVersion() const
ListFacesResult & WithRequestId(const char *value)
ListFacesResult & WithNextToken(const char *value)
ListFacesResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
ListFacesResult & WithNextToken(const Aws::String &value)
AWS_REKOGNITION_API ListFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaces(const Aws::Vector< Face > &value)
void SetNextToken(const Aws::String &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