7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/OntologySourceFormat.h>
9#include <aws/context/model/OntologyStatus.h>
10#include <aws/context/model/OntologyValidationIssue.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/crt/cbor/Cbor.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
52 template <
typename ArnT = Aws::String>
54 m_arnHasBeenSet =
true;
55 m_arn = std::forward<ArnT>(value);
57 template <
typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
70 template <
typename VersionT = Aws::String>
72 m_versionHasBeenSet =
true;
73 m_version = std::forward<VersionT>(value);
75 template <
typename VersionT = Aws::String>
87 template <
typename TemplateT = Aws::String>
89 m_templateHasBeenSet =
true;
90 m_template = std::forward<TemplateT>(value);
92 template <
typename TemplateT = Aws::String>
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
107 m_createdAtHasBeenSet =
true;
108 m_createdAt = std::forward<CreatedAtT>(value);
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
124 template <
typename PublishedAtT = Aws::Utils::DateTime>
126 m_publishedAtHasBeenSet =
true;
127 m_publishedAt = std::forward<PublishedAtT>(value);
129 template <
typename PublishedAtT = Aws::Utils::DateTime>
143 template <
typename NameT = Aws::String>
145 m_nameHasBeenSet =
true;
146 m_name = std::forward<NameT>(value);
148 template <
typename NameT = Aws::String>
150 SetName(std::forward<NameT>(value));
161 template <
typename DescriptionT = Aws::String>
163 m_descriptionHasBeenSet =
true;
164 m_description = std::forward<DescriptionT>(value);
166 template <
typename DescriptionT = Aws::String>
179 template <
typename DerivationVersionT = Aws::String>
181 m_derivationVersionHasBeenSet =
true;
182 m_derivationVersion = std::forward<DerivationVersionT>(value);
184 template <
typename DerivationVersionT = Aws::String>
196 template <
typename IdT = Aws::String>
198 m_idHasBeenSet =
true;
199 m_id = std::forward<IdT>(value);
201 template <
typename IdT = Aws::String>
203 SetId(std::forward<IdT>(value));
217 m_statusHasBeenSet =
true;
233 template <
typename UpdatedAtT = Aws::Utils::DateTime>
235 m_updatedAtHasBeenSet =
true;
236 m_updatedAt = std::forward<UpdatedAtT>(value);
238 template <
typename UpdatedAtT = Aws::Utils::DateTime>
251 template <
typename OntologyInductionIdT = Aws::String>
253 m_ontologyInductionIdHasBeenSet =
true;
254 m_ontologyInductionId = std::forward<OntologyInductionIdT>(value);
256 template <
typename OntologyInductionIdT = Aws::String>
270 template <
typename SourceT = Aws::String>
272 m_sourceHasBeenSet =
true;
273 m_source = std::forward<SourceT>(value);
275 template <
typename SourceT = Aws::String>
293 m_sourceFormatHasBeenSet =
true;
294 m_sourceFormat = value;
307 template <
typename RevisionIdT = Aws::String>
309 m_revisionIdHasBeenSet =
true;
310 m_revisionId = std::forward<RevisionIdT>(value);
312 template <
typename RevisionIdT = Aws::String>
325 template <
typename Val
idationIssuesT = Aws::Vector<OntologyVal
idationIssue>>
327 m_validationIssuesHasBeenSet =
true;
328 m_validationIssues = std::forward<ValidationIssuesT>(value);
330 template <
typename Val
idationIssuesT = Aws::Vector<OntologyVal
idationIssue>>
335 template <
typename Val
idationIssuesT = OntologyVal
idationIssue>
337 m_validationIssuesHasBeenSet =
true;
338 m_validationIssues.emplace_back(std::forward<ValidationIssuesT>(value));
346 template <
typename RequestIdT = Aws::String>
348 m_requestIdHasBeenSet =
true;
349 m_requestId = std::forward<RequestIdT>(value);
351 template <
typename RequestIdT = Aws::String>
394 bool m_arnHasBeenSet =
false;
395 bool m_versionHasBeenSet =
false;
396 bool m_templateHasBeenSet =
false;
397 bool m_createdAtHasBeenSet =
false;
398 bool m_publishedAtHasBeenSet =
false;
399 bool m_nameHasBeenSet =
false;
400 bool m_descriptionHasBeenSet =
false;
401 bool m_derivationVersionHasBeenSet =
false;
402 bool m_idHasBeenSet =
false;
403 bool m_statusHasBeenSet =
false;
404 bool m_updatedAtHasBeenSet =
false;
405 bool m_ontologyInductionIdHasBeenSet =
false;
406 bool m_sourceHasBeenSet =
false;
407 bool m_sourceFormatHasBeenSet =
false;
408 bool m_revisionIdHasBeenSet =
false;
409 bool m_validationIssuesHasBeenSet =
false;
410 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
GetOntologyResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetRevisionId() const
void SetPublishedAt(PublishedAtT &&value)
GetOntologyResult & WithPublishedAt(PublishedAtT &&value)
GetOntologyResult & WithTemplate(TemplateT &&value)
void SetOntologyInductionId(OntologyInductionIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetName() const
GetOntologyResult & WithSourceFormat(OntologySourceFormat value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetPublishedAt() const
const Aws::String & GetSource() const
GetOntologyResult & WithId(IdT &&value)
const Aws::String & GetArn() const
GetOntologyResult & WithUpdatedAt(UpdatedAtT &&value)
OntologySourceFormat GetSourceFormat() const
void SetSourceFormat(OntologySourceFormat value)
GetOntologyResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetOntologyInductionId() const
GetOntologyResult & WithArn(ArnT &&value)
const Aws::String & GetVersion() const
void SetCreatedAt(CreatedAtT &&value)
void SetTemplate(TemplateT &&value)
GetOntologyResult & WithVersion(VersionT &&value)
const Aws::String & GetDerivationVersion() const
const Aws::Vector< OntologyValidationIssue > & GetValidationIssues() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDerivationVersion(DerivationVersionT &&value)
GetOntologyResult & WithDerivationVersion(DerivationVersionT &&value)
void SetVersion(VersionT &&value)
void SetStatus(OntologyStatus value)
AWS_CONTEXT_API GetOntologyResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CONTEXT_API GetOntologyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetTemplate() const
void SetValidationIssues(ValidationIssuesT &&value)
const Aws::String & GetId() const
GetOntologyResult & WithDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
GetOntologyResult & AddValidationIssues(ValidationIssuesT &&value)
GetOntologyResult & WithStatus(OntologyStatus value)
GetOntologyResult & WithName(NameT &&value)
GetOntologyResult & WithSource(SourceT &&value)
OntologyStatus GetStatus() const
GetOntologyResult & WithOntologyInductionId(OntologyInductionIdT &&value)
GetOntologyResult & WithRevisionId(RevisionIdT &&value)
void SetSource(SourceT &&value)
void SetName(NameT &&value)
void SetRevisionId(RevisionIdT &&value)
AWS_CONTEXT_API GetOntologyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetOntologyResult & WithValidationIssues(ValidationIssuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector