AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DetectPHIResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ComprehendMedical
26{
27namespace Model
28{
30 {
31 public:
32 AWS_COMPREHENDMEDICAL_API DetectPHIResult() = default;
35
36
38
44 inline const Aws::Vector<Entity>& GetEntities() const { return m_entities; }
45 template<typename EntitiesT = Aws::Vector<Entity>>
46 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities = std::forward<EntitiesT>(value); }
47 template<typename EntitiesT = Aws::Vector<Entity>>
48 DetectPHIResult& WithEntities(EntitiesT&& value) { SetEntities(std::forward<EntitiesT>(value)); return *this;}
49 template<typename EntitiesT = Entity>
50 DetectPHIResult& AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities.emplace_back(std::forward<EntitiesT>(value)); return *this; }
52
54
59 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
60 template<typename PaginationTokenT = Aws::String>
61 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::forward<PaginationTokenT>(value); }
62 template<typename PaginationTokenT = Aws::String>
63 DetectPHIResult& WithPaginationToken(PaginationTokenT&& value) { SetPaginationToken(std::forward<PaginationTokenT>(value)); return *this;}
65
67
72 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
73 template<typename ModelVersionT = Aws::String>
74 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
75 template<typename ModelVersionT = Aws::String>
76 DetectPHIResult& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 DetectPHIResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::Vector<Entity> m_entities;
90 bool m_entitiesHasBeenSet = false;
91
92 Aws::String m_paginationToken;
93 bool m_paginationTokenHasBeenSet = false;
94
95 Aws::String m_modelVersion;
96 bool m_modelVersionHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ComprehendMedical
104} // 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