7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/PiiEntityType.h>
45 inline double GetScore()
const{
return m_score; }
47 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
70 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
81 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
87 bool m_scoreHasBeenSet =
false;
90 bool m_typeHasBeenSet =
false;
93 bool m_beginOffsetHasBeenSet =
false;
96 bool m_endOffsetHasBeenSet =
false;
bool TypeHasBeenSet() const
const PiiEntityType & GetType() const
void SetBeginOffset(int value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
PiiEntity & WithEndOffset(int value)
PiiEntity & WithType(PiiEntityType &&value)
bool BeginOffsetHasBeenSet() const
AWS_COMPREHEND_API PiiEntity(Aws::Utils::Json::JsonView jsonValue)
int GetBeginOffset() const
AWS_COMPREHEND_API PiiEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
PiiEntity & WithBeginOffset(int value)
PiiEntity & WithScore(double value)
void SetType(PiiEntityType &&value)
void SetScore(double value)
void SetEndOffset(int value)
bool EndOffsetHasBeenSet() const
AWS_COMPREHEND_API PiiEntity()
void SetType(const PiiEntityType &value)
bool ScoreHasBeenSet() const
PiiEntity & WithType(const PiiEntityType &value)
Aws::Utils::Json::JsonValue JsonValue