7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehend/model/LanguageCode.h>
46 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
68 bool m_textHasBeenSet =
false;
71 bool m_languageCodeHasBeenSet =
false;
void SetText(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetectSentimentRequest & WithText(const char *value)
void SetText(const char *value)
void SetText(Aws::String &&value)
DetectSentimentRequest & WithLanguageCode(LanguageCode &&value)
DetectSentimentRequest & WithText(Aws::String &&value)
const LanguageCode & GetLanguageCode() const
bool TextHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_COMPREHEND_API Aws::String SerializePayload() const override
void SetLanguageCode(LanguageCode &&value)
const Aws::String & GetText() const
void SetLanguageCode(const LanguageCode &value)
DetectSentimentRequest & WithLanguageCode(const LanguageCode &value)
DetectSentimentRequest & WithText(const Aws::String &value)
bool LanguageCodeHasBeenSet() const
AWS_COMPREHEND_API DetectSentimentRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String