AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
UpdateMedicalVocabularyResult.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 UpdateMedicalVocabularyResult() = default;
31 AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyResult& 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
76 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
77 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
78 void SetLastModifiedTime(LastModifiedTimeT&& value) {
79 m_lastModifiedTimeHasBeenSet = true;
80 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
81 }
82 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
84 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
85 return *this;
86 }
88
90
95 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
97 m_vocabularyStateHasBeenSet = true;
98 m_vocabularyState = value;
99 }
101 SetVocabularyState(value);
102 return *this;
103 }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template <typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) {
111 m_requestIdHasBeenSet = true;
112 m_requestId = std::forward<RequestIdT>(value);
113 }
114 template <typename RequestIdT = Aws::String>
116 SetRequestId(std::forward<RequestIdT>(value));
117 return *this;
118 }
120 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
121
122 private:
123 Aws::String m_vocabularyName;
124
125 LanguageCode m_languageCode{LanguageCode::NOT_SET};
126
127 Aws::Utils::DateTime m_lastModifiedTime{};
128
129 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
130
131 Aws::String m_requestId;
132 Aws::Http::HttpResponseCode m_HttpResponseCode;
133 bool m_vocabularyNameHasBeenSet = false;
134 bool m_languageCodeHasBeenSet = false;
135 bool m_lastModifiedTimeHasBeenSet = false;
136 bool m_vocabularyStateHasBeenSet = false;
137 bool m_requestIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace TranscribeService
142} // namespace Aws
AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyResult()=default
UpdateMedicalVocabularyResult & WithLanguageCode(LanguageCode value)
UpdateMedicalVocabularyResult & WithVocabularyState(VocabularyState value)
AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMedicalVocabularyResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMedicalVocabularyResult & WithVocabularyName(VocabularyNameT &&value)
UpdateMedicalVocabularyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue