/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ComprehendMedical { namespace Model { class InferSNOMEDCTResult { public: AWS_COMPREHENDMEDICAL_API InferSNOMEDCTResult(); AWS_COMPREHENDMEDICAL_API InferSNOMEDCTResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHENDMEDICAL_API InferSNOMEDCTResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline const Aws::Vector& GetEntities() const{ return m_entities; } /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline void SetEntities(const Aws::Vector& value) { m_entities = value; } /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline void SetEntities(Aws::Vector&& value) { m_entities = std::move(value); } /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline InferSNOMEDCTResult& WithEntities(const Aws::Vector& value) { SetEntities(value); return *this;} /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline InferSNOMEDCTResult& WithEntities(Aws::Vector&& value) { SetEntities(std::move(value)); return *this;} /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline InferSNOMEDCTResult& AddEntities(const SNOMEDCTEntity& value) { m_entities.push_back(value); return *this; } /** *

The collection of medical concept entities extracted from the input text and * their associated information. For each entity, the response provides the entity * text, the entity category, where the entity text begins and ends, and the level * of confidence that Amazon Comprehend Medical has in the detection and analysis. * Attributes and traits of the entity are also returned.

*/ inline InferSNOMEDCTResult& AddEntities(SNOMEDCTEntity&& value) { m_entities.push_back(std::move(value)); return *this; } /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; } /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; } /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); } /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); } /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline InferSNOMEDCTResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;} /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline InferSNOMEDCTResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;} /** *

If the result of the request is truncated, the pagination token can be used * to fetch the next page of entities.

*/ inline InferSNOMEDCTResult& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;} /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline const Aws::String& GetModelVersion() const{ return m_modelVersion; } /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline void SetModelVersion(const Aws::String& value) { m_modelVersion = value; } /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline void SetModelVersion(Aws::String&& value) { m_modelVersion = std::move(value); } /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline void SetModelVersion(const char* value) { m_modelVersion.assign(value); } /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline InferSNOMEDCTResult& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;} /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline InferSNOMEDCTResult& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;} /** *

The version of the model used to analyze the documents, in the format n.n.n * You can use this information to track the model used for a particular batch of * documents.

*/ inline InferSNOMEDCTResult& WithModelVersion(const char* value) { SetModelVersion(value); return *this;} /** *

The details of the SNOMED-CT revision, including the edition, language, and * version date.

*/ inline const SNOMEDCTDetails& GetSNOMEDCTDetails() const{ return m_sNOMEDCTDetails; } /** *

The details of the SNOMED-CT revision, including the edition, language, and * version date.

*/ inline void SetSNOMEDCTDetails(const SNOMEDCTDetails& value) { m_sNOMEDCTDetails = value; } /** *

The details of the SNOMED-CT revision, including the edition, language, and * version date.

*/ inline void SetSNOMEDCTDetails(SNOMEDCTDetails&& value) { m_sNOMEDCTDetails = std::move(value); } /** *

The details of the SNOMED-CT revision, including the edition, language, and * version date.

*/ inline InferSNOMEDCTResult& WithSNOMEDCTDetails(const SNOMEDCTDetails& value) { SetSNOMEDCTDetails(value); return *this;} /** *

The details of the SNOMED-CT revision, including the edition, language, and * version date.

*/ inline InferSNOMEDCTResult& WithSNOMEDCTDetails(SNOMEDCTDetails&& value) { SetSNOMEDCTDetails(std::move(value)); return *this;} /** *

The number of characters in the input request documentation.

*/ inline const Characters& GetCharacters() const{ return m_characters; } /** *

The number of characters in the input request documentation.

*/ inline void SetCharacters(const Characters& value) { m_characters = value; } /** *

The number of characters in the input request documentation.

*/ inline void SetCharacters(Characters&& value) { m_characters = std::move(value); } /** *

The number of characters in the input request documentation.

*/ inline InferSNOMEDCTResult& WithCharacters(const Characters& value) { SetCharacters(value); return *this;} /** *

The number of characters in the input request documentation.

*/ inline InferSNOMEDCTResult& WithCharacters(Characters&& value) { SetCharacters(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline InferSNOMEDCTResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InferSNOMEDCTResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InferSNOMEDCTResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_entities; Aws::String m_paginationToken; Aws::String m_modelVersion; SNOMEDCTDetails m_sNOMEDCTDetails; Characters m_characters; Aws::String m_requestId; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws