7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/BlockType.h>
10#include <aws/comprehend/model/Geometry.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/comprehend/model/RelationshipsListItem.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
85 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
95 inline int GetPage()
const{
return m_page; }
97 inline void SetPage(
int value) { m_pageHasBeenSet =
true; m_page = value; }
130 bool m_idHasBeenSet =
false;
133 bool m_blockTypeHasBeenSet =
false;
136 bool m_textHasBeenSet =
false;
139 bool m_pageHasBeenSet =
false;
142 bool m_geometryHasBeenSet =
false;
145 bool m_relationshipsHasBeenSet =
false;
Block & WithId(const Aws::String &value)
void SetRelationships(const Aws::Vector< RelationshipsListItem > &value)
bool PageHasBeenSet() const
Block & WithBlockType(const BlockType &value)
Block & WithGeometry(Geometry &&value)
const BlockType & GetBlockType() const
void SetId(const Aws::String &value)
Block & AddRelationships(RelationshipsListItem &&value)
bool TextHasBeenSet() const
bool RelationshipsHasBeenSet() const
bool IdHasBeenSet() const
AWS_COMPREHEND_API Block & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
void SetText(const char *value)
Block & WithRelationships(Aws::Vector< RelationshipsListItem > &&value)
Block & WithGeometry(const Geometry &value)
const Aws::String & GetId() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
Block & WithText(const Aws::String &value)
bool BlockTypeHasBeenSet() const
AWS_COMPREHEND_API Block()
void SetText(const Aws::String &value)
Block & WithId(Aws::String &&value)
void SetBlockType(BlockType &&value)
const Aws::String & GetText() const
void SetGeometry(Geometry &&value)
const Aws::Vector< RelationshipsListItem > & GetRelationships() const
void SetGeometry(const Geometry &value)
void SetRelationships(Aws::Vector< RelationshipsListItem > &&value)
bool GeometryHasBeenSet() const
AWS_COMPREHEND_API Block(Aws::Utils::Json::JsonView jsonValue)
const Geometry & GetGeometry() const
Block & WithPage(int value)
Block & AddRelationships(const RelationshipsListItem &value)
Block & WithText(Aws::String &&value)
void SetId(const char *value)
Block & WithRelationships(const Aws::Vector< RelationshipsListItem > &value)
Block & WithId(const char *value)
Block & WithText(const char *value)
void SetBlockType(const BlockType &value)
void SetText(Aws::String &&value)
Block & WithBlockType(BlockType &&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