AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
UpdateMedicalVocabularyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/transcribe/TranscribeService_EXPORTS.h>
10#include <aws/transcribe/model/LanguageCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace TranscribeService {
16namespace Model {
17
21 public:
22 AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateMedicalVocabulary"; }
29
30 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
40 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
41 template <typename VocabularyNameT = Aws::String>
42 void SetVocabularyName(VocabularyNameT&& value) {
43 m_vocabularyNameHasBeenSet = true;
44 m_vocabularyName = std::forward<VocabularyNameT>(value);
45 }
46 template <typename VocabularyNameT = Aws::String>
48 SetVocabularyName(std::forward<VocabularyNameT>(value));
49 return *this;
50 }
52
54
59 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(LanguageCode value) {
62 m_languageCodeHasBeenSet = true;
63 m_languageCode = value;
64 }
66 SetLanguageCode(value);
67 return *this;
68 }
70
72
78 inline const Aws::String& GetVocabularyFileUri() const { return m_vocabularyFileUri; }
79 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
80 template <typename VocabularyFileUriT = Aws::String>
81 void SetVocabularyFileUri(VocabularyFileUriT&& value) {
82 m_vocabularyFileUriHasBeenSet = true;
83 m_vocabularyFileUri = std::forward<VocabularyFileUriT>(value);
84 }
85 template <typename VocabularyFileUriT = Aws::String>
87 SetVocabularyFileUri(std::forward<VocabularyFileUriT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_vocabularyName;
93
94 LanguageCode m_languageCode{LanguageCode::NOT_SET};
95
96 Aws::String m_vocabularyFileUri;
97 bool m_vocabularyNameHasBeenSet = false;
98 bool m_languageCodeHasBeenSet = false;
99 bool m_vocabularyFileUriHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace TranscribeService
104} // namespace Aws
AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyRequest()=default
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(VocabularyFileUriT &&value)
UpdateMedicalVocabularyRequest & WithLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
UpdateMedicalVocabularyRequest & WithVocabularyName(VocabularyNameT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String