AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DetectEntitiesV2Result.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehendmedical/model/Entity.h>
11#include <aws/comprehendmedical/model/UnmappedAttribute.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ComprehendMedical
27{
28namespace Model
29{
31 {
32 public:
33 AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result() = default;
36
37
39
46 inline const Aws::Vector<Entity>& GetEntities() const { return m_entities; }
47 template<typename EntitiesT = Aws::Vector<Entity>>
48 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities = std::forward<EntitiesT>(value); }
49 template<typename EntitiesT = Aws::Vector<Entity>>
50 DetectEntitiesV2Result& WithEntities(EntitiesT&& value) { SetEntities(std::forward<EntitiesT>(value)); return *this;}
51 template<typename EntitiesT = Entity>
52 DetectEntitiesV2Result& AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities.emplace_back(std::forward<EntitiesT>(value)); return *this; }
54
56
60 inline const Aws::Vector<UnmappedAttribute>& GetUnmappedAttributes() const { return m_unmappedAttributes; }
61 template<typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
62 void SetUnmappedAttributes(UnmappedAttributesT&& value) { m_unmappedAttributesHasBeenSet = true; m_unmappedAttributes = std::forward<UnmappedAttributesT>(value); }
63 template<typename UnmappedAttributesT = Aws::Vector<UnmappedAttribute>>
64 DetectEntitiesV2Result& WithUnmappedAttributes(UnmappedAttributesT&& value) { SetUnmappedAttributes(std::forward<UnmappedAttributesT>(value)); return *this;}
65 template<typename UnmappedAttributesT = UnmappedAttribute>
66 DetectEntitiesV2Result& AddUnmappedAttributes(UnmappedAttributesT&& value) { m_unmappedAttributesHasBeenSet = true; m_unmappedAttributes.emplace_back(std::forward<UnmappedAttributesT>(value)); return *this; }
68
70
74 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
75 template<typename PaginationTokenT = Aws::String>
76 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::forward<PaginationTokenT>(value); }
77 template<typename PaginationTokenT = Aws::String>
78 DetectEntitiesV2Result& WithPaginationToken(PaginationTokenT&& value) { SetPaginationToken(std::forward<PaginationTokenT>(value)); return *this;}
80
82
87 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
88 template<typename ModelVersionT = Aws::String>
89 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
90 template<typename ModelVersionT = Aws::String>
91 DetectEntitiesV2Result& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template<typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
99 template<typename RequestIdT = Aws::String>
100 DetectEntitiesV2Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
102 private:
103
104 Aws::Vector<Entity> m_entities;
105 bool m_entitiesHasBeenSet = false;
106
107 Aws::Vector<UnmappedAttribute> m_unmappedAttributes;
108 bool m_unmappedAttributesHasBeenSet = false;
109
110 Aws::String m_paginationToken;
111 bool m_paginationTokenHasBeenSet = false;
112
113 Aws::String m_modelVersion;
114 bool m_modelVersionHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ComprehendMedical
122} // namespace Aws
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result()=default
DetectEntitiesV2Result & AddEntities(EntitiesT &&value)
DetectEntitiesV2Result & AddUnmappedAttributes(UnmappedAttributesT &&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)
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