7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetLanguageCode(
const char* value) { m_languageCodeHasBeenSet =
true; m_languageCode.assign(value); }
63 inline double GetScore()
const{
return m_score; }
65 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
71 bool m_languageCodeHasBeenSet =
false;
74 bool m_scoreHasBeenSet =
false;
AWS_COMPREHEND_API DominantLanguage()
void SetLanguageCode(const Aws::String &value)
bool ScoreHasBeenSet() const
DominantLanguage & WithLanguageCode(const Aws::String &value)
AWS_COMPREHEND_API DominantLanguage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LanguageCodeHasBeenSet() const
DominantLanguage & WithLanguageCode(Aws::String &&value)
DominantLanguage & WithScore(double value)
void SetLanguageCode(Aws::String &&value)
DominantLanguage & WithLanguageCode(const char *value)
const Aws::String & GetLanguageCode() const
void SetLanguageCode(const char *value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API DominantLanguage(Aws::Utils::Json::JsonView jsonValue)
void SetScore(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue