AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InferRxNormResult.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/RxNormEntity.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 InferRxNormResult() = default;
35
36
38
43 inline const Aws::Vector<RxNormEntity>& GetEntities() const { return m_entities; }
44 template<typename EntitiesT = Aws::Vector<RxNormEntity>>
45 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities = std::forward<EntitiesT>(value); }
46 template<typename EntitiesT = Aws::Vector<RxNormEntity>>
47 InferRxNormResult& WithEntities(EntitiesT&& value) { SetEntities(std::forward<EntitiesT>(value)); return *this;}
48 template<typename EntitiesT = RxNormEntity>
49 InferRxNormResult& AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities.emplace_back(std::forward<EntitiesT>(value)); return *this; }
51
53
58 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
59 template<typename PaginationTokenT = Aws::String>
60 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::forward<PaginationTokenT>(value); }
61 template<typename PaginationTokenT = Aws::String>
62 InferRxNormResult& WithPaginationToken(PaginationTokenT&& value) { SetPaginationToken(std::forward<PaginationTokenT>(value)); return *this;}
64
66
71 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
72 template<typename ModelVersionT = Aws::String>
73 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
74 template<typename ModelVersionT = Aws::String>
75 InferRxNormResult& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 InferRxNormResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
89 bool m_entitiesHasBeenSet = false;
90
91 Aws::String m_paginationToken;
92 bool m_paginationTokenHasBeenSet = false;
93
94 Aws::String m_modelVersion;
95 bool m_modelVersionHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ComprehendMedical
103} // 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