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/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ComprehendMedical {
41 template <
typename EntitiesT = Aws::Vector<Entity>>
43 m_entitiesHasBeenSet =
true;
44 m_entities = std::forward<EntitiesT>(value);
46 template <
typename EntitiesT = Aws::Vector<Entity>>
51 template <
typename EntitiesT = Entity>
53 m_entitiesHasBeenSet =
true;
54 m_entities.emplace_back(std::forward<EntitiesT>(value));
65 template <
typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
67 m_unmappedAttributesHasBeenSet =
true;
68 m_unmappedAttributes = std::forward<UnmappedAttributesT>(value);
70 template <
typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
75 template <
typename UnmappedAttributesT = UnmappedAttribute>
77 m_unmappedAttributesHasBeenSet =
true;
78 m_unmappedAttributes.emplace_back(std::forward<UnmappedAttributesT>(value));
89 template <
typename PaginationTokenT = Aws::String>
91 m_paginationTokenHasBeenSet =
true;
92 m_paginationToken = std::forward<PaginationTokenT>(value);
94 template <
typename PaginationTokenT = Aws::String>
108 template <
typename ModelVersionT = Aws::String>
110 m_modelVersionHasBeenSet =
true;
111 m_modelVersion = std::forward<ModelVersionT>(value);
113 template <
typename ModelVersionT = Aws::String>
123 template <
typename RequestIdT = Aws::String>
125 m_requestIdHasBeenSet =
true;
126 m_requestId = std::forward<RequestIdT>(value);
128 template <
typename RequestIdT = Aws::String>
144 bool m_entitiesHasBeenSet =
false;
145 bool m_unmappedAttributesHasBeenSet =
false;
146 bool m_paginationTokenHasBeenSet =
false;
147 bool m_modelVersionHasBeenSet =
false;
148 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
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