AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
51 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
52 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
54 inline CreateMedicalVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
55 inline CreateMedicalVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
57
59
64 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
65 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
66 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
67 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
68 inline CreateMedicalVocabularyRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
69 inline CreateMedicalVocabularyRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
71
73
79 inline const Aws::String& GetVocabularyFileUri() const{ return m_vocabularyFileUri; }
80 inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
81 inline void SetVocabularyFileUri(const Aws::String& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = value; }
82 inline void SetVocabularyFileUri(Aws::String&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::move(value); }
83 inline void SetVocabularyFileUri(const char* value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri.assign(value); }
85 inline CreateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;}
86 inline CreateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;}
88
90
97 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
101 inline CreateMedicalVocabularyRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
102 inline CreateMedicalVocabularyRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
103 inline CreateMedicalVocabularyRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
104 inline CreateMedicalVocabularyRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_vocabularyName;
109 bool m_vocabularyNameHasBeenSet = false;
110
111 LanguageCode m_languageCode;
112 bool m_languageCodeHasBeenSet = false;
113
114 Aws::String m_vocabularyFileUri;
115 bool m_vocabularyFileUriHasBeenSet = false;
116
117 Aws::Vector<Tag> m_tags;
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace TranscribeService
123} // namespace Aws
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMedicalVocabularyRequest & WithLanguageCode(LanguageCode &&value)
CreateMedicalVocabularyRequest & WithVocabularyName(const Aws::String &value)
CreateMedicalVocabularyRequest & WithVocabularyName(const char *value)
CreateMedicalVocabularyRequest & WithVocabularyFileUri(const char *value)
CreateMedicalVocabularyRequest & WithVocabularyFileUri(const Aws::String &value)
CreateMedicalVocabularyRequest & WithVocabularyFileUri(Aws::String &&value)
CreateMedicalVocabularyRequest & WithLanguageCode(const LanguageCode &value)
CreateMedicalVocabularyRequest & WithVocabularyName(Aws::String &&value)
CreateMedicalVocabularyRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
CreateMedicalVocabularyRequest & WithTags(Aws::Vector< Tag > &&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