7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/EntityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehend/model/BlockReference.h>
48 inline double GetScore()
const{
return m_score; }
50 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
64 inline void SetType(
EntityType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
77 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
90 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
101 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
122 bool m_scoreHasBeenSet =
false;
125 bool m_typeHasBeenSet =
false;
128 bool m_textHasBeenSet =
false;
131 bool m_beginOffsetHasBeenSet =
false;
134 bool m_endOffsetHasBeenSet =
false;
137 bool m_blockReferencesHasBeenSet =
false;
Entity & WithType(EntityType &&value)
Entity & WithType(const EntityType &value)
void SetScore(double value)
void SetText(Aws::String &&value)
const Aws::String & GetText() const
int GetBeginOffset() const
Entity & WithText(Aws::String &&value)
const EntityType & GetType() const
Entity & WithBlockReferences(Aws::Vector< BlockReference > &&value)
bool ScoreHasBeenSet() const
void SetBlockReferences(Aws::Vector< BlockReference > &&value)
AWS_COMPREHEND_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBlockReferences(const Aws::Vector< BlockReference > &value)
Entity & WithText(const Aws::String &value)
const Aws::Vector< BlockReference > & GetBlockReferences() const
Entity & WithScore(double value)
Entity & WithText(const char *value)
bool BlockReferencesHasBeenSet() const
Entity & AddBlockReferences(BlockReference &&value)
Entity & WithEndOffset(int value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API Entity()
Entity & AddBlockReferences(const BlockReference &value)
Entity & WithBlockReferences(const Aws::Vector< BlockReference > &value)
void SetType(EntityType &&value)
void SetBeginOffset(int value)
bool EndOffsetHasBeenSet() const
Entity & WithBeginOffset(int value)
bool TextHasBeenSet() const
void SetText(const Aws::String &value)
void SetType(const EntityType &value)
bool TypeHasBeenSet() const
AWS_COMPREHEND_API Entity(Aws::Utils::Json::JsonView jsonValue)
void SetText(const char *value)
void SetEndOffset(int value)
bool BeginOffsetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue