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>
48 template<
typename BlockIdT = Aws::String>
49 void SetBlockId(BlockIdT&& value) { m_blockIdHasBeenSet =
true; m_blockId = std::forward<BlockIdT>(value); }
50 template<
typename BlockIdT = Aws::String>
60 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
70 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
80 template<
typename ChildBlocksT = Aws::Vector<ChildBlock>>
81 void SetChildBlocks(ChildBlocksT&& value) { m_childBlocksHasBeenSet =
true; m_childBlocks = std::forward<ChildBlocksT>(value); }
82 template<
typename ChildBlocksT = Aws::Vector<ChildBlock>>
84 template<
typename ChildBlocksT = ChildBlock>
85 BlockReference&
AddChildBlocks(ChildBlocksT&& value) { m_childBlocksHasBeenSet =
true; m_childBlocks.emplace_back(std::forward<ChildBlocksT>(value));
return *
this; }
90 bool m_blockIdHasBeenSet =
false;
93 bool m_beginOffsetHasBeenSet =
false;
96 bool m_endOffsetHasBeenSet =
false;
99 bool m_childBlocksHasBeenSet =
false;
const Aws::String & GetBlockId() const
AWS_COMPREHEND_API BlockReference & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ChildBlocksHasBeenSet() const
BlockReference & WithBlockId(BlockIdT &&value)
void SetEndOffset(int value)
AWS_COMPREHEND_API BlockReference(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChildBlock > & GetChildBlocks() const
bool EndOffsetHasBeenSet() const
void SetBeginOffset(int value)
bool BeginOffsetHasBeenSet() const
BlockReference & AddChildBlocks(ChildBlocksT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
BlockReference & WithBeginOffset(int value)
bool BlockIdHasBeenSet() const
BlockReference & WithChildBlocks(ChildBlocksT &&value)
void SetBlockId(BlockIdT &&value)
void SetChildBlocks(ChildBlocksT &&value)
BlockReference & WithEndOffset(int value)
int GetBeginOffset() const
AWS_COMPREHEND_API BlockReference()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue