7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/ChildBlock.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename BlockIdT = Aws::String>
44 m_blockIdHasBeenSet =
true;
45 m_blockId = std::forward<BlockIdT>(value);
47 template <
typename BlockIdT = Aws::String>
61 m_beginOffsetHasBeenSet =
true;
62 m_beginOffset = value;
77 m_endOffsetHasBeenSet =
true;
92 template <
typename ChildBlocksT = Aws::Vector<ChildBlock>>
94 m_childBlocksHasBeenSet =
true;
95 m_childBlocks = std::forward<ChildBlocksT>(value);
97 template <
typename ChildBlocksT = Aws::Vector<ChildBlock>>
102 template <
typename ChildBlocksT = ChildBlock>
104 m_childBlocksHasBeenSet =
true;
105 m_childBlocks.emplace_back(std::forward<ChildBlocksT>(value));
112 int m_beginOffset{0};
117 bool m_blockIdHasBeenSet =
false;
118 bool m_beginOffsetHasBeenSet =
false;
119 bool m_endOffsetHasBeenSet =
false;
120 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