AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateMedicalVocabularyResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/model/LanguageCode.h>
10#include <aws/transcribe/model/VocabularyState.h>
11#include <aws/core/utils/DateTime.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 CreateMedicalVocabularyResult() = default;
36
37
39
42 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
43 template<typename VocabularyNameT = Aws::String>
44 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
45 template<typename VocabularyNameT = Aws::String>
46 CreateMedicalVocabularyResult& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
48
50
55 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
56 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
59
61
66 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
67 inline void SetVocabularyState(VocabularyState value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
70
72
78 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
79 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
80 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
81 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
82 CreateMedicalVocabularyResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
84
86
93 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
94 template<typename FailureReasonT = Aws::String>
95 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
96 template<typename FailureReasonT = Aws::String>
97 CreateMedicalVocabularyResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template<typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
105 template<typename RequestIdT = Aws::String>
106 CreateMedicalVocabularyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
108 private:
109
110 Aws::String m_vocabularyName;
111 bool m_vocabularyNameHasBeenSet = false;
112
113 LanguageCode m_languageCode{LanguageCode::NOT_SET};
114 bool m_languageCodeHasBeenSet = false;
115
116 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
117 bool m_vocabularyStateHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime{};
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 Aws::String m_failureReason;
123 bool m_failureReasonHasBeenSet = false;
124
125 Aws::String m_requestId;
126 bool m_requestIdHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace TranscribeService
131} // 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