7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/SentimentType.h>
9#include <aws/comprehend/model/SentimentScore.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
53 template<
typename SentimentScoreT = SentimentScore>
54 void SetSentimentScore(SentimentScoreT&& value) { m_sentimentScoreHasBeenSet =
true; m_sentimentScore = std::forward<SentimentScoreT>(value); }
55 template<
typename SentimentScoreT = SentimentScore>
62 template<
typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
64 template<
typename RequestIdT = Aws::String>
70 bool m_sentimentHasBeenSet =
false;
72 SentimentScore m_sentimentScore;
73 bool m_sentimentScoreHasBeenSet =
false;
76 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