AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMedicalVocabularyRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TranscribeService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateMedicalVocabulary"; }
32
33 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
44 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
45 template<typename VocabularyNameT = Aws::String>
46 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
47 template<typename VocabularyNameT = Aws::String>
48 UpdateMedicalVocabularyRequest& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
50
52
57 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
58 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
59 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62
64
70 inline const Aws::String& GetVocabularyFileUri() const { return m_vocabularyFileUri; }
71 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
72 template<typename VocabularyFileUriT = Aws::String>
73 void SetVocabularyFileUri(VocabularyFileUriT&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::forward<VocabularyFileUriT>(value); }
74 template<typename VocabularyFileUriT = Aws::String>
75 UpdateMedicalVocabularyRequest& WithVocabularyFileUri(VocabularyFileUriT&& value) { SetVocabularyFileUri(std::forward<VocabularyFileUriT>(value)); return *this;}
77 private:
78
79 Aws::String m_vocabularyName;
80 bool m_vocabularyNameHasBeenSet = false;
81
82 LanguageCode m_languageCode{LanguageCode::NOT_SET};
83 bool m_languageCodeHasBeenSet = false;
84
85 Aws::String m_vocabularyFileUri;
86 bool m_vocabularyFileUriHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace TranscribeService
91} // 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