AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
InferRxNormResult.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/RxNormEntity.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 InferRxNormResult() = default;
30
32
37 inline const Aws::Vector<RxNormEntity>& GetEntities() const { return m_entities; }
38 template <typename EntitiesT = Aws::Vector<RxNormEntity>>
39 void SetEntities(EntitiesT&& value) {
40 m_entitiesHasBeenSet = true;
41 m_entities = std::forward<EntitiesT>(value);
42 }
43 template <typename EntitiesT = Aws::Vector<RxNormEntity>>
44 InferRxNormResult& WithEntities(EntitiesT&& value) {
45 SetEntities(std::forward<EntitiesT>(value));
46 return *this;
47 }
48 template <typename EntitiesT = RxNormEntity>
49 InferRxNormResult& AddEntities(EntitiesT&& value) {
50 m_entitiesHasBeenSet = true;
51 m_entities.emplace_back(std::forward<EntitiesT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
63 template <typename PaginationTokenT = Aws::String>
64 void SetPaginationToken(PaginationTokenT&& value) {
65 m_paginationTokenHasBeenSet = true;
66 m_paginationToken = std::forward<PaginationTokenT>(value);
67 }
68 template <typename PaginationTokenT = Aws::String>
69 InferRxNormResult& WithPaginationToken(PaginationTokenT&& value) {
70 SetPaginationToken(std::forward<PaginationTokenT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
82 template <typename ModelVersionT = Aws::String>
83 void SetModelVersion(ModelVersionT&& value) {
84 m_modelVersionHasBeenSet = true;
85 m_modelVersion = std::forward<ModelVersionT>(value);
86 }
87 template <typename ModelVersionT = Aws::String>
88 InferRxNormResult& WithModelVersion(ModelVersionT&& value) {
89 SetModelVersion(std::forward<ModelVersionT>(value));
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
103 InferRxNormResult& WithRequestId(RequestIdT&& value) {
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::Vector<RxNormEntity> m_entities;
110
111 Aws::String m_paginationToken;
112
113 Aws::String m_modelVersion;
114
115 Aws::String m_requestId;
116 bool m_entitiesHasBeenSet = false;
117 bool m_paginationTokenHasBeenSet = false;
118 bool m_modelVersionHasBeenSet = false;
119 bool m_requestIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace ComprehendMedical
124} // namespace Aws
const Aws::Vector< RxNormEntity > & GetEntities() const
InferRxNormResult & WithPaginationToken(PaginationTokenT &&value)
void SetPaginationToken(PaginationTokenT &&value)
AWS_COMPREHENDMEDICAL_API InferRxNormResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InferRxNormResult & WithRequestId(RequestIdT &&value)
InferRxNormResult & WithEntities(EntitiesT &&value)
InferRxNormResult & AddEntities(EntitiesT &&value)
AWS_COMPREHENDMEDICAL_API InferRxNormResult()=default
InferRxNormResult & WithModelVersion(ModelVersionT &&value)
AWS_COMPREHENDMEDICAL_API InferRxNormResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue