EncodedTextChunk & AddTokens(int value)
void SetType(EncodedTextChunkType value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTokens(TokensT &&value)
const Aws::Vector< int > & GetTokens() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API EncodedTextChunk(Aws::Utils::Json::JsonView jsonValue)
EncodedTextChunk & WithTokens(TokensT &&value)
EncodedTextChunkType GetType() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API EncodedTextChunk()=default
EncodedTextChunk & WithType(EncodedTextChunkType value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API EncodedTextChunk & operator=(Aws::Utils::Json::JsonView jsonValue)