AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecognizeCelebritiesResult.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/OrientationCorrection.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/Celebrity.h>
12#include <aws/rekognition/model/ComparedFace.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 RecognizeCelebritiesResult();
37
38
40
49 inline const Aws::Vector<Celebrity>& GetCelebrityFaces() const{ return m_celebrityFaces; }
50 inline void SetCelebrityFaces(const Aws::Vector<Celebrity>& value) { m_celebrityFaces = value; }
51 inline void SetCelebrityFaces(Aws::Vector<Celebrity>&& value) { m_celebrityFaces = std::move(value); }
54 inline RecognizeCelebritiesResult& AddCelebrityFaces(const Celebrity& value) { m_celebrityFaces.push_back(value); return *this; }
55 inline RecognizeCelebritiesResult& AddCelebrityFaces(Celebrity&& value) { m_celebrityFaces.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<ComparedFace>& GetUnrecognizedFaces() const{ return m_unrecognizedFaces; }
63 inline void SetUnrecognizedFaces(const Aws::Vector<ComparedFace>& value) { m_unrecognizedFaces = value; }
64 inline void SetUnrecognizedFaces(Aws::Vector<ComparedFace>&& value) { m_unrecognizedFaces = std::move(value); }
67 inline RecognizeCelebritiesResult& AddUnrecognizedFaces(const ComparedFace& value) { m_unrecognizedFaces.push_back(value); return *this; }
68 inline RecognizeCelebritiesResult& AddUnrecognizedFaces(ComparedFace&& value) { m_unrecognizedFaces.push_back(std::move(value)); return *this; }
70
72
89 inline const OrientationCorrection& GetOrientationCorrection() const{ return m_orientationCorrection; }
90 inline void SetOrientationCorrection(const OrientationCorrection& value) { m_orientationCorrection = value; }
91 inline void SetOrientationCorrection(OrientationCorrection&& value) { m_orientationCorrection = std::move(value); }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline RecognizeCelebritiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline RecognizeCelebritiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline RecognizeCelebritiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::Vector<Celebrity> m_celebrityFaces;
109
110 Aws::Vector<ComparedFace> m_unrecognizedFaces;
111
112 OrientationCorrection m_orientationCorrection;
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace Rekognition
119} // namespace Aws
RecognizeCelebritiesResult & AddCelebrityFaces(Celebrity &&value)
const Aws::Vector< ComparedFace > & GetUnrecognizedFaces() const
void SetUnrecognizedFaces(Aws::Vector< ComparedFace > &&value)
RecognizeCelebritiesResult & WithRequestId(const char *value)
RecognizeCelebritiesResult & WithUnrecognizedFaces(Aws::Vector< ComparedFace > &&value)
RecognizeCelebritiesResult & WithCelebrityFaces(Aws::Vector< Celebrity > &&value)
RecognizeCelebritiesResult & AddUnrecognizedFaces(const ComparedFace &value)
RecognizeCelebritiesResult & WithCelebrityFaces(const Aws::Vector< Celebrity > &value)
RecognizeCelebritiesResult & WithUnrecognizedFaces(const Aws::Vector< ComparedFace > &value)
RecognizeCelebritiesResult & WithRequestId(const Aws::String &value)
RecognizeCelebritiesResult & WithOrientationCorrection(OrientationCorrection &&value)
const Aws::Vector< Celebrity > & GetCelebrityFaces() const
const OrientationCorrection & GetOrientationCorrection() const
void SetCelebrityFaces(const Aws::Vector< Celebrity > &value)
void SetUnrecognizedFaces(const Aws::Vector< ComparedFace > &value)
RecognizeCelebritiesResult & AddCelebrityFaces(const Celebrity &value)
void SetOrientationCorrection(const OrientationCorrection &value)
RecognizeCelebritiesResult & WithOrientationCorrection(const OrientationCorrection &value)
AWS_REKOGNITION_API RecognizeCelebritiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RecognizeCelebritiesResult & AddUnrecognizedFaces(ComparedFace &&value)
AWS_REKOGNITION_API RecognizeCelebritiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RecognizeCelebritiesResult & WithRequestId(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