AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMedicalVocabulariesResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/VocabularyState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/transcribe/model/VocabularyInfo.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TRANSCRIBESERVICE_API ListMedicalVocabulariesResult();
36
37
39
44 inline const VocabularyState& GetStatus() const{ return m_status; }
45 inline void SetStatus(const VocabularyState& value) { m_status = value; }
46 inline void SetStatus(VocabularyState&& value) { m_status = std::move(value); }
47 inline ListMedicalVocabulariesResult& WithStatus(const VocabularyState& value) { SetStatus(value); return *this;}
48 inline ListMedicalVocabulariesResult& WithStatus(VocabularyState&& value) { SetStatus(std::move(value)); return *this;}
50
52
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
63 inline ListMedicalVocabulariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListMedicalVocabulariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListMedicalVocabulariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
73 inline const Aws::Vector<VocabularyInfo>& GetVocabularies() const{ return m_vocabularies; }
74 inline void SetVocabularies(const Aws::Vector<VocabularyInfo>& value) { m_vocabularies = value; }
75 inline void SetVocabularies(Aws::Vector<VocabularyInfo>&& value) { m_vocabularies = std::move(value); }
78 inline ListMedicalVocabulariesResult& AddVocabularies(const VocabularyInfo& value) { m_vocabularies.push_back(value); return *this; }
79 inline ListMedicalVocabulariesResult& AddVocabularies(VocabularyInfo&& value) { m_vocabularies.push_back(std::move(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 ListMedicalVocabulariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline ListMedicalVocabulariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline ListMedicalVocabulariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 VocabularyState m_status;
95
96 Aws::String m_nextToken;
97
98 Aws::Vector<VocabularyInfo> m_vocabularies;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace TranscribeService
105} // namespace Aws
ListMedicalVocabulariesResult & WithRequestId(const char *value)
ListMedicalVocabulariesResult & AddVocabularies(VocabularyInfo &&value)
ListMedicalVocabulariesResult & WithStatus(VocabularyState &&value)
ListMedicalVocabulariesResult & WithNextToken(const Aws::String &value)
ListMedicalVocabulariesResult & WithVocabularies(Aws::Vector< VocabularyInfo > &&value)
ListMedicalVocabulariesResult & WithRequestId(const Aws::String &value)
ListMedicalVocabulariesResult & WithStatus(const VocabularyState &value)
ListMedicalVocabulariesResult & WithNextToken(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API ListMedicalVocabulariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVocabularies(const Aws::Vector< VocabularyInfo > &value)
ListMedicalVocabulariesResult & AddVocabularies(const VocabularyInfo &value)
ListMedicalVocabulariesResult & WithVocabularies(const Aws::Vector< VocabularyInfo > &value)
AWS_TRANSCRIBESERVICE_API ListMedicalVocabulariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListMedicalVocabulariesResult & WithNextToken(const char *value)
ListMedicalVocabulariesResult & WithRequestId(Aws::String &&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