AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline VideoJobStatus GetJobStatus() const { return m_jobStatus; }
45 inline void SetJobStatus(VideoJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
46 inline GetTextDetectionResult& WithJobStatus(VideoJobStatus value) { SetJobStatus(value); return *this;}
48
50
54 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
55 template<typename StatusMessageT = Aws::String>
56 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
57 template<typename StatusMessageT = Aws::String>
58 GetTextDetectionResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
60
62
63 inline const VideoMetadata& GetVideoMetadata() const { return m_videoMetadata; }
64 template<typename VideoMetadataT = VideoMetadata>
65 void SetVideoMetadata(VideoMetadataT&& value) { m_videoMetadataHasBeenSet = true; m_videoMetadata = std::forward<VideoMetadataT>(value); }
66 template<typename VideoMetadataT = VideoMetadata>
67 GetTextDetectionResult& WithVideoMetadata(VideoMetadataT&& value) { SetVideoMetadata(std::forward<VideoMetadataT>(value)); return *this;}
69
71
76 inline const Aws::Vector<TextDetectionResult>& GetTextDetections() const { return m_textDetections; }
77 template<typename TextDetectionsT = Aws::Vector<TextDetectionResult>>
78 void SetTextDetections(TextDetectionsT&& value) { m_textDetectionsHasBeenSet = true; m_textDetections = std::forward<TextDetectionsT>(value); }
79 template<typename TextDetectionsT = Aws::Vector<TextDetectionResult>>
80 GetTextDetectionResult& WithTextDetections(TextDetectionsT&& value) { SetTextDetections(std::forward<TextDetectionsT>(value)); return *this;}
81 template<typename TextDetectionsT = TextDetectionResult>
82 GetTextDetectionResult& AddTextDetections(TextDetectionsT&& value) { m_textDetectionsHasBeenSet = true; m_textDetections.emplace_back(std::forward<TextDetectionsT>(value)); return *this; }
84
86
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 GetTextDetectionResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96
98
101 inline const Aws::String& GetTextModelVersion() const { return m_textModelVersion; }
102 template<typename TextModelVersionT = Aws::String>
103 void SetTextModelVersion(TextModelVersionT&& value) { m_textModelVersionHasBeenSet = true; m_textModelVersion = std::forward<TextModelVersionT>(value); }
104 template<typename TextModelVersionT = Aws::String>
105 GetTextDetectionResult& WithTextModelVersion(TextModelVersionT&& value) { SetTextModelVersion(std::forward<TextModelVersionT>(value)); return *this;}
107
109
114 inline const Aws::String& GetJobId() const { return m_jobId; }
115 template<typename JobIdT = Aws::String>
116 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
117 template<typename JobIdT = Aws::String>
118 GetTextDetectionResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
120
122
123 inline const Video& GetVideo() const { return m_video; }
124 template<typename VideoT = Video>
125 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
126 template<typename VideoT = Video>
127 GetTextDetectionResult& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
129
131
136 inline const Aws::String& GetJobTag() const { return m_jobTag; }
137 template<typename JobTagT = Aws::String>
138 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
139 template<typename JobTagT = Aws::String>
140 GetTextDetectionResult& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template<typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
148 template<typename RequestIdT = Aws::String>
149 GetTextDetectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
151 private:
152
154 bool m_jobStatusHasBeenSet = false;
155
156 Aws::String m_statusMessage;
157 bool m_statusMessageHasBeenSet = false;
158
159 VideoMetadata m_videoMetadata;
160 bool m_videoMetadataHasBeenSet = false;
161
162 Aws::Vector<TextDetectionResult> m_textDetections;
163 bool m_textDetectionsHasBeenSet = false;
164
165 Aws::String m_nextToken;
166 bool m_nextTokenHasBeenSet = false;
167
168 Aws::String m_textModelVersion;
169 bool m_textModelVersionHasBeenSet = false;
170
171 Aws::String m_jobId;
172 bool m_jobIdHasBeenSet = false;
173
174 Video m_video;
175 bool m_videoHasBeenSet = false;
176
177 Aws::String m_jobTag;
178 bool m_jobTagHasBeenSet = false;
179
180 Aws::String m_requestId;
181 bool m_requestIdHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace Rekognition
186} // namespace Aws
GetTextDetectionResult & WithJobTag(JobTagT &&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 & WithTextDetections(TextDetectionsT &&value)
const Aws::Vector< TextDetectionResult > & GetTextDetections() const
GetTextDetectionResult & WithJobId(JobIdT &&value)
AWS_REKOGNITION_API GetTextDetectionResult()=default
GetTextDetectionResult & WithVideo(VideoT &&value)
GetTextDetectionResult & WithJobStatus(VideoJobStatus value)
GetTextDetectionResult & WithStatusMessage(StatusMessageT &&value)
GetTextDetectionResult & AddTextDetections(TextDetectionsT &&value)
GetTextDetectionResult & WithTextModelVersion(TextModelVersionT &&value)
GetTextDetectionResult & WithRequestId(RequestIdT &&value)
GetTextDetectionResult & WithNextToken(NextTokenT &&value)
GetTextDetectionResult & WithVideoMetadata(VideoMetadataT &&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