AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
44 inline const Aws::Vector<Entity>& GetEntities() const{ return m_entities; }
45 inline void SetEntities(const Aws::Vector<Entity>& value) { m_entities = value; }
46 inline void SetEntities(Aws::Vector<Entity>&& value) { m_entities = std::move(value); }
47 inline DetectPHIResult& WithEntities(const Aws::Vector<Entity>& value) { SetEntities(value); return *this;}
48 inline DetectPHIResult& WithEntities(Aws::Vector<Entity>&& value) { SetEntities(std::move(value)); return *this;}
49 inline DetectPHIResult& AddEntities(const Entity& value) { m_entities.push_back(value); return *this; }
50 inline DetectPHIResult& AddEntities(Entity&& value) { m_entities.push_back(std::move(value)); return *this; }
52
54
59 inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; }
60 inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; }
61 inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); }
62 inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); }
63 inline DetectPHIResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;}
64 inline DetectPHIResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;}
65 inline DetectPHIResult& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;}
67
69
74 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
75 inline void SetModelVersion(const Aws::String& value) { m_modelVersion = value; }
76 inline void SetModelVersion(Aws::String&& value) { m_modelVersion = std::move(value); }
77 inline void SetModelVersion(const char* value) { m_modelVersion.assign(value); }
78 inline DetectPHIResult& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
79 inline DetectPHIResult& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
80 inline DetectPHIResult& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline DetectPHIResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline DetectPHIResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline DetectPHIResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::Vector<Entity> m_entities;
96
97 Aws::String m_paginationToken;
98
99 Aws::String m_modelVersion;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace ComprehendMedical
106} // namespace Aws
AWS_COMPREHENDMEDICAL_API DetectPHIResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectPHIResult & AddEntities(const Entity &value)
DetectPHIResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Entity > & GetEntities() const
DetectPHIResult & WithPaginationToken(const char *value)
DetectPHIResult & WithModelVersion(const Aws::String &value)
void SetRequestId(const Aws::String &value)
DetectPHIResult & WithPaginationToken(const Aws::String &value)
DetectPHIResult & WithEntities(const Aws::Vector< Entity > &value)
void SetEntities(const Aws::Vector< Entity > &value)
void SetPaginationToken(const Aws::String &value)
DetectPHIResult & WithRequestId(const Aws::String &value)
DetectPHIResult & WithModelVersion(const char *value)
void SetEntities(Aws::Vector< Entity > &&value)
DetectPHIResult & WithEntities(Aws::Vector< Entity > &&value)
DetectPHIResult & WithModelVersion(Aws::String &&value)
AWS_COMPREHENDMEDICAL_API DetectPHIResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHENDMEDICAL_API DetectPHIResult()
DetectPHIResult & WithPaginationToken(Aws::String &&value)
void SetModelVersion(const Aws::String &value)
DetectPHIResult & AddEntities(Entity &&value)
DetectPHIResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue