7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LexRuntimeService
51 inline void SetSentimentLabel(
const char* value) { m_sentimentLabelHasBeenSet =
true; m_sentimentLabel.assign(value); }
65 inline void SetSentimentScore(
const char* value) { m_sentimentScoreHasBeenSet =
true; m_sentimentScore.assign(value); }
73 bool m_sentimentLabelHasBeenSet =
false;
76 bool m_sentimentScoreHasBeenSet =
false;
bool SentimentLabelHasBeenSet() const
void SetSentimentScore(const char *value)
void SetSentimentLabel(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API SentimentResponse(Aws::Utils::Json::JsonView jsonValue)
SentimentResponse & WithSentimentScore(Aws::String &&value)
SentimentResponse & WithSentimentLabel(const char *value)
const Aws::String & GetSentimentScore() const
const Aws::String & GetSentimentLabel() const
SentimentResponse & WithSentimentScore(const char *value)
AWS_LEXRUNTIMESERVICE_API SentimentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API SentimentResponse()
void SetSentimentScore(const Aws::String &value)
SentimentResponse & WithSentimentLabel(Aws::String &&value)
void SetSentimentLabel(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SentimentResponse & WithSentimentScore(const Aws::String &value)
void SetSentimentScore(Aws::String &&value)
bool SentimentScoreHasBeenSet() const
void SetSentimentLabel(const char *value)
SentimentResponse & WithSentimentLabel(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue