7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/Entity.h>
9#include <aws/comprehendmedical/model/UnmappedAttribute.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ComprehendMedical {
42 template <
typename EntitiesT = Aws::Vector<Entity>>
44 m_entitiesHasBeenSet =
true;
45 m_entities = std::forward<EntitiesT>(value);
47 template <
typename EntitiesT = Aws::Vector<Entity>>
52 template <
typename EntitiesT = Entity>
54 m_entitiesHasBeenSet =
true;
55 m_entities.emplace_back(std::forward<EntitiesT>(value));
66 template <
typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
68 m_unmappedAttributesHasBeenSet =
true;
69 m_unmappedAttributes = std::forward<UnmappedAttributesT>(value);
71 template <
typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
76 template <
typename UnmappedAttributesT = UnmappedAttribute>
78 m_unmappedAttributesHasBeenSet =
true;
79 m_unmappedAttributes.emplace_back(std::forward<UnmappedAttributesT>(value));
90 template <
typename PaginationTokenT = Aws::String>
92 m_paginationTokenHasBeenSet =
true;
93 m_paginationToken = std::forward<PaginationTokenT>(value);
95 template <
typename PaginationTokenT = Aws::String>
109 template <
typename ModelVersionT = Aws::String>
111 m_modelVersionHasBeenSet =
true;
112 m_modelVersion = std::forward<ModelVersionT>(value);
114 template <
typename ModelVersionT = Aws::String>
124 template <
typename RequestIdT = Aws::String>
126 m_requestIdHasBeenSet =
true;
127 m_requestId = std::forward<RequestIdT>(value);
129 template <
typename RequestIdT = Aws::String>
148 bool m_entitiesHasBeenSet =
false;
149 bool m_unmappedAttributesHasBeenSet =
false;
150 bool m_paginationTokenHasBeenSet =
false;
151 bool m_modelVersionHasBeenSet =
false;
152 bool m_requestIdHasBeenSet =
false;
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result()=default
const Aws::Vector< Entity > & GetEntities() const
void SetModelVersion(ModelVersionT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetModelVersion() const
void SetUnmappedAttributes(UnmappedAttributesT &&value)
DetectEntitiesV2Result & AddEntities(EntitiesT &&value)
DetectEntitiesV2Result & AddUnmappedAttributes(UnmappedAttributesT &&value)
const Aws::String & GetRequestId() const
void SetEntities(EntitiesT &&value)
void SetPaginationToken(PaginationTokenT &&value)
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectEntitiesV2Result & WithEntities(EntitiesT &&value)
DetectEntitiesV2Result & WithUnmappedAttributes(UnmappedAttributesT &&value)
DetectEntitiesV2Result & WithPaginationToken(PaginationTokenT &&value)
const Aws::String & GetPaginationToken() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DetectEntitiesV2Result & WithModelVersion(ModelVersionT &&value)
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectEntitiesV2Result & WithRequestId(RequestIdT &&value)
const Aws::Vector< UnmappedAttribute > & GetUnmappedAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue