7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/TextTypes.h>
10#include <aws/rekognition/model/Geometry.h>
55 template<
typename DetectedTextT = Aws::String>
56 void SetDetectedText(DetectedTextT&& value) { m_detectedTextHasBeenSet =
true; m_detectedText = std::forward<DetectedTextT>(value); }
57 template<
typename DetectedTextT = Aws::String>
76 inline int GetId()
const {
return m_id; }
78 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
90 inline void SetParentId(
int value) { m_parentIdHasBeenSet =
true; m_parentId = value; }
101 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
113 template<
typename GeometryT = Geometry>
114 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
115 template<
typename GeometryT = Geometry>
121 bool m_detectedTextHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
127 bool m_idHasBeenSet =
false;
130 bool m_parentIdHasBeenSet =
false;
132 double m_confidence{0.0};
133 bool m_confidenceHasBeenSet =
false;
136 bool m_geometryHasBeenSet =
false;
bool DetectedTextHasBeenSet() const
bool GeometryHasBeenSet() const
void SetParentId(int value)
bool TypeHasBeenSet() const
bool IdHasBeenSet() const
bool ConfidenceHasBeenSet() const
void SetConfidence(double value)
TextDetection & WithConfidence(double value)
const Geometry & GetGeometry() const
TextTypes GetType() const
void SetGeometry(GeometryT &&value)
TextDetection & WithId(int value)
TextDetection & WithGeometry(GeometryT &&value)
double GetConfidence() const
TextDetection & WithParentId(int value)
TextDetection & WithDetectedText(DetectedTextT &&value)
void SetDetectedText(DetectedTextT &&value)
AWS_REKOGNITION_API TextDetection()=default
AWS_REKOGNITION_API TextDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ParentIdHasBeenSet() const
AWS_REKOGNITION_API TextDetection(Aws::Utils::Json::JsonView jsonValue)
void SetType(TextTypes value)
TextDetection & WithType(TextTypes value)
const Aws::String & GetDetectedText() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue