7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/comprehend/model/ChildBlock.h>
50 inline void SetBlockId(
const char* value) { m_blockIdHasBeenSet =
true; m_blockId.assign(value); }
62 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
72 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
92 bool m_blockIdHasBeenSet =
false;
95 bool m_beginOffsetHasBeenSet =
false;
98 bool m_endOffsetHasBeenSet =
false;
101 bool m_childBlocksHasBeenSet =
false;
void SetChildBlocks(const Aws::Vector< ChildBlock > &value)
void SetChildBlocks(Aws::Vector< ChildBlock > &&value)
const Aws::String & GetBlockId() const
AWS_COMPREHEND_API BlockReference & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ChildBlocksHasBeenSet() const
void SetEndOffset(int value)
AWS_COMPREHEND_API BlockReference(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChildBlock > & GetChildBlocks() const
BlockReference & WithChildBlocks(const Aws::Vector< ChildBlock > &value)
bool EndOffsetHasBeenSet() const
void SetBlockId(Aws::String &&value)
AWS_COMPREHEND_API BlockReference()
void SetBeginOffset(int value)
bool BeginOffsetHasBeenSet() const
BlockReference & WithBlockId(const char *value)
BlockReference & WithChildBlocks(Aws::Vector< ChildBlock > &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
BlockReference & WithBeginOffset(int value)
bool BlockIdHasBeenSet() const
BlockReference & WithBlockId(const Aws::String &value)
BlockReference & AddChildBlocks(const ChildBlock &value)
void SetBlockId(const Aws::String &value)
BlockReference & WithBlockId(Aws::String &&value)
BlockReference & AddChildBlocks(ChildBlock &&value)
BlockReference & WithEndOffset(int value)
int GetBeginOffset() const
void SetBlockId(const char *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