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;
66 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetSentiment(const SentimentType &value)
DetectSentimentResult & WithRequestId(Aws::String &&value)
void SetSentimentScore(const SentimentScore &value)
AWS_COMPREHEND_API DetectSentimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectSentimentResult & WithSentimentScore(const SentimentScore &value)
const Aws::String & GetRequestId() const
DetectSentimentResult & WithRequestId(const char *value)
AWS_COMPREHEND_API DetectSentimentResult()
DetectSentimentResult & WithRequestId(const Aws::String &value)
AWS_COMPREHEND_API DetectSentimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSentimentScore(SentimentScore &&value)
DetectSentimentResult & WithSentiment(SentimentType &&value)
DetectSentimentResult & WithSentimentScore(SentimentScore &&value)
const SentimentType & GetSentiment() const
void SetRequestId(const char *value)
void SetRequestId(Aws::String &&value)
const SentimentScore & GetSentimentScore() const
void SetRequestId(const Aws::String &value)
DetectSentimentResult & WithSentiment(const SentimentType &value)
void SetSentiment(SentimentType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue