AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateMedicalVocabularyResult.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 CreateMedicalVocabularyResult() = default;
31 AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult& operator=(
33
35
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
92 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
93 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
94 void SetLastModifiedTime(LastModifiedTimeT&& value) {
95 m_lastModifiedTimeHasBeenSet = true;
96 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
97 }
98 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
100 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
101 return *this;
102 }
104
106
113 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
114 template <typename FailureReasonT = Aws::String>
115 void SetFailureReason(FailureReasonT&& value) {
116 m_failureReasonHasBeenSet = true;
117 m_failureReason = std::forward<FailureReasonT>(value);
118 }
119 template <typename FailureReasonT = Aws::String>
121 SetFailureReason(std::forward<FailureReasonT>(value));
122 return *this;
123 }
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template <typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) {
131 m_requestIdHasBeenSet = true;
132 m_requestId = std::forward<RequestIdT>(value);
133 }
134 template <typename RequestIdT = Aws::String>
136 SetRequestId(std::forward<RequestIdT>(value));
137 return *this;
138 }
140 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
141
142 private:
143 Aws::String m_vocabularyName;
144
145 LanguageCode m_languageCode{LanguageCode::NOT_SET};
146
147 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
148
149 Aws::Utils::DateTime m_lastModifiedTime{};
150
151 Aws::String m_failureReason;
152
153 Aws::String m_requestId;
154 Aws::Http::HttpResponseCode m_HttpResponseCode;
155 bool m_vocabularyNameHasBeenSet = false;
156 bool m_languageCodeHasBeenSet = false;
157 bool m_vocabularyStateHasBeenSet = false;
158 bool m_lastModifiedTimeHasBeenSet = false;
159 bool m_failureReasonHasBeenSet = false;
160 bool m_requestIdHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace TranscribeService
165} // namespace Aws
CreateMedicalVocabularyResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult()=default
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMedicalVocabularyResult & WithVocabularyState(VocabularyState value)
CreateMedicalVocabularyResult & WithFailureReason(FailureReasonT &&value)
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMedicalVocabularyResult & WithLanguageCode(LanguageCode value)
CreateMedicalVocabularyResult & WithVocabularyName(VocabularyNameT &&value)
CreateMedicalVocabularyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue