7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/TextDetection.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace Rekognition {
37 template <
typename TextDetectionsT = Aws::Vector<TextDetection>>
39 m_textDetectionsHasBeenSet =
true;
40 m_textDetections = std::forward<TextDetectionsT>(value);
42 template <
typename TextDetectionsT = Aws::Vector<TextDetection>>
47 template <
typename TextDetectionsT = TextDetection>
49 m_textDetectionsHasBeenSet =
true;
50 m_textDetections.emplace_back(std::forward<TextDetectionsT>(value));
60 template <
typename TextModelVersionT = Aws::String>
62 m_textModelVersionHasBeenSet =
true;
63 m_textModelVersion = std::forward<TextModelVersionT>(value);
65 template <
typename TextModelVersionT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_textDetectionsHasBeenSet =
false;
96 bool m_textModelVersionHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
DetectTextResult & WithTextDetections(TextDetectionsT &&value)
AWS_REKOGNITION_API DetectTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTextModelVersion(TextModelVersionT &&value)
const Aws::String & GetTextModelVersion() const
AWS_REKOGNITION_API DetectTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< TextDetection > & GetTextDetections() const
DetectTextResult & WithRequestId(RequestIdT &&value)
AWS_REKOGNITION_API DetectTextResult()=default
DetectTextResult & AddTextDetections(TextDetectionsT &&value)
void SetTextDetections(TextDetectionsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DetectTextResult & WithTextModelVersion(TextModelVersionT &&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