AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DetectPHIResult.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/Entity.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ComprehendMedical {
24namespace Model {
26 public:
27 AWS_COMPREHENDMEDICAL_API DetectPHIResult() = default;
30
32
38 inline const Aws::Vector<Entity>& GetEntities() const { return m_entities; }
39 template <typename EntitiesT = Aws::Vector<Entity>>
40 void SetEntities(EntitiesT&& value) {
41 m_entitiesHasBeenSet = true;
42 m_entities = std::forward<EntitiesT>(value);
43 }
44 template <typename EntitiesT = Aws::Vector<Entity>>
45 DetectPHIResult& WithEntities(EntitiesT&& value) {
46 SetEntities(std::forward<EntitiesT>(value));
47 return *this;
48 }
49 template <typename EntitiesT = Entity>
50 DetectPHIResult& AddEntities(EntitiesT&& value) {
51 m_entitiesHasBeenSet = true;
52 m_entities.emplace_back(std::forward<EntitiesT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
64 template <typename PaginationTokenT = Aws::String>
65 void SetPaginationToken(PaginationTokenT&& value) {
66 m_paginationTokenHasBeenSet = true;
67 m_paginationToken = std::forward<PaginationTokenT>(value);
68 }
69 template <typename PaginationTokenT = Aws::String>
70 DetectPHIResult& WithPaginationToken(PaginationTokenT&& value) {
71 SetPaginationToken(std::forward<PaginationTokenT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
83 template <typename ModelVersionT = Aws::String>
84 void SetModelVersion(ModelVersionT&& value) {
85 m_modelVersionHasBeenSet = true;
86 m_modelVersion = std::forward<ModelVersionT>(value);
87 }
88 template <typename ModelVersionT = Aws::String>
89 DetectPHIResult& WithModelVersion(ModelVersionT&& value) {
90 SetModelVersion(std::forward<ModelVersionT>(value));
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
104 DetectPHIResult& WithRequestId(RequestIdT&& value) {
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 private:
110 Aws::Vector<Entity> m_entities;
111
112 Aws::String m_paginationToken;
113
114 Aws::String m_modelVersion;
115
116 Aws::String m_requestId;
117 bool m_entitiesHasBeenSet = false;
118 bool m_paginationTokenHasBeenSet = false;
119 bool m_modelVersionHasBeenSet = false;
120 bool m_requestIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ComprehendMedical
125} // namespace Aws
AWS_COMPREHENDMEDICAL_API DetectPHIResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Entity > & GetEntities() const
DetectPHIResult & AddEntities(EntitiesT &&value)
DetectPHIResult & WithRequestId(RequestIdT &&value)
void SetPaginationToken(PaginationTokenT &&value)
DetectPHIResult & WithPaginationToken(PaginationTokenT &&value)
AWS_COMPREHENDMEDICAL_API DetectPHIResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectPHIResult & WithModelVersion(ModelVersionT &&value)
DetectPHIResult & WithEntities(EntitiesT &&value)
AWS_COMPREHENDMEDICAL_API DetectPHIResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue