7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/SentimentScore.h>
9#include <aws/comprehend/model/SentimentType.h>
41 inline int GetIndex()
const {
return m_index; }
44 m_indexHasBeenSet =
true;
60 m_sentimentHasBeenSet =
true;
76 template <
typename SentimentScoreT = SentimentScore>
78 m_sentimentScoreHasBeenSet =
true;
79 m_sentimentScore = std::forward<SentimentScoreT>(value);
81 template <
typename SentimentScoreT = SentimentScore>
92 SentimentScore m_sentimentScore;
93 bool m_indexHasBeenSet =
false;
94 bool m_sentimentHasBeenSet =
false;
95 bool m_sentimentScoreHasBeenSet =
false;
AWS_COMPREHEND_API BatchDetectSentimentItemResult(Aws::Utils::Json::JsonView jsonValue)
BatchDetectSentimentItemResult & WithSentiment(SentimentType value)
bool SentimentHasBeenSet() const
AWS_COMPREHEND_API BatchDetectSentimentItemResult()=default
bool SentimentScoreHasBeenSet() const
bool IndexHasBeenSet() const
AWS_COMPREHEND_API BatchDetectSentimentItemResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDetectSentimentItemResult & WithSentimentScore(SentimentScoreT &&value)
const SentimentScore & GetSentimentScore() const
void SetSentiment(SentimentType value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
SentimentType GetSentiment() const
void SetSentimentScore(SentimentScoreT &&value)
BatchDetectSentimentItemResult & WithIndex(int value)
Aws::Utils::Json::JsonValue JsonValue