7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/SentimentType.h>
9#include <aws/lexv2-runtime/model/SentimentScore.h>
62 template<
typename SentimentScoreT = SentimentScore>
63 void SetSentimentScore(SentimentScoreT&& value) { m_sentimentScoreHasBeenSet =
true; m_sentimentScore = std::forward<SentimentScoreT>(value); }
64 template<
typename SentimentScoreT = SentimentScore>
70 bool m_sentimentHasBeenSet =
false;
72 SentimentScore m_sentimentScore;
73 bool m_sentimentScoreHasBeenSet =
false;
const SentimentScore & GetSentimentScore() const
AWS_LEXRUNTIMEV2_API SentimentResponse(Aws::Utils::Json::JsonView jsonValue)
SentimentResponse & WithSentimentScore(SentimentScoreT &&value)
AWS_LEXRUNTIMEV2_API SentimentResponse()=default
AWS_LEXRUNTIMEV2_API SentimentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SentimentResponse & WithSentiment(SentimentType value)
bool SentimentHasBeenSet() const
SentimentType GetSentiment() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SentimentScoreHasBeenSet() const
void SetSentiment(SentimentType value)
void SetSentimentScore(SentimentScoreT &&value)
Aws::Utils::Json::JsonValue JsonValue