7#include <aws/lexv2-runtime/LexRuntimeV2_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;
bool NegativeHasBeenSet() const
SentimentScore & WithNegative(double value)
void SetPositive(double value)
bool MixedHasBeenSet() const
AWS_LEXRUNTIMEV2_API SentimentScore(Aws::Utils::Json::JsonView jsonValue)
double GetPositive() const
bool PositiveHasBeenSet() const
SentimentScore & WithMixed(double value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNegative(double value)
double GetNeutral() const
double GetNegative() const
SentimentScore & WithPositive(double value)
SentimentScore & WithNeutral(double value)
void SetNeutral(double value)
bool NeutralHasBeenSet() const
void SetMixed(double value)
AWS_LEXRUNTIMEV2_API SentimentScore()
AWS_LEXRUNTIMEV2_API SentimentScore & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue