7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/SentimentType.h>
9#include <aws/comprehend/model/SentimentScore.h>
59 template<
typename SentimentScoreT = SentimentScore>
60 void SetSentimentScore(SentimentScoreT&& value) { m_sentimentScoreHasBeenSet =
true; m_sentimentScore = std::forward<SentimentScoreT>(value); }
61 template<
typename SentimentScoreT = SentimentScore>
67 bool m_sentimentHasBeenSet =
false;
69 SentimentScore m_sentimentScore;
70 bool m_sentimentScoreHasBeenSet =
false;
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
bool SentimentScoreHasBeenSet() const
bool SentimentHasBeenSet() const
void SetSentiment(SentimentType value)
void SetSentimentScore(SentimentScoreT &&value)
SentimentType GetSentiment() const
AWS_COMPREHEND_API MentionSentiment & operator=(Aws::Utils::Json::JsonView jsonValue)
MentionSentiment & WithSentimentScore(SentimentScoreT &&value)
const SentimentScore & GetSentimentScore() const
MentionSentiment & WithSentiment(SentimentType value)
AWS_COMPREHEND_API MentionSentiment()=default
AWS_COMPREHEND_API MentionSentiment(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue