7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LexRuntimeService
49 template<
typename SentimentLabelT = Aws::String>
50 void SetSentimentLabel(SentimentLabelT&& value) { m_sentimentLabelHasBeenSet =
true; m_sentimentLabel = std::forward<SentimentLabelT>(value); }
51 template<
typename SentimentLabelT = Aws::String>
61 template<
typename SentimentScoreT = Aws::String>
62 void SetSentimentScore(SentimentScoreT&& value) { m_sentimentScoreHasBeenSet =
true; m_sentimentScore = std::forward<SentimentScoreT>(value); }
63 template<
typename SentimentScoreT = Aws::String>
69 bool m_sentimentLabelHasBeenSet =
false;
72 bool m_sentimentScoreHasBeenSet =
false;
bool SentimentLabelHasBeenSet() const
SentimentResponse & WithSentimentLabel(SentimentLabelT &&value)
void SetSentimentLabel(SentimentLabelT &&value)
AWS_LEXRUNTIMESERVICE_API SentimentResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSentimentScore() const
const Aws::String & GetSentimentLabel() const
AWS_LEXRUNTIMESERVICE_API SentimentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SentimentResponse & WithSentimentScore(SentimentScoreT &&value)
AWS_LEXRUNTIMESERVICE_API SentimentResponse()=default
void SetSentimentScore(SentimentScoreT &&value)
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SentimentScoreHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue