7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
60 inline double GetScore()
const{
return m_score; }
62 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
71 inline int GetPage()
const{
return m_page; }
73 inline void SetPage(
int value) { m_pageHasBeenSet =
true; m_page = value; }
79 bool m_nameHasBeenSet =
false;
82 bool m_scoreHasBeenSet =
false;
85 bool m_pageHasBeenSet =
false;
const Aws::String & GetName() const
void SetName(const Aws::String &value)
DocumentLabel & WithPage(int value)
bool ScoreHasBeenSet() const
DocumentLabel & WithName(Aws::String &&value)
void SetName(const char *value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
AWS_COMPREHEND_API DocumentLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentLabel & WithScore(double value)
DocumentLabel & WithName(const char *value)
DocumentLabel & WithName(const Aws::String &value)
bool PageHasBeenSet() const
AWS_COMPREHEND_API DocumentLabel(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetScore(double value)
AWS_COMPREHEND_API DocumentLabel()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue