7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
58 inline double GetScore()
const {
return m_score; }
61 m_scoreHasBeenSet =
true;
75 inline int GetPage()
const {
return m_page; }
78 m_pageHasBeenSet =
true;
92 bool m_nameHasBeenSet =
false;
93 bool m_scoreHasBeenSet =
false;
94 bool m_pageHasBeenSet =
false;
const Aws::String & GetName() const
DocumentLabel & WithPage(int value)
bool ScoreHasBeenSet() const
void SetName(NameT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API DocumentLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentLabel & WithScore(double value)
AWS_COMPREHEND_API DocumentLabel()=default
bool PageHasBeenSet() const
AWS_COMPREHEND_API DocumentLabel(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetScore(double value)
DocumentLabel & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue