7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/SentimentScore.h>
9#include <aws/lexv2-runtime/model/SentimentType.h>
20namespace LexRuntimeV2 {
49 m_sentimentHasBeenSet =
true;
62 template <
typename SentimentScoreT = SentimentScore>
64 m_sentimentScoreHasBeenSet =
true;
65 m_sentimentScore = std::forward<SentimentScoreT>(value);
67 template <
typename SentimentScoreT = SentimentScore>
76 SentimentScore m_sentimentScore;
77 bool m_sentimentHasBeenSet =
false;
78 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