7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/SentimentType.h>
9#include <aws/comprehend/model/SentimentScore.h>
49 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
80 bool m_indexHasBeenSet =
false;
83 bool m_sentimentHasBeenSet =
false;
86 bool m_sentimentScoreHasBeenSet =
false;
void SetSentimentScore(const SentimentScore &value)
AWS_COMPREHEND_API BatchDetectSentimentItemResult(Aws::Utils::Json::JsonView jsonValue)
bool SentimentHasBeenSet() const
bool SentimentScoreHasBeenSet() const
const SentimentType & GetSentiment() const
void SetSentiment(SentimentType &&value)
void SetSentimentScore(SentimentScore &&value)
BatchDetectSentimentItemResult & WithSentimentScore(SentimentScore &&value)
bool IndexHasBeenSet() const
BatchDetectSentimentItemResult & WithSentimentScore(const SentimentScore &value)
AWS_COMPREHEND_API BatchDetectSentimentItemResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDetectSentimentItemResult & WithSentiment(SentimentType &&value)
const SentimentScore & GetSentimentScore() const
AWS_COMPREHEND_API BatchDetectSentimentItemResult()
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDetectSentimentItemResult & WithSentiment(const SentimentType &value)
BatchDetectSentimentItemResult & WithIndex(int value)
void SetSentiment(const SentimentType &value)
Aws::Utils::Json::JsonValue JsonValue