7#include <aws/comprehend/Comprehend_EXPORTS.h>
40 m_positiveHasBeenSet =
true;
57 m_negativeHasBeenSet =
true;
74 m_neutralHasBeenSet =
true;
88 inline double GetMixed()
const {
return m_mixed; }
91 m_mixedHasBeenSet =
true;
100 double m_positive{0.0};
102 double m_negative{0.0};
104 double m_neutral{0.0};
107 bool m_positiveHasBeenSet =
false;
108 bool m_negativeHasBeenSet =
false;
109 bool m_neutralHasBeenSet =
false;
110 bool m_mixedHasBeenSet =
false;
double GetNegative() const
void SetMixed(double value)
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()=default
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