7#include <aws/comprehend/Comprehend_EXPORTS.h>
46 inline void SetPositive(
double value) { m_positiveHasBeenSet =
true; m_positive = value; }
57 inline void SetNegative(
double value) { m_negativeHasBeenSet =
true; m_negative = value; }
68 inline void SetNeutral(
double value) { m_neutralHasBeenSet =
true; m_neutral = value; }
77 inline double GetMixed()
const{
return m_mixed; }
79 inline void SetMixed(
double value) { m_mixedHasBeenSet =
true; m_mixed = value; }
85 bool m_positiveHasBeenSet =
false;
88 bool m_negativeHasBeenSet =
false;
91 bool m_neutralHasBeenSet =
false;
94 bool m_mixedHasBeenSet =
false;
double GetNegative() const
void SetMixed(double value)
AWS_COMPREHEND_API SentimentScore()
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNeutral(double value)
SentimentScore & WithNeutral(double value)
void SetPositive(double value)
SentimentScore & WithPositive(double value)
double GetPositive() const
SentimentScore & WithNegative(double value)
AWS_COMPREHEND_API SentimentScore & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNegative(double value)
bool NegativeHasBeenSet() const
bool NeutralHasBeenSet() const
AWS_COMPREHEND_API SentimentScore(Aws::Utils::Json::JsonView jsonValue)
SentimentScore & WithMixed(double value)
double GetNeutral() const
bool MixedHasBeenSet() const
bool PositiveHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue