AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
StartOntologyInductionRequest.h
1
6#pragma once
7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/context/model/OntologyInductionInputConfig.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Context {
18namespace Model {
19
23 public:
24 AWS_CONTEXT_API StartOntologyInductionRequest() = 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 "StartOntologyInduction"; }
31
32 AWS_CONTEXT_API Aws::String SerializePayload() const override;
33
35
37
45 inline const Aws::String& GetClientToken() const { return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 template <typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) {
49 m_clientTokenHasBeenSet = true;
50 m_clientToken = std::forward<ClientTokenT>(value);
51 }
52 template <typename ClientTokenT = Aws::String>
54 SetClientToken(std::forward<ClientTokenT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetOntologyName() const { return m_ontologyName; }
64 inline bool OntologyNameHasBeenSet() const { return m_ontologyNameHasBeenSet; }
65 template <typename OntologyNameT = Aws::String>
66 void SetOntologyName(OntologyNameT&& value) {
67 m_ontologyNameHasBeenSet = true;
68 m_ontologyName = std::forward<OntologyNameT>(value);
69 }
70 template <typename OntologyNameT = Aws::String>
72 SetOntologyName(std::forward<OntologyNameT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetOntologyDescription() const { return m_ontologyDescription; }
83 inline bool OntologyDescriptionHasBeenSet() const { return m_ontologyDescriptionHasBeenSet; }
84 template <typename OntologyDescriptionT = Aws::String>
85 void SetOntologyDescription(OntologyDescriptionT&& value) {
86 m_ontologyDescriptionHasBeenSet = true;
87 m_ontologyDescription = std::forward<OntologyDescriptionT>(value);
88 }
89 template <typename OntologyDescriptionT = Aws::String>
91 SetOntologyDescription(std::forward<OntologyDescriptionT>(value));
92 return *this;
93 }
95
97
100 inline const OntologyInductionInputConfig& GetInputConfig() const { return m_inputConfig; }
101 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
102 template <typename InputConfigT = OntologyInductionInputConfig>
103 void SetInputConfig(InputConfigT&& value) {
104 m_inputConfigHasBeenSet = true;
105 m_inputConfig = std::forward<InputConfigT>(value);
106 }
107 template <typename InputConfigT = OntologyInductionInputConfig>
109 SetInputConfig(std::forward<InputConfigT>(value));
110 return *this;
111 }
113
115
127 inline const Aws::String& GetSeedOntologyId() const { return m_seedOntologyId; }
128 inline bool SeedOntologyIdHasBeenSet() const { return m_seedOntologyIdHasBeenSet; }
129 template <typename SeedOntologyIdT = Aws::String>
130 void SetSeedOntologyId(SeedOntologyIdT&& value) {
131 m_seedOntologyIdHasBeenSet = true;
132 m_seedOntologyId = std::forward<SeedOntologyIdT>(value);
133 }
134 template <typename SeedOntologyIdT = Aws::String>
136 SetSeedOntologyId(std::forward<SeedOntologyIdT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetPrompt() const { return m_prompt; }
146 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
147 template <typename PromptT = Aws::String>
148 void SetPrompt(PromptT&& value) {
149 m_promptHasBeenSet = true;
150 m_prompt = std::forward<PromptT>(value);
151 }
152 template <typename PromptT = Aws::String>
154 SetPrompt(std::forward<PromptT>(value));
155 return *this;
156 }
158
160
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
171 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) {
174 m_tagsHasBeenSet = true;
175 m_tags = std::forward<TagsT>(value);
176 }
177 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 SetTags(std::forward<TagsT>(value));
180 return *this;
181 }
182 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
183 StartOntologyInductionRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
184 m_tagsHasBeenSet = true;
185 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
186 return *this;
187 }
189
191
197 inline const Aws::Map<Aws::String, Aws::String>& GetOntologyTags() const { return m_ontologyTags; }
198 inline bool OntologyTagsHasBeenSet() const { return m_ontologyTagsHasBeenSet; }
199 template <typename OntologyTagsT = Aws::Map<Aws::String, Aws::String>>
200 void SetOntologyTags(OntologyTagsT&& value) {
201 m_ontologyTagsHasBeenSet = true;
202 m_ontologyTags = std::forward<OntologyTagsT>(value);
203 }
204 template <typename OntologyTagsT = Aws::Map<Aws::String, Aws::String>>
206 SetOntologyTags(std::forward<OntologyTagsT>(value));
207 return *this;
208 }
209 template <typename OntologyTagsKeyT = Aws::String, typename OntologyTagsValueT = Aws::String>
210 StartOntologyInductionRequest& AddOntologyTags(OntologyTagsKeyT&& key, OntologyTagsValueT&& value) {
211 m_ontologyTagsHasBeenSet = true;
212 m_ontologyTags.emplace(std::forward<OntologyTagsKeyT>(key), std::forward<OntologyTagsValueT>(value));
213 return *this;
214 }
216 private:
218
219 Aws::String m_ontologyName;
220
221 Aws::String m_ontologyDescription;
222
223 OntologyInductionInputConfig m_inputConfig;
224
225 Aws::String m_seedOntologyId;
226
227 Aws::String m_prompt;
228
230
232 bool m_clientTokenHasBeenSet = true;
233 bool m_ontologyNameHasBeenSet = false;
234 bool m_ontologyDescriptionHasBeenSet = false;
235 bool m_inputConfigHasBeenSet = false;
236 bool m_seedOntologyIdHasBeenSet = false;
237 bool m_promptHasBeenSet = false;
238 bool m_tagsHasBeenSet = false;
239 bool m_ontologyTagsHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace Context
244} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONTEXT_API Aws::String SerializePayload() const override
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetOntologyTags() const
StartOntologyInductionRequest & WithOntologyTags(OntologyTagsT &&value)
StartOntologyInductionRequest & WithInputConfig(InputConfigT &&value)
StartOntologyInductionRequest & WithTags(TagsT &&value)
StartOntologyInductionRequest & WithPrompt(PromptT &&value)
AWS_CONTEXT_API StartOntologyInductionRequest()=default
StartOntologyInductionRequest & WithSeedOntologyId(SeedOntologyIdT &&value)
const OntologyInductionInputConfig & GetInputConfig() const
StartOntologyInductionRequest & WithClientToken(ClientTokenT &&value)
StartOntologyInductionRequest & AddOntologyTags(OntologyTagsKeyT &&key, OntologyTagsValueT &&value)
StartOntologyInductionRequest & WithOntologyName(OntologyNameT &&value)
StartOntologyInductionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartOntologyInductionRequest & WithOntologyDescription(OntologyDescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String