AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
46 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
47 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
49 inline UpdateMedicalVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
50 inline UpdateMedicalVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
52
54
59 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
63 inline UpdateMedicalVocabularyRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
64 inline UpdateMedicalVocabularyRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
66
68
74 inline const Aws::String& GetVocabularyFileUri() const{ return m_vocabularyFileUri; }
75 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
76 inline void SetVocabularyFileUri(const Aws::String& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = value; }
77 inline void SetVocabularyFileUri(Aws::String&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::move(value); }
78 inline void SetVocabularyFileUri(const char* value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri.assign(value); }
80 inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;}
81 inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;}
83 private:
84
85 Aws::String m_vocabularyName;
86 bool m_vocabularyNameHasBeenSet = false;
87
88 LanguageCode m_languageCode;
89 bool m_languageCodeHasBeenSet = false;
90
91 Aws::String m_vocabularyFileUri;
92 bool m_vocabularyFileUriHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace TranscribeService
97} // namespace Aws
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(Aws::String &&value)
UpdateMedicalVocabularyRequest & WithVocabularyName(Aws::String &&value)
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(const char *value)
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(const Aws::String &value)
UpdateMedicalVocabularyRequest & WithLanguageCode(LanguageCode &&value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
UpdateMedicalVocabularyRequest & WithVocabularyName(const Aws::String &value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMedicalVocabularyRequest & WithLanguageCode(const LanguageCode &value)
UpdateMedicalVocabularyRequest & WithVocabularyName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String