7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 inline double GetScore()
const{
return m_score; }
47 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
59 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
72 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
83 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
89 bool m_scoreHasBeenSet =
false;
92 bool m_textHasBeenSet =
false;
95 bool m_beginOffsetHasBeenSet =
false;
98 bool m_endOffsetHasBeenSet =
false;
AWS_COMPREHEND_API KeyPhrase & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetBeginOffset() const
const Aws::String & GetText() const
KeyPhrase & WithScore(double value)
AWS_COMPREHEND_API KeyPhrase()
KeyPhrase & WithEndOffset(int value)
void SetText(const Aws::String &value)
void SetText(Aws::String &&value)
void SetEndOffset(int value)
void SetScore(double value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
KeyPhrase & WithText(const char *value)
KeyPhrase & WithBeginOffset(int value)
bool BeginOffsetHasBeenSet() const
KeyPhrase & WithText(const Aws::String &value)
bool ScoreHasBeenSet() const
AWS_COMPREHEND_API KeyPhrase(Aws::Utils::Json::JsonView jsonValue)
bool TextHasBeenSet() const
void SetBeginOffset(int value)
KeyPhrase & WithText(Aws::String &&value)
void SetText(const char *value)
bool EndOffsetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue