AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCelebrityRecognitionResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/VideoJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/VideoMetadata.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/Video.h>
13#include <aws/rekognition/model/CelebrityRecognition.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Rekognition
29{
30namespace Model
31{
33 {
34 public:
35 AWS_REKOGNITION_API GetCelebrityRecognitionResult();
38
39
41
44 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
45 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
46 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
47 inline GetCelebrityRecognitionResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
48 inline GetCelebrityRecognitionResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
57 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
58 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
59 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
60 inline GetCelebrityRecognitionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
61 inline GetCelebrityRecognitionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
62 inline GetCelebrityRecognitionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
64
66
71 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
72 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
73 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
75 inline GetCelebrityRecognitionResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
77
79
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
88 inline GetCelebrityRecognitionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline GetCelebrityRecognitionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline GetCelebrityRecognitionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92
94
97 inline const Aws::Vector<CelebrityRecognition>& GetCelebrities() const{ return m_celebrities; }
98 inline void SetCelebrities(const Aws::Vector<CelebrityRecognition>& value) { m_celebrities = value; }
99 inline void SetCelebrities(Aws::Vector<CelebrityRecognition>&& value) { m_celebrities = std::move(value); }
102 inline GetCelebrityRecognitionResult& AddCelebrities(const CelebrityRecognition& value) { m_celebrities.push_back(value); return *this; }
103 inline GetCelebrityRecognitionResult& AddCelebrities(CelebrityRecognition&& value) { m_celebrities.push_back(std::move(value)); return *this; }
105
107
112 inline const Aws::String& GetJobId() const{ return m_jobId; }
113 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
114 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
115 inline void SetJobId(const char* value) { m_jobId.assign(value); }
116 inline GetCelebrityRecognitionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
117 inline GetCelebrityRecognitionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
118 inline GetCelebrityRecognitionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
120
122
123 inline const Video& GetVideo() const{ return m_video; }
124 inline void SetVideo(const Video& value) { m_video = value; }
125 inline void SetVideo(Video&& value) { m_video = std::move(value); }
126 inline GetCelebrityRecognitionResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
127 inline GetCelebrityRecognitionResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
129
131
136 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
137 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
138 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
139 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
140 inline GetCelebrityRecognitionResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
141 inline GetCelebrityRecognitionResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
142 inline GetCelebrityRecognitionResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
144
146
147 inline const Aws::String& GetRequestId() const{ return m_requestId; }
148 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
149 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
150 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
151 inline GetCelebrityRecognitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
152 inline GetCelebrityRecognitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
153 inline GetCelebrityRecognitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
155 private:
156
157 VideoJobStatus m_jobStatus;
158
159 Aws::String m_statusMessage;
160
161 VideoMetadata m_videoMetadata;
162
163 Aws::String m_nextToken;
164
166
167 Aws::String m_jobId;
168
169 Video m_video;
170
171 Aws::String m_jobTag;
172
173 Aws::String m_requestId;
174 };
175
176} // namespace Model
177} // namespace Rekognition
178} // namespace Aws
GetCelebrityRecognitionResult & WithVideo(const Video &value)
GetCelebrityRecognitionResult & WithJobId(const char *value)
GetCelebrityRecognitionResult & WithStatusMessage(Aws::String &&value)
GetCelebrityRecognitionResult & WithNextToken(const Aws::String &value)
void SetCelebrities(Aws::Vector< CelebrityRecognition > &&value)
GetCelebrityRecognitionResult & WithRequestId(const char *value)
GetCelebrityRecognitionResult & WithJobTag(Aws::String &&value)
GetCelebrityRecognitionResult & WithStatusMessage(const Aws::String &value)
GetCelebrityRecognitionResult & WithVideoMetadata(VideoMetadata &&value)
GetCelebrityRecognitionResult & WithJobTag(const Aws::String &value)
GetCelebrityRecognitionResult & WithJobTag(const char *value)
GetCelebrityRecognitionResult & WithJobId(Aws::String &&value)
GetCelebrityRecognitionResult & AddCelebrities(const CelebrityRecognition &value)
GetCelebrityRecognitionResult & WithCelebrities(const Aws::Vector< CelebrityRecognition > &value)
GetCelebrityRecognitionResult & WithRequestId(Aws::String &&value)
GetCelebrityRecognitionResult & WithVideo(Video &&value)
GetCelebrityRecognitionResult & WithJobId(const Aws::String &value)
AWS_REKOGNITION_API GetCelebrityRecognitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCelebrityRecognitionResult & WithJobStatus(VideoJobStatus &&value)
const Aws::Vector< CelebrityRecognition > & GetCelebrities() const
GetCelebrityRecognitionResult & WithVideoMetadata(const VideoMetadata &value)
GetCelebrityRecognitionResult & WithRequestId(const Aws::String &value)
void SetCelebrities(const Aws::Vector< CelebrityRecognition > &value)
GetCelebrityRecognitionResult & WithJobStatus(const VideoJobStatus &value)
GetCelebrityRecognitionResult & AddCelebrities(CelebrityRecognition &&value)
GetCelebrityRecognitionResult & WithCelebrities(Aws::Vector< CelebrityRecognition > &&value)
GetCelebrityRecognitionResult & WithNextToken(const char *value)
GetCelebrityRecognitionResult & WithStatusMessage(const char *value)
GetCelebrityRecognitionResult & WithNextToken(Aws::String &&value)
AWS_REKOGNITION_API GetCelebrityRecognitionResult & 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