7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/SentimentScore.h>
9#include <aws/comprehend/model/SentimentType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 m_sentimentHasBeenSet =
true;
53 template <
typename SentimentScoreT = SentimentScore>
55 m_sentimentScoreHasBeenSet =
true;
56 m_sentimentScore = std::forward<SentimentScoreT>(value);
58 template <
typename SentimentScoreT = SentimentScore>
68 template <
typename RequestIdT = Aws::String>
70 m_requestIdHasBeenSet =
true;
71 m_requestId = std::forward<RequestIdT>(value);
73 template <
typename RequestIdT = Aws::String>
82 SentimentScore m_sentimentScore;
85 bool m_sentimentHasBeenSet =
false;
86 bool m_sentimentScoreHasBeenSet =
false;
87 bool m_requestIdHasBeenSet =
false;
AWS_COMPREHEND_API DetectSentimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetSentimentScore(SentimentScoreT &&value)
AWS_COMPREHEND_API DetectSentimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectSentimentResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
DetectSentimentResult & WithSentimentScore(SentimentScoreT &&value)
void SetSentiment(SentimentType value)
AWS_COMPREHEND_API DetectSentimentResult()=default
DetectSentimentResult & WithSentiment(SentimentType value)
SentimentType GetSentiment() const
const SentimentScore & GetSentimentScore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue