7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lex/LexRuntimeService_EXPORTS.h>
19namespace LexRuntimeService {
43 template <
typename SentimentLabelT = Aws::String>
45 m_sentimentLabelHasBeenSet =
true;
46 m_sentimentLabel = std::forward<SentimentLabelT>(value);
48 template <
typename SentimentLabelT = Aws::String>
61 template <
typename SentimentScoreT = Aws::String>
63 m_sentimentScoreHasBeenSet =
true;
64 m_sentimentScore = std::forward<SentimentScoreT>(value);
66 template <
typename SentimentScoreT = Aws::String>
76 bool m_sentimentLabelHasBeenSet =
false;
77 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