AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateMedicalVocabularyRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/transcribe/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace TranscribeService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateMedicalVocabulary"; }
34
35 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
48 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
49 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
50 template<typename VocabularyNameT = Aws::String>
51 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
52 template<typename VocabularyNameT = Aws::String>
53 CreateMedicalVocabularyRequest& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
55
57
62 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
63 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
64 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
67
69
75 inline const Aws::String& GetVocabularyFileUri() const { return m_vocabularyFileUri; }
76 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
77 template<typename VocabularyFileUriT = Aws::String>
78 void SetVocabularyFileUri(VocabularyFileUriT&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::forward<VocabularyFileUriT>(value); }
79 template<typename VocabularyFileUriT = Aws::String>
80 CreateMedicalVocabularyRequest& WithVocabularyFileUri(VocabularyFileUriT&& value) { SetVocabularyFileUri(std::forward<VocabularyFileUriT>(value)); return *this;}
82
84
91 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 template<typename TagsT = Aws::Vector<Tag>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
95 template<typename TagsT = Aws::Vector<Tag>>
96 CreateMedicalVocabularyRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
97 template<typename TagsT = Tag>
98 CreateMedicalVocabularyRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
100 private:
101
102 Aws::String m_vocabularyName;
103 bool m_vocabularyNameHasBeenSet = false;
104
105 LanguageCode m_languageCode{LanguageCode::NOT_SET};
106 bool m_languageCodeHasBeenSet = false;
107
108 Aws::String m_vocabularyFileUri;
109 bool m_vocabularyFileUriHasBeenSet = false;
110
111 Aws::Vector<Tag> m_tags;
112 bool m_tagsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace TranscribeService
117} // namespace Aws
CreateMedicalVocabularyRequest & WithVocabularyName(VocabularyNameT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyRequest()=default
CreateMedicalVocabularyRequest & WithLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
CreateMedicalVocabularyRequest & WithVocabularyFileUri(VocabularyFileUriT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector