AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTextDetectionResult.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/TextDetectionResult.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 GetTextDetectionResult();
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 GetTextDetectionResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
48 inline GetTextDetectionResult& 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 GetTextDetectionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
61 inline GetTextDetectionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
62 inline GetTextDetectionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
64
66
67 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
68 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
69 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
70 inline GetTextDetectionResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
71 inline GetTextDetectionResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
73
75
80 inline const Aws::Vector<TextDetectionResult>& GetTextDetections() const{ return m_textDetections; }
81 inline void SetTextDetections(const Aws::Vector<TextDetectionResult>& value) { m_textDetections = value; }
82 inline void SetTextDetections(Aws::Vector<TextDetectionResult>&& value) { m_textDetections = std::move(value); }
85 inline GetTextDetectionResult& AddTextDetections(const TextDetectionResult& value) { m_textDetections.push_back(value); return *this; }
86 inline GetTextDetectionResult& AddTextDetections(TextDetectionResult&& value) { m_textDetections.push_back(std::move(value)); return *this; }
88
90
94 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
98 inline GetTextDetectionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 inline GetTextDetectionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline GetTextDetectionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102
104
107 inline const Aws::String& GetTextModelVersion() const{ return m_textModelVersion; }
108 inline void SetTextModelVersion(const Aws::String& value) { m_textModelVersion = value; }
109 inline void SetTextModelVersion(Aws::String&& value) { m_textModelVersion = std::move(value); }
110 inline void SetTextModelVersion(const char* value) { m_textModelVersion.assign(value); }
111 inline GetTextDetectionResult& WithTextModelVersion(const Aws::String& value) { SetTextModelVersion(value); return *this;}
112 inline GetTextDetectionResult& WithTextModelVersion(Aws::String&& value) { SetTextModelVersion(std::move(value)); return *this;}
113 inline GetTextDetectionResult& WithTextModelVersion(const char* value) { SetTextModelVersion(value); return *this;}
115
117
122 inline const Aws::String& GetJobId() const{ return m_jobId; }
123 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
124 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
125 inline void SetJobId(const char* value) { m_jobId.assign(value); }
126 inline GetTextDetectionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
127 inline GetTextDetectionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
128 inline GetTextDetectionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
130
132
133 inline const Video& GetVideo() const{ return m_video; }
134 inline void SetVideo(const Video& value) { m_video = value; }
135 inline void SetVideo(Video&& value) { m_video = std::move(value); }
136 inline GetTextDetectionResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
137 inline GetTextDetectionResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
139
141
146 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
147 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
148 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
149 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
150 inline GetTextDetectionResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
151 inline GetTextDetectionResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
152 inline GetTextDetectionResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
154
156
157 inline const Aws::String& GetRequestId() const{ return m_requestId; }
158 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
159 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
160 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
161 inline GetTextDetectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
162 inline GetTextDetectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
163 inline GetTextDetectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
165 private:
166
167 VideoJobStatus m_jobStatus;
168
169 Aws::String m_statusMessage;
170
171 VideoMetadata m_videoMetadata;
172
173 Aws::Vector<TextDetectionResult> m_textDetections;
174
175 Aws::String m_nextToken;
176
177 Aws::String m_textModelVersion;
178
179 Aws::String m_jobId;
180
181 Video m_video;
182
183 Aws::String m_jobTag;
184
185 Aws::String m_requestId;
186 };
187
188} // namespace Model
189} // namespace Rekognition
190} // namespace Aws
GetTextDetectionResult & AddTextDetections(TextDetectionResult &&value)
GetTextDetectionResult & WithRequestId(const char *value)
GetTextDetectionResult & WithVideoMetadata(VideoMetadata &&value)
GetTextDetectionResult & WithJobStatus(const VideoJobStatus &value)
AWS_REKOGNITION_API GetTextDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API GetTextDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTextDetectionResult & WithJobStatus(VideoJobStatus &&value)
GetTextDetectionResult & WithStatusMessage(const Aws::String &value)
GetTextDetectionResult & WithRequestId(const Aws::String &value)
GetTextDetectionResult & WithTextDetections(Aws::Vector< TextDetectionResult > &&value)
void SetTextDetections(const Aws::Vector< TextDetectionResult > &value)
GetTextDetectionResult & WithTextModelVersion(const char *value)
GetTextDetectionResult & WithRequestId(Aws::String &&value)
GetTextDetectionResult & WithJobId(const Aws::String &value)
void SetTextDetections(Aws::Vector< TextDetectionResult > &&value)
GetTextDetectionResult & WithTextDetections(const Aws::Vector< TextDetectionResult > &value)
GetTextDetectionResult & WithNextToken(const Aws::String &value)
GetTextDetectionResult & WithJobId(Aws::String &&value)
GetTextDetectionResult & WithStatusMessage(Aws::String &&value)
GetTextDetectionResult & WithNextToken(Aws::String &&value)
const Aws::Vector< TextDetectionResult > & GetTextDetections() const
GetTextDetectionResult & WithJobTag(const char *value)
GetTextDetectionResult & WithVideo(const Video &value)
GetTextDetectionResult & WithJobTag(const Aws::String &value)
GetTextDetectionResult & WithVideoMetadata(const VideoMetadata &value)
GetTextDetectionResult & WithJobTag(Aws::String &&value)
GetTextDetectionResult & WithVideo(Video &&value)
GetTextDetectionResult & WithTextModelVersion(const Aws::String &value)
GetTextDetectionResult & WithJobId(const char *value)
GetTextDetectionResult & AddTextDetections(const TextDetectionResult &value)
GetTextDetectionResult & WithStatusMessage(const char *value)
GetTextDetectionResult & WithTextModelVersion(Aws::String &&value)
GetTextDetectionResult & WithNextToken(const char *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