AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetMedicalVocabularyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/LanguageCode.h>
12#include <aws/transcribe/model/VocabularyState.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace TranscribeService {
26namespace Model {
28 public:
29 AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult() = default;
32
34
38 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
39 template <typename VocabularyNameT = Aws::String>
40 void SetVocabularyName(VocabularyNameT&& value) {
41 m_vocabularyNameHasBeenSet = true;
42 m_vocabularyName = std::forward<VocabularyNameT>(value);
43 }
44 template <typename VocabularyNameT = Aws::String>
46 SetVocabularyName(std::forward<VocabularyNameT>(value));
47 return *this;
48 }
50
52
57 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
58 inline void SetLanguageCode(LanguageCode value) {
59 m_languageCodeHasBeenSet = true;
60 m_languageCode = value;
61 }
63 SetLanguageCode(value);
64 return *this;
65 }
67
69
74 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
76 m_vocabularyStateHasBeenSet = true;
77 m_vocabularyState = value;
78 }
80 SetVocabularyState(value);
81 return *this;
82 }
84
86
93 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
94 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
95 void SetLastModifiedTime(LastModifiedTimeT&& value) {
96 m_lastModifiedTimeHasBeenSet = true;
97 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
98 }
99 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
101 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
102 return *this;
103 }
105
107
114 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
115 template <typename FailureReasonT = Aws::String>
116 void SetFailureReason(FailureReasonT&& value) {
117 m_failureReasonHasBeenSet = true;
118 m_failureReason = std::forward<FailureReasonT>(value);
119 }
120 template <typename FailureReasonT = Aws::String>
122 SetFailureReason(std::forward<FailureReasonT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetDownloadUri() const { return m_downloadUri; }
133 template <typename DownloadUriT = Aws::String>
134 void SetDownloadUri(DownloadUriT&& value) {
135 m_downloadUriHasBeenSet = true;
136 m_downloadUri = std::forward<DownloadUriT>(value);
137 }
138 template <typename DownloadUriT = Aws::String>
140 SetDownloadUri(std::forward<DownloadUriT>(value));
141 return *this;
142 }
144
146
147 inline const Aws::String& GetRequestId() const { return m_requestId; }
148 template <typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) {
150 m_requestIdHasBeenSet = true;
151 m_requestId = std::forward<RequestIdT>(value);
152 }
153 template <typename RequestIdT = Aws::String>
155 SetRequestId(std::forward<RequestIdT>(value));
156 return *this;
157 }
159 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
160
161 private:
162 Aws::String m_vocabularyName;
163
164 LanguageCode m_languageCode{LanguageCode::NOT_SET};
165
166 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
167
168 Aws::Utils::DateTime m_lastModifiedTime{};
169
170 Aws::String m_failureReason;
171
172 Aws::String m_downloadUri;
173
174 Aws::String m_requestId;
175 Aws::Http::HttpResponseCode m_HttpResponseCode;
176 bool m_vocabularyNameHasBeenSet = false;
177 bool m_languageCodeHasBeenSet = false;
178 bool m_vocabularyStateHasBeenSet = false;
179 bool m_lastModifiedTimeHasBeenSet = false;
180 bool m_failureReasonHasBeenSet = false;
181 bool m_downloadUriHasBeenSet = false;
182 bool m_requestIdHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace TranscribeService
187} // namespace Aws
GetMedicalVocabularyResult & WithLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMedicalVocabularyResult & WithRequestId(RequestIdT &&value)
AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMedicalVocabularyResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetMedicalVocabularyResult & WithVocabularyName(VocabularyNameT &&value)
GetMedicalVocabularyResult & WithVocabularyState(VocabularyState value)
AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult()=default
GetMedicalVocabularyResult & WithFailureReason(FailureReasonT &&value)
GetMedicalVocabularyResult & WithDownloadUri(DownloadUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue