7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/BlockType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/textract/model/TextType.h>
11#include <aws/textract/model/Geometry.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/textract/model/SelectionStatus.h>
14#include <aws/textract/model/Query.h>
15#include <aws/textract/model/Relationship.h>
16#include <aws/textract/model/EntityType.h>
55 AWS_TEXTRACT_API
Block() =
default;
131 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
141 template<
typename TextT = Aws::String>
142 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
143 template<
typename TextT = Aws::String>
166 inline void SetRowIndex(
int value) { m_rowIndexHasBeenSet =
true; m_rowIndex = value; }
178 inline void SetColumnIndex(
int value) { m_columnIndexHasBeenSet =
true; m_columnIndex = value; }
190 inline void SetRowSpan(
int value) { m_rowSpanHasBeenSet =
true; m_rowSpan = value; }
202 inline void SetColumnSpan(
int value) { m_columnSpanHasBeenSet =
true; m_columnSpan = value; }
214 template<
typename GeometryT = Geometry>
215 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
216 template<
typename GeometryT = Geometry>
227 template<
typename IdT = Aws::String>
228 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
229 template<
typename IdT = Aws::String>
243 template<
typename RelationshipsT = Aws::Vector<Relationship>>
244 void SetRelationships(RelationshipsT&& value) { m_relationshipsHasBeenSet =
true; m_relationships = std::forward<RelationshipsT>(value); }
245 template<
typename RelationshipsT = Aws::Vector<Relationship>>
247 template<
typename RelationshipsT = Relationship>
248 Block&
AddRelationships(RelationshipsT&& value) { m_relationshipsHasBeenSet =
true; m_relationships.emplace_back(std::forward<RelationshipsT>(value));
return *
this; }
274 template<
typename EntityTypesT = Aws::Vector<EntityType>>
275 void SetEntityTypes(EntityTypesT&& value) { m_entityTypesHasBeenSet =
true; m_entityTypes = std::forward<EntityTypesT>(value); }
276 template<
typename EntityTypesT = Aws::Vector<EntityType>>
303 inline void SetPage(
int value) { m_pageHasBeenSet =
true; m_page = value; }
313 template<
typename QueryT = Query>
314 void SetQuery(QueryT&& value) { m_queryHasBeenSet =
true; m_query = std::forward<QueryT>(value); }
315 template<
typename QueryT = Query>
321 bool m_blockTypeHasBeenSet =
false;
323 double m_confidence{0.0};
324 bool m_confidenceHasBeenSet =
false;
327 bool m_textHasBeenSet =
false;
330 bool m_textTypeHasBeenSet =
false;
333 bool m_rowIndexHasBeenSet =
false;
335 int m_columnIndex{0};
336 bool m_columnIndexHasBeenSet =
false;
339 bool m_rowSpanHasBeenSet =
false;
342 bool m_columnSpanHasBeenSet =
false;
345 bool m_geometryHasBeenSet =
false;
348 bool m_idHasBeenSet =
false;
351 bool m_relationshipsHasBeenSet =
false;
354 bool m_entityTypesHasBeenSet =
false;
357 bool m_selectionStatusHasBeenSet =
false;
360 bool m_pageHasBeenSet =
false;
363 bool m_queryHasBeenSet =
false;
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue