7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/PartOfSpeechTag.h>
49 inline void SetTokenId(
int value) { m_tokenIdHasBeenSet =
true; m_tokenId = value; }
61 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
74 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
85 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
107 bool m_tokenIdHasBeenSet =
false;
110 bool m_textHasBeenSet =
false;
113 bool m_beginOffsetHasBeenSet =
false;
116 bool m_endOffsetHasBeenSet =
false;
119 bool m_partOfSpeechHasBeenSet =
false;
void SetPartOfSpeech(PartOfSpeechTag &&value)
void SetText(const Aws::String &value)
bool TextHasBeenSet() const
AWS_COMPREHEND_API SyntaxToken & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPartOfSpeech(const PartOfSpeechTag &value)
bool TokenIdHasBeenSet() const
SyntaxToken & WithText(const char *value)
bool PartOfSpeechHasBeenSet() const
void SetText(const char *value)
AWS_COMPREHEND_API SyntaxToken()
SyntaxToken & WithText(Aws::String &&value)
SyntaxToken & WithBeginOffset(int value)
SyntaxToken & WithPartOfSpeech(PartOfSpeechTag &&value)
void SetText(Aws::String &&value)
void SetBeginOffset(int value)
bool BeginOffsetHasBeenSet() const
const PartOfSpeechTag & GetPartOfSpeech() const
void SetEndOffset(int value)
SyntaxToken & WithPartOfSpeech(const PartOfSpeechTag &value)
void SetTokenId(int value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
SyntaxToken & WithText(const Aws::String &value)
const Aws::String & GetText() const
AWS_COMPREHEND_API SyntaxToken(Aws::Utils::Json::JsonView jsonValue)
SyntaxToken & WithEndOffset(int value)
SyntaxToken & WithTokenId(int value)
int GetBeginOffset() const
bool EndOffsetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue