AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
43 inline const Aws::Vector<RxNormEntity>& GetEntities() const{ return m_entities; }
44 inline void SetEntities(const Aws::Vector<RxNormEntity>& value) { m_entities = value; }
45 inline void SetEntities(Aws::Vector<RxNormEntity>&& value) { m_entities = std::move(value); }
46 inline InferRxNormResult& WithEntities(const Aws::Vector<RxNormEntity>& value) { SetEntities(value); return *this;}
47 inline InferRxNormResult& WithEntities(Aws::Vector<RxNormEntity>&& value) { SetEntities(std::move(value)); return *this;}
48 inline InferRxNormResult& AddEntities(const RxNormEntity& value) { m_entities.push_back(value); return *this; }
49 inline InferRxNormResult& AddEntities(RxNormEntity&& value) { m_entities.push_back(std::move(value)); return *this; }
51
53
58 inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; }
59 inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; }
60 inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); }
61 inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); }
62 inline InferRxNormResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;}
63 inline InferRxNormResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;}
64 inline InferRxNormResult& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;}
66
68
73 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
74 inline void SetModelVersion(const Aws::String& value) { m_modelVersion = value; }
75 inline void SetModelVersion(Aws::String&& value) { m_modelVersion = std::move(value); }
76 inline void SetModelVersion(const char* value) { m_modelVersion.assign(value); }
77 inline InferRxNormResult& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
78 inline InferRxNormResult& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
79 inline InferRxNormResult& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline InferRxNormResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline InferRxNormResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline InferRxNormResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
95
96 Aws::String m_paginationToken;
97
98 Aws::String m_modelVersion;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace ComprehendMedical
105} // namespace Aws
InferRxNormResult & WithPaginationToken(Aws::String &&value)
InferRxNormResult & WithEntities(Aws::Vector< RxNormEntity > &&value)
void SetEntities(Aws::Vector< RxNormEntity > &&value)
InferRxNormResult & WithRequestId(Aws::String &&value)
void SetPaginationToken(const Aws::String &value)
InferRxNormResult & AddEntities(RxNormEntity &&value)
const Aws::Vector< RxNormEntity > & GetEntities() const
InferRxNormResult & WithModelVersion(Aws::String &&value)
InferRxNormResult & WithModelVersion(const Aws::String &value)
InferRxNormResult & WithRequestId(const Aws::String &value)
void SetEntities(const Aws::Vector< RxNormEntity > &value)
InferRxNormResult & WithPaginationToken(const Aws::String &value)
InferRxNormResult & AddEntities(const RxNormEntity &value)
InferRxNormResult & WithModelVersion(const char *value)
AWS_COMPREHENDMEDICAL_API InferRxNormResult()
InferRxNormResult & WithEntities(const Aws::Vector< RxNormEntity > &value)
AWS_COMPREHENDMEDICAL_API InferRxNormResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InferRxNormResult & WithRequestId(const char *value)
InferRxNormResult & WithPaginationToken(const char *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