AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
46 inline const Aws::Vector<Entity>& GetEntities() const{ return m_entities; }
47 inline void SetEntities(const Aws::Vector<Entity>& value) { m_entities = value; }
48 inline void SetEntities(Aws::Vector<Entity>&& value) { m_entities = std::move(value); }
49 inline DetectEntitiesV2Result& WithEntities(const Aws::Vector<Entity>& value) { SetEntities(value); return *this;}
50 inline DetectEntitiesV2Result& WithEntities(Aws::Vector<Entity>&& value) { SetEntities(std::move(value)); return *this;}
51 inline DetectEntitiesV2Result& AddEntities(const Entity& value) { m_entities.push_back(value); return *this; }
52 inline DetectEntitiesV2Result& AddEntities(Entity&& value) { m_entities.push_back(std::move(value)); return *this; }
54
56
60 inline const Aws::Vector<UnmappedAttribute>& GetUnmappedAttributes() const{ return m_unmappedAttributes; }
61 inline void SetUnmappedAttributes(const Aws::Vector<UnmappedAttribute>& value) { m_unmappedAttributes = value; }
62 inline void SetUnmappedAttributes(Aws::Vector<UnmappedAttribute>&& value) { m_unmappedAttributes = std::move(value); }
65 inline DetectEntitiesV2Result& AddUnmappedAttributes(const UnmappedAttribute& value) { m_unmappedAttributes.push_back(value); return *this; }
66 inline DetectEntitiesV2Result& AddUnmappedAttributes(UnmappedAttribute&& value) { m_unmappedAttributes.push_back(std::move(value)); return *this; }
68
70
74 inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; }
75 inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; }
76 inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); }
77 inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); }
78 inline DetectEntitiesV2Result& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;}
79 inline DetectEntitiesV2Result& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;}
80 inline DetectEntitiesV2Result& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;}
82
84
89 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
90 inline void SetModelVersion(const Aws::String& value) { m_modelVersion = value; }
91 inline void SetModelVersion(Aws::String&& value) { m_modelVersion = std::move(value); }
92 inline void SetModelVersion(const char* value) { m_modelVersion.assign(value); }
93 inline DetectEntitiesV2Result& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
94 inline DetectEntitiesV2Result& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
95 inline DetectEntitiesV2Result& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline DetectEntitiesV2Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline DetectEntitiesV2Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline DetectEntitiesV2Result& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::Vector<Entity> m_entities;
111
112 Aws::Vector<UnmappedAttribute> m_unmappedAttributes;
113
114 Aws::String m_paginationToken;
115
116 Aws::String m_modelVersion;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace ComprehendMedical
123} // namespace Aws
void SetUnmappedAttributes(const Aws::Vector< UnmappedAttribute > &value)
DetectEntitiesV2Result & WithRequestId(Aws::String &&value)
DetectEntitiesV2Result & AddEntities(Entity &&value)
DetectEntitiesV2Result & WithEntities(Aws::Vector< Entity > &&value)
void SetUnmappedAttributes(Aws::Vector< UnmappedAttribute > &&value)
DetectEntitiesV2Result & AddUnmappedAttributes(UnmappedAttribute &&value)
DetectEntitiesV2Result & WithUnmappedAttributes(Aws::Vector< UnmappedAttribute > &&value)
DetectEntitiesV2Result & WithUnmappedAttributes(const Aws::Vector< UnmappedAttribute > &value)
DetectEntitiesV2Result & WithPaginationToken(const char *value)
DetectEntitiesV2Result & AddUnmappedAttributes(const UnmappedAttribute &value)
DetectEntitiesV2Result & WithModelVersion(Aws::String &&value)
void SetEntities(const Aws::Vector< Entity > &value)
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectEntitiesV2Result & WithPaginationToken(const Aws::String &value)
DetectEntitiesV2Result & WithEntities(const Aws::Vector< Entity > &value)
DetectEntitiesV2Result & WithModelVersion(const char *value)
DetectEntitiesV2Result & WithRequestId(const Aws::String &value)
AWS_COMPREHENDMEDICAL_API DetectEntitiesV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectEntitiesV2Result & WithModelVersion(const Aws::String &value)
DetectEntitiesV2Result & WithPaginationToken(Aws::String &&value)
DetectEntitiesV2Result & WithRequestId(const char *value)
DetectEntitiesV2Result & AddEntities(const Entity &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