7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BlockType.h>
9#include <aws/comprehend/model/Geometry.h>
10#include <aws/comprehend/model/RelationshipsListItem.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
36 AWS_COMPREHEND_API
Block() =
default;
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
70 m_blockTypeHasBeenSet =
true;
85 template <
typename TextT = Aws::String>
87 m_textHasBeenSet =
true;
88 m_text = std::forward<TextT>(value);
90 template <
typename TextT = Aws::String>
92 SetText(std::forward<TextT>(value));
104 m_pageHasBeenSet =
true;
119 template <
typename GeometryT = Geometry>
121 m_geometryHasBeenSet =
true;
122 m_geometry = std::forward<GeometryT>(value);
124 template <
typename GeometryT = Geometry>
138 template <
typename RelationshipsT = Aws::Vector<RelationshipsListItem>>
140 m_relationshipsHasBeenSet =
true;
141 m_relationships = std::forward<RelationshipsT>(value);
143 template <
typename RelationshipsT = Aws::Vector<RelationshipsListItem>>
148 template <
typename RelationshipsT = RelationshipsListItem>
150 m_relationshipsHasBeenSet =
true;
151 m_relationships.emplace_back(std::forward<RelationshipsT>(value));
167 bool m_idHasBeenSet =
false;
168 bool m_blockTypeHasBeenSet =
false;
169 bool m_textHasBeenSet =
false;
170 bool m_pageHasBeenSet =
false;
171 bool m_geometryHasBeenSet =
false;
172 bool m_relationshipsHasBeenSet =
false;
bool PageHasBeenSet() const
void SetText(TextT &&value)
BlockType GetBlockType() const
Block & WithText(TextT &&value)
bool TextHasBeenSet() const
bool RelationshipsHasBeenSet() const
bool IdHasBeenSet() const
AWS_COMPREHEND_API Block & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeometry(GeometryT &&value)
const Aws::String & GetId() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelationships(RelationshipsT &&value)
bool BlockTypeHasBeenSet() const
AWS_COMPREHEND_API Block()=default
Block & WithGeometry(GeometryT &&value)
const Aws::String & GetText() const
Block & WithRelationships(RelationshipsT &&value)
const Aws::Vector< RelationshipsListItem > & GetRelationships() const
bool GeometryHasBeenSet() const
AWS_COMPREHEND_API Block(Aws::Utils::Json::JsonView jsonValue)
const Geometry & GetGeometry() const
void SetBlockType(BlockType value)
Block & WithPage(int value)
Block & WithId(IdT &&value)
Block & WithBlockType(BlockType value)
Block & AddRelationships(RelationshipsT &&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