AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLabelDetectionResult.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/GetLabelDetectionRequestMetadata.h>
14#include <aws/rekognition/model/LabelDetection.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Rekognition
30{
31namespace Model
32{
34 {
35 public:
36 AWS_REKOGNITION_API GetLabelDetectionResult();
39
40
42
45 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
46 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
47 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
48 inline GetLabelDetectionResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
49 inline GetLabelDetectionResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
58 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
59 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
60 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
61 inline GetLabelDetectionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
62 inline GetLabelDetectionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
63 inline GetLabelDetectionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
65
67
72 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
73 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
74 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
75 inline GetLabelDetectionResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
76 inline GetLabelDetectionResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
78
80
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
89 inline GetLabelDetectionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline GetLabelDetectionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline GetLabelDetectionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93
95
100 inline const Aws::Vector<LabelDetection>& GetLabels() const{ return m_labels; }
101 inline void SetLabels(const Aws::Vector<LabelDetection>& value) { m_labels = value; }
102 inline void SetLabels(Aws::Vector<LabelDetection>&& value) { m_labels = std::move(value); }
103 inline GetLabelDetectionResult& WithLabels(const Aws::Vector<LabelDetection>& value) { SetLabels(value); return *this;}
104 inline GetLabelDetectionResult& WithLabels(Aws::Vector<LabelDetection>&& value) { SetLabels(std::move(value)); return *this;}
105 inline GetLabelDetectionResult& AddLabels(const LabelDetection& value) { m_labels.push_back(value); return *this; }
106 inline GetLabelDetectionResult& AddLabels(LabelDetection&& value) { m_labels.push_back(std::move(value)); return *this; }
108
110
114 inline const Aws::String& GetLabelModelVersion() const{ return m_labelModelVersion; }
115 inline void SetLabelModelVersion(const Aws::String& value) { m_labelModelVersion = value; }
116 inline void SetLabelModelVersion(Aws::String&& value) { m_labelModelVersion = std::move(value); }
117 inline void SetLabelModelVersion(const char* value) { m_labelModelVersion.assign(value); }
119 inline GetLabelDetectionResult& WithLabelModelVersion(Aws::String&& value) { SetLabelModelVersion(std::move(value)); return *this;}
120 inline GetLabelDetectionResult& WithLabelModelVersion(const char* value) { SetLabelModelVersion(value); return *this;}
122
124
129 inline const Aws::String& GetJobId() const{ return m_jobId; }
130 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
131 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
132 inline void SetJobId(const char* value) { m_jobId.assign(value); }
133 inline GetLabelDetectionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
134 inline GetLabelDetectionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
135 inline GetLabelDetectionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
137
139
140 inline const Video& GetVideo() const{ return m_video; }
141 inline void SetVideo(const Video& value) { m_video = value; }
142 inline void SetVideo(Video&& value) { m_video = std::move(value); }
143 inline GetLabelDetectionResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
144 inline GetLabelDetectionResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
146
148
153 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
154 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
155 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
156 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
157 inline GetLabelDetectionResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
158 inline GetLabelDetectionResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
159 inline GetLabelDetectionResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
161
163
167 inline const GetLabelDetectionRequestMetadata& GetGetRequestMetadata() const{ return m_getRequestMetadata; }
168 inline void SetGetRequestMetadata(const GetLabelDetectionRequestMetadata& value) { m_getRequestMetadata = value; }
169 inline void SetGetRequestMetadata(GetLabelDetectionRequestMetadata&& value) { m_getRequestMetadata = std::move(value); }
173
175
176 inline const Aws::String& GetRequestId() const{ return m_requestId; }
177 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
178 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
179 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
180 inline GetLabelDetectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
181 inline GetLabelDetectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
182 inline GetLabelDetectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
184 private:
185
186 VideoJobStatus m_jobStatus;
187
188 Aws::String m_statusMessage;
189
190 VideoMetadata m_videoMetadata;
191
192 Aws::String m_nextToken;
193
195
196 Aws::String m_labelModelVersion;
197
198 Aws::String m_jobId;
199
200 Video m_video;
201
202 Aws::String m_jobTag;
203
204 GetLabelDetectionRequestMetadata m_getRequestMetadata;
205
206 Aws::String m_requestId;
207 };
208
209} // namespace Model
210} // namespace Rekognition
211} // namespace Aws
GetLabelDetectionResult & WithRequestId(const Aws::String &value)
GetLabelDetectionResult & WithStatusMessage(Aws::String &&value)
GetLabelDetectionResult & WithLabels(Aws::Vector< LabelDetection > &&value)
GetLabelDetectionResult & WithLabelModelVersion(const char *value)
GetLabelDetectionResult & WithJobId(const char *value)
GetLabelDetectionResult & WithNextToken(const Aws::String &value)
GetLabelDetectionResult & WithStatusMessage(const Aws::String &value)
GetLabelDetectionResult & AddLabels(const LabelDetection &value)
GetLabelDetectionResult & WithJobId(const Aws::String &value)
GetLabelDetectionResult & WithJobTag(const char *value)
void SetGetRequestMetadata(GetLabelDetectionRequestMetadata &&value)
void SetLabels(const Aws::Vector< LabelDetection > &value)
GetLabelDetectionResult & WithGetRequestMetadata(GetLabelDetectionRequestMetadata &&value)
AWS_REKOGNITION_API GetLabelDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const GetLabelDetectionRequestMetadata & GetGetRequestMetadata() const
GetLabelDetectionResult & WithLabelModelVersion(Aws::String &&value)
GetLabelDetectionResult & AddLabels(LabelDetection &&value)
GetLabelDetectionResult & WithNextToken(Aws::String &&value)
GetLabelDetectionResult & WithVideo(Video &&value)
void SetLabels(Aws::Vector< LabelDetection > &&value)
GetLabelDetectionResult & WithLabels(const Aws::Vector< LabelDetection > &value)
GetLabelDetectionResult & WithVideoMetadata(const VideoMetadata &value)
AWS_REKOGNITION_API GetLabelDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLabelDetectionResult & WithJobStatus(VideoJobStatus &&value)
GetLabelDetectionResult & WithRequestId(const char *value)
GetLabelDetectionResult & WithGetRequestMetadata(const GetLabelDetectionRequestMetadata &value)
GetLabelDetectionResult & WithRequestId(Aws::String &&value)
void SetGetRequestMetadata(const GetLabelDetectionRequestMetadata &value)
const Aws::Vector< LabelDetection > & GetLabels() const
GetLabelDetectionResult & WithJobId(Aws::String &&value)
GetLabelDetectionResult & WithStatusMessage(const char *value)
GetLabelDetectionResult & WithJobTag(Aws::String &&value)
GetLabelDetectionResult & WithVideo(const Video &value)
GetLabelDetectionResult & WithVideoMetadata(VideoMetadata &&value)
GetLabelDetectionResult & WithJobTag(const Aws::String &value)
GetLabelDetectionResult & WithNextToken(const char *value)
GetLabelDetectionResult & WithLabelModelVersion(const Aws::String &value)
GetLabelDetectionResult & WithJobStatus(const VideoJobStatus &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