AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeHubContentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/HubContentDependency.h>
13#include <aws/sagemaker/model/HubContentStatus.h>
14#include <aws/sagemaker/model/HubContentSupportStatus.h>
15#include <aws/sagemaker/model/HubContentType.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker {
29namespace Model {
31 public:
32 AWS_SAGEMAKER_API DescribeHubContentResult() = default;
35
37
40 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
41 template <typename HubContentNameT = Aws::String>
42 void SetHubContentName(HubContentNameT&& value) {
43 m_hubContentNameHasBeenSet = true;
44 m_hubContentName = std::forward<HubContentNameT>(value);
45 }
46 template <typename HubContentNameT = Aws::String>
47 DescribeHubContentResult& WithHubContentName(HubContentNameT&& value) {
48 SetHubContentName(std::forward<HubContentNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetHubContentArn() const { return m_hubContentArn; }
58 template <typename HubContentArnT = Aws::String>
59 void SetHubContentArn(HubContentArnT&& value) {
60 m_hubContentArnHasBeenSet = true;
61 m_hubContentArn = std::forward<HubContentArnT>(value);
62 }
63 template <typename HubContentArnT = Aws::String>
65 SetHubContentArn(std::forward<HubContentArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
75 template <typename HubContentVersionT = Aws::String>
76 void SetHubContentVersion(HubContentVersionT&& value) {
77 m_hubContentVersionHasBeenSet = true;
78 m_hubContentVersion = std::forward<HubContentVersionT>(value);
79 }
80 template <typename HubContentVersionT = Aws::String>
81 DescribeHubContentResult& WithHubContentVersion(HubContentVersionT&& value) {
82 SetHubContentVersion(std::forward<HubContentVersionT>(value));
83 return *this;
84 }
86
88
91 inline HubContentType GetHubContentType() const { return m_hubContentType; }
92 inline void SetHubContentType(HubContentType value) {
93 m_hubContentTypeHasBeenSet = true;
94 m_hubContentType = value;
95 }
97 SetHubContentType(value);
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
107 template <typename DocumentSchemaVersionT = Aws::String>
108 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
109 m_documentSchemaVersionHasBeenSet = true;
110 m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value);
111 }
112 template <typename DocumentSchemaVersionT = Aws::String>
113 DescribeHubContentResult& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
114 SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetHubName() const { return m_hubName; }
124 template <typename HubNameT = Aws::String>
125 void SetHubName(HubNameT&& value) {
126 m_hubNameHasBeenSet = true;
127 m_hubName = std::forward<HubNameT>(value);
128 }
129 template <typename HubNameT = Aws::String>
131 SetHubName(std::forward<HubNameT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetHubArn() const { return m_hubArn; }
141 template <typename HubArnT = Aws::String>
142 void SetHubArn(HubArnT&& value) {
143 m_hubArnHasBeenSet = true;
144 m_hubArn = std::forward<HubArnT>(value);
145 }
146 template <typename HubArnT = Aws::String>
148 SetHubArn(std::forward<HubArnT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
158 template <typename HubContentDisplayNameT = Aws::String>
159 void SetHubContentDisplayName(HubContentDisplayNameT&& value) {
160 m_hubContentDisplayNameHasBeenSet = true;
161 m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value);
162 }
163 template <typename HubContentDisplayNameT = Aws::String>
164 DescribeHubContentResult& WithHubContentDisplayName(HubContentDisplayNameT&& value) {
165 SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
175 template <typename HubContentDescriptionT = Aws::String>
176 void SetHubContentDescription(HubContentDescriptionT&& value) {
177 m_hubContentDescriptionHasBeenSet = true;
178 m_hubContentDescription = std::forward<HubContentDescriptionT>(value);
179 }
180 template <typename HubContentDescriptionT = Aws::String>
181 DescribeHubContentResult& WithHubContentDescription(HubContentDescriptionT&& value) {
182 SetHubContentDescription(std::forward<HubContentDescriptionT>(value));
183 return *this;
184 }
186
188
192 inline const Aws::String& GetHubContentMarkdown() const { return m_hubContentMarkdown; }
193 template <typename HubContentMarkdownT = Aws::String>
194 void SetHubContentMarkdown(HubContentMarkdownT&& value) {
195 m_hubContentMarkdownHasBeenSet = true;
196 m_hubContentMarkdown = std::forward<HubContentMarkdownT>(value);
197 }
198 template <typename HubContentMarkdownT = Aws::String>
199 DescribeHubContentResult& WithHubContentMarkdown(HubContentMarkdownT&& value) {
200 SetHubContentMarkdown(std::forward<HubContentMarkdownT>(value));
201 return *this;
202 }
204
206
210 inline const Aws::String& GetHubContentDocument() const { return m_hubContentDocument; }
211 template <typename HubContentDocumentT = Aws::String>
212 void SetHubContentDocument(HubContentDocumentT&& value) {
213 m_hubContentDocumentHasBeenSet = true;
214 m_hubContentDocument = std::forward<HubContentDocumentT>(value);
215 }
216 template <typename HubContentDocumentT = Aws::String>
217 DescribeHubContentResult& WithHubContentDocument(HubContentDocumentT&& value) {
218 SetHubContentDocument(std::forward<HubContentDocumentT>(value));
219 return *this;
220 }
222
224
227 inline const Aws::String& GetSageMakerPublicHubContentArn() const { return m_sageMakerPublicHubContentArn; }
228 template <typename SageMakerPublicHubContentArnT = Aws::String>
229 void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
230 m_sageMakerPublicHubContentArnHasBeenSet = true;
231 m_sageMakerPublicHubContentArn = std::forward<SageMakerPublicHubContentArnT>(value);
232 }
233 template <typename SageMakerPublicHubContentArnT = Aws::String>
234 DescribeHubContentResult& WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
235 SetSageMakerPublicHubContentArn(std::forward<SageMakerPublicHubContentArnT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetReferenceMinVersion() const { return m_referenceMinVersion; }
245 template <typename ReferenceMinVersionT = Aws::String>
246 void SetReferenceMinVersion(ReferenceMinVersionT&& value) {
247 m_referenceMinVersionHasBeenSet = true;
248 m_referenceMinVersion = std::forward<ReferenceMinVersionT>(value);
249 }
250 template <typename ReferenceMinVersionT = Aws::String>
251 DescribeHubContentResult& WithReferenceMinVersion(ReferenceMinVersionT&& value) {
252 SetReferenceMinVersion(std::forward<ReferenceMinVersionT>(value));
253 return *this;
254 }
256
258
261 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
263 m_supportStatusHasBeenSet = true;
264 m_supportStatus = value;
265 }
267 SetSupportStatus(value);
268 return *this;
269 }
271
273
276 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
277 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
278 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
279 m_hubContentSearchKeywordsHasBeenSet = true;
280 m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value);
281 }
282 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
283 DescribeHubContentResult& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
284 SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value));
285 return *this;
286 }
287 template <typename HubContentSearchKeywordsT = Aws::String>
288 DescribeHubContentResult& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
289 m_hubContentSearchKeywordsHasBeenSet = true;
290 m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value));
291 return *this;
292 }
294
296
300 inline const Aws::Vector<HubContentDependency>& GetHubContentDependencies() const { return m_hubContentDependencies; }
301 template <typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
302 void SetHubContentDependencies(HubContentDependenciesT&& value) {
303 m_hubContentDependenciesHasBeenSet = true;
304 m_hubContentDependencies = std::forward<HubContentDependenciesT>(value);
305 }
306 template <typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
307 DescribeHubContentResult& WithHubContentDependencies(HubContentDependenciesT&& value) {
308 SetHubContentDependencies(std::forward<HubContentDependenciesT>(value));
309 return *this;
310 }
311 template <typename HubContentDependenciesT = HubContentDependency>
312 DescribeHubContentResult& AddHubContentDependencies(HubContentDependenciesT&& value) {
313 m_hubContentDependenciesHasBeenSet = true;
314 m_hubContentDependencies.emplace_back(std::forward<HubContentDependenciesT>(value));
315 return *this;
316 }
318
320
323 inline HubContentStatus GetHubContentStatus() const { return m_hubContentStatus; }
325 m_hubContentStatusHasBeenSet = true;
326 m_hubContentStatus = value;
327 }
329 SetHubContentStatus(value);
330 return *this;
331 }
333
335
338 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
339 template <typename FailureReasonT = Aws::String>
340 void SetFailureReason(FailureReasonT&& value) {
341 m_failureReasonHasBeenSet = true;
342 m_failureReason = std::forward<FailureReasonT>(value);
343 }
344 template <typename FailureReasonT = Aws::String>
346 SetFailureReason(std::forward<FailureReasonT>(value));
347 return *this;
348 }
350
352
355 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
356 template <typename CreationTimeT = Aws::Utils::DateTime>
357 void SetCreationTime(CreationTimeT&& value) {
358 m_creationTimeHasBeenSet = true;
359 m_creationTime = std::forward<CreationTimeT>(value);
360 }
361 template <typename CreationTimeT = Aws::Utils::DateTime>
363 SetCreationTime(std::forward<CreationTimeT>(value));
364 return *this;
365 }
367
369
372 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
373 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
374 void SetLastModifiedTime(LastModifiedTimeT&& value) {
375 m_lastModifiedTimeHasBeenSet = true;
376 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
377 }
378 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
379 DescribeHubContentResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
380 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
381 return *this;
382 }
384
386
387 inline const Aws::String& GetRequestId() const { return m_requestId; }
388 template <typename RequestIdT = Aws::String>
389 void SetRequestId(RequestIdT&& value) {
390 m_requestIdHasBeenSet = true;
391 m_requestId = std::forward<RequestIdT>(value);
392 }
393 template <typename RequestIdT = Aws::String>
395 SetRequestId(std::forward<RequestIdT>(value));
396 return *this;
397 }
399 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
400
401 private:
402 Aws::String m_hubContentName;
403
404 Aws::String m_hubContentArn;
405
406 Aws::String m_hubContentVersion;
407
408 HubContentType m_hubContentType{HubContentType::NOT_SET};
409
410 Aws::String m_documentSchemaVersion;
411
412 Aws::String m_hubName;
413
414 Aws::String m_hubArn;
415
416 Aws::String m_hubContentDisplayName;
417
418 Aws::String m_hubContentDescription;
419
420 Aws::String m_hubContentMarkdown;
421
422 Aws::String m_hubContentDocument;
423
424 Aws::String m_sageMakerPublicHubContentArn;
425
426 Aws::String m_referenceMinVersion;
427
429
430 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
431
432 Aws::Vector<HubContentDependency> m_hubContentDependencies;
433
435
436 Aws::String m_failureReason;
437
438 Aws::Utils::DateTime m_creationTime{};
439
440 Aws::Utils::DateTime m_lastModifiedTime{};
441
442 Aws::String m_requestId;
443 Aws::Http::HttpResponseCode m_HttpResponseCode;
444 bool m_hubContentNameHasBeenSet = false;
445 bool m_hubContentArnHasBeenSet = false;
446 bool m_hubContentVersionHasBeenSet = false;
447 bool m_hubContentTypeHasBeenSet = false;
448 bool m_documentSchemaVersionHasBeenSet = false;
449 bool m_hubNameHasBeenSet = false;
450 bool m_hubArnHasBeenSet = false;
451 bool m_hubContentDisplayNameHasBeenSet = false;
452 bool m_hubContentDescriptionHasBeenSet = false;
453 bool m_hubContentMarkdownHasBeenSet = false;
454 bool m_hubContentDocumentHasBeenSet = false;
455 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
456 bool m_referenceMinVersionHasBeenSet = false;
457 bool m_supportStatusHasBeenSet = false;
458 bool m_hubContentSearchKeywordsHasBeenSet = false;
459 bool m_hubContentDependenciesHasBeenSet = false;
460 bool m_hubContentStatusHasBeenSet = false;
461 bool m_failureReasonHasBeenSet = false;
462 bool m_creationTimeHasBeenSet = false;
463 bool m_lastModifiedTimeHasBeenSet = false;
464 bool m_requestIdHasBeenSet = false;
465};
466
467} // namespace Model
468} // namespace SageMaker
469} // namespace Aws
DescribeHubContentResult & AddHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
DescribeHubContentResult & WithHubContentMarkdown(HubContentMarkdownT &&value)
void SetHubContentDependencies(HubContentDependenciesT &&value)
void SetReferenceMinVersion(ReferenceMinVersionT &&value)
DescribeHubContentResult & WithHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
DescribeHubContentResult & WithFailureReason(FailureReasonT &&value)
DescribeHubContentResult & WithHubContentStatus(HubContentStatus value)
DescribeHubContentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeHubContentResult & WithDocumentSchemaVersion(DocumentSchemaVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeHubContentResult & WithHubName(HubNameT &&value)
AWS_SAGEMAKER_API DescribeHubContentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubContentResult & AddHubContentDependencies(HubContentDependenciesT &&value)
void SetDocumentSchemaVersion(DocumentSchemaVersionT &&value)
DescribeHubContentResult & WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT &&value)
DescribeHubContentResult & WithCreationTime(CreationTimeT &&value)
DescribeHubContentResult & WithHubContentDescription(HubContentDescriptionT &&value)
const Aws::Vector< HubContentDependency > & GetHubContentDependencies() const
DescribeHubContentResult & WithSupportStatus(HubContentSupportStatus value)
DescribeHubContentResult & WithHubContentDisplayName(HubContentDisplayNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeHubContentResult & WithReferenceMinVersion(ReferenceMinVersionT &&value)
DescribeHubContentResult & WithHubContentName(HubContentNameT &&value)
void SetHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
DescribeHubContentResult & WithHubArn(HubArnT &&value)
void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT &&value)
DescribeHubContentResult & WithHubContentType(HubContentType value)
DescribeHubContentResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeHubContentResult & WithHubContentVersion(HubContentVersionT &&value)
void SetHubContentDescription(HubContentDescriptionT &&value)
void SetHubContentDisplayName(HubContentDisplayNameT &&value)
DescribeHubContentResult & WithHubContentArn(HubContentArnT &&value)
DescribeHubContentResult & WithHubContentDocument(HubContentDocumentT &&value)
AWS_SAGEMAKER_API DescribeHubContentResult()=default
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
AWS_SAGEMAKER_API DescribeHubContentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubContentResult & WithHubContentDependencies(HubContentDependenciesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue