AWS SDK for C++

AWS SDK for C++ Version 1.11.678

Loading...
Searching...
No Matches
CreateMedicalVocabularyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribe/TranscribeServiceRequest.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/LanguageCode.h>
12#include <aws/transcribe/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace TranscribeService {
18namespace Model {
19
23 public:
24 AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateMedicalVocabulary"; }
31
32 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
44 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
45 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
46 template <typename VocabularyNameT = Aws::String>
47 void SetVocabularyName(VocabularyNameT&& value) {
48 m_vocabularyNameHasBeenSet = true;
49 m_vocabularyName = std::forward<VocabularyNameT>(value);
50 }
51 template <typename VocabularyNameT = Aws::String>
53 SetVocabularyName(std::forward<VocabularyNameT>(value));
54 return *this;
55 }
57
59
64 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
65 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
66 inline void SetLanguageCode(LanguageCode value) {
67 m_languageCodeHasBeenSet = true;
68 m_languageCode = value;
69 }
71 SetLanguageCode(value);
72 return *this;
73 }
75
77
83 inline const Aws::String& GetVocabularyFileUri() const { return m_vocabularyFileUri; }
84 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
85 template <typename VocabularyFileUriT = Aws::String>
86 void SetVocabularyFileUri(VocabularyFileUriT&& value) {
87 m_vocabularyFileUriHasBeenSet = true;
88 m_vocabularyFileUri = std::forward<VocabularyFileUriT>(value);
89 }
90 template <typename VocabularyFileUriT = Aws::String>
92 SetVocabularyFileUri(std::forward<VocabularyFileUriT>(value));
93 return *this;
94 }
96
98
105 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
106 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
107 template <typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) {
109 m_tagsHasBeenSet = true;
110 m_tags = std::forward<TagsT>(value);
111 }
112 template <typename TagsT = Aws::Vector<Tag>>
114 SetTags(std::forward<TagsT>(value));
115 return *this;
116 }
117 template <typename TagsT = Tag>
119 m_tagsHasBeenSet = true;
120 m_tags.emplace_back(std::forward<TagsT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_vocabularyName;
126 bool m_vocabularyNameHasBeenSet = false;
127
128 LanguageCode m_languageCode{LanguageCode::NOT_SET};
129 bool m_languageCodeHasBeenSet = false;
130
131 Aws::String m_vocabularyFileUri;
132 bool m_vocabularyFileUriHasBeenSet = false;
133
134 Aws::Vector<Tag> m_tags;
135 bool m_tagsHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace TranscribeService
140} // 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