/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 InferRxNormResult { public: AWS_COMPREHENDMEDICAL_API InferRxNormResult(); AWS_COMPREHENDMEDICAL_API InferRxNormResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHENDMEDICAL_API InferRxNormResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

The medication entities detected in the text linked to RxNorm concepts. If * the action is successful, the service sends back an HTTP 200 response, as well * as the entities detected.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

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

If the result of the previous request to InferRxNorm was * truncated, include the PaginationToken to fetch the next page of * medication entities.

*/ inline InferRxNormResult& 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 InferRxNormResult& 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 InferRxNormResult& 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 InferRxNormResult& WithModelVersion(const char* value) { SetModelVersion(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 InferRxNormResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InferRxNormResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InferRxNormResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_entities; Aws::String m_paginationToken; Aws::String m_modelVersion; Aws::String m_requestId; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws