7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/TargetedSentimentEntityType.h>
10#include <aws/comprehend/model/MentionSentiment.h>
52 inline double GetScore()
const{
return m_score; }
54 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
65 inline void SetGroupScore(
double value) { m_groupScoreHasBeenSet =
true; m_groupScore = value; }
77 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
115 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
125 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
131 bool m_scoreHasBeenSet =
false;
134 bool m_groupScoreHasBeenSet =
false;
137 bool m_textHasBeenSet =
false;
140 bool m_typeHasBeenSet =
false;
143 bool m_mentionSentimentHasBeenSet =
false;
146 bool m_beginOffsetHasBeenSet =
false;
149 bool m_endOffsetHasBeenSet =
false;
AWS_COMPREHEND_API TargetedSentimentMention & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetText(const Aws::String &value)
bool GroupScoreHasBeenSet() const
bool BeginOffsetHasBeenSet() const
bool ScoreHasBeenSet() const
AWS_COMPREHEND_API TargetedSentimentMention()
void SetMentionSentiment(const MentionSentiment &value)
TargetedSentimentMention & WithText(const Aws::String &value)
bool MentionSentimentHasBeenSet() const
TargetedSentimentMention & WithScore(double value)
TargetedSentimentMention & WithGroupScore(double value)
void SetEndOffset(int value)
TargetedSentimentMention & WithText(Aws::String &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupScore(double value)
void SetScore(double value)
TargetedSentimentMention & WithMentionSentiment(MentionSentiment &&value)
int GetBeginOffset() const
const MentionSentiment & GetMentionSentiment() const
void SetType(const TargetedSentimentEntityType &value)
void SetType(TargetedSentimentEntityType &&value)
double GetGroupScore() const
void SetMentionSentiment(MentionSentiment &&value)
const TargetedSentimentEntityType & GetType() const
void SetBeginOffset(int value)
AWS_COMPREHEND_API TargetedSentimentMention(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentMention & WithType(const TargetedSentimentEntityType &value)
TargetedSentimentMention & WithEndOffset(int value)
TargetedSentimentMention & WithMentionSentiment(const MentionSentiment &value)
void SetText(Aws::String &&value)
TargetedSentimentMention & WithText(const char *value)
bool TypeHasBeenSet() const
bool TextHasBeenSet() const
void SetText(const char *value)
bool EndOffsetHasBeenSet() const
const Aws::String & GetText() const
TargetedSentimentMention & WithType(TargetedSentimentEntityType &&value)
TargetedSentimentMention & WithBeginOffset(int value)
TargetedSentimentEntityType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue