AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
43 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyName = value; }
44 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyName = std::move(value); }
45 inline void SetVocabularyName(const char* value) { m_vocabularyName.assign(value); }
47 inline CreateMedicalVocabularyResult& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
48 inline CreateMedicalVocabularyResult& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
50
52
57 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
58 inline void SetLanguageCode(const LanguageCode& value) { m_languageCode = value; }
59 inline void SetLanguageCode(LanguageCode&& value) { m_languageCode = std::move(value); }
60 inline CreateMedicalVocabularyResult& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
61 inline CreateMedicalVocabularyResult& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
63
65
70 inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
71 inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyState = value; }
72 inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyState = std::move(value); }
74 inline CreateMedicalVocabularyResult& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
76
78
84 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
85 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
86 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
90
92
99 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
100 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
101 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
102 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
104 inline CreateMedicalVocabularyResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
105 inline CreateMedicalVocabularyResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline CreateMedicalVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline CreateMedicalVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline CreateMedicalVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_vocabularyName;
121
122 LanguageCode m_languageCode;
123
124 VocabularyState m_vocabularyState;
125
126 Aws::Utils::DateTime m_lastModifiedTime;
127
128 Aws::String m_failureReason;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace TranscribeService
135} // namespace Aws
CreateMedicalVocabularyResult & WithRequestId(const Aws::String &value)
CreateMedicalVocabularyResult & WithVocabularyState(VocabularyState &&value)
CreateMedicalVocabularyResult & WithRequestId(Aws::String &&value)
CreateMedicalVocabularyResult & WithFailureReason(const Aws::String &value)
CreateMedicalVocabularyResult & WithVocabularyName(const char *value)
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMedicalVocabularyResult & WithFailureReason(const char *value)
CreateMedicalVocabularyResult & WithRequestId(const char *value)
CreateMedicalVocabularyResult & WithVocabularyState(const VocabularyState &value)
CreateMedicalVocabularyResult & WithLanguageCode(const LanguageCode &value)
CreateMedicalVocabularyResult & WithVocabularyName(Aws::String &&value)
CreateMedicalVocabularyResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateMedicalVocabularyResult & WithFailureReason(Aws::String &&value)
CreateMedicalVocabularyResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CreateMedicalVocabularyResult & WithVocabularyName(const Aws::String &value)
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMedicalVocabularyResult & WithLanguageCode(LanguageCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue