AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeHubContentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/HubContentDependency.h>
12#include <aws/sagemaker/model/HubContentStatus.h>
13#include <aws/sagemaker/model/HubContentSupportStatus.h>
14#include <aws/sagemaker/model/HubContentType.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeHubContentResult() = default;
34
36
39 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
40 template <typename HubContentNameT = Aws::String>
41 void SetHubContentName(HubContentNameT&& value) {
42 m_hubContentNameHasBeenSet = true;
43 m_hubContentName = std::forward<HubContentNameT>(value);
44 }
45 template <typename HubContentNameT = Aws::String>
46 DescribeHubContentResult& WithHubContentName(HubContentNameT&& value) {
47 SetHubContentName(std::forward<HubContentNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetHubContentArn() const { return m_hubContentArn; }
57 template <typename HubContentArnT = Aws::String>
58 void SetHubContentArn(HubContentArnT&& value) {
59 m_hubContentArnHasBeenSet = true;
60 m_hubContentArn = std::forward<HubContentArnT>(value);
61 }
62 template <typename HubContentArnT = Aws::String>
64 SetHubContentArn(std::forward<HubContentArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
74 template <typename HubContentVersionT = Aws::String>
75 void SetHubContentVersion(HubContentVersionT&& value) {
76 m_hubContentVersionHasBeenSet = true;
77 m_hubContentVersion = std::forward<HubContentVersionT>(value);
78 }
79 template <typename HubContentVersionT = Aws::String>
80 DescribeHubContentResult& WithHubContentVersion(HubContentVersionT&& value) {
81 SetHubContentVersion(std::forward<HubContentVersionT>(value));
82 return *this;
83 }
85
87
90 inline HubContentType GetHubContentType() const { return m_hubContentType; }
91 inline void SetHubContentType(HubContentType value) {
92 m_hubContentTypeHasBeenSet = true;
93 m_hubContentType = value;
94 }
96 SetHubContentType(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
106 template <typename DocumentSchemaVersionT = Aws::String>
107 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
108 m_documentSchemaVersionHasBeenSet = true;
109 m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value);
110 }
111 template <typename DocumentSchemaVersionT = Aws::String>
112 DescribeHubContentResult& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
113 SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetHubName() const { return m_hubName; }
123 template <typename HubNameT = Aws::String>
124 void SetHubName(HubNameT&& value) {
125 m_hubNameHasBeenSet = true;
126 m_hubName = std::forward<HubNameT>(value);
127 }
128 template <typename HubNameT = Aws::String>
130 SetHubName(std::forward<HubNameT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetHubArn() const { return m_hubArn; }
140 template <typename HubArnT = Aws::String>
141 void SetHubArn(HubArnT&& value) {
142 m_hubArnHasBeenSet = true;
143 m_hubArn = std::forward<HubArnT>(value);
144 }
145 template <typename HubArnT = Aws::String>
147 SetHubArn(std::forward<HubArnT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
157 template <typename HubContentDisplayNameT = Aws::String>
158 void SetHubContentDisplayName(HubContentDisplayNameT&& value) {
159 m_hubContentDisplayNameHasBeenSet = true;
160 m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value);
161 }
162 template <typename HubContentDisplayNameT = Aws::String>
163 DescribeHubContentResult& WithHubContentDisplayName(HubContentDisplayNameT&& value) {
164 SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
174 template <typename HubContentDescriptionT = Aws::String>
175 void SetHubContentDescription(HubContentDescriptionT&& value) {
176 m_hubContentDescriptionHasBeenSet = true;
177 m_hubContentDescription = std::forward<HubContentDescriptionT>(value);
178 }
179 template <typename HubContentDescriptionT = Aws::String>
180 DescribeHubContentResult& WithHubContentDescription(HubContentDescriptionT&& value) {
181 SetHubContentDescription(std::forward<HubContentDescriptionT>(value));
182 return *this;
183 }
185
187
191 inline const Aws::String& GetHubContentMarkdown() const { return m_hubContentMarkdown; }
192 template <typename HubContentMarkdownT = Aws::String>
193 void SetHubContentMarkdown(HubContentMarkdownT&& value) {
194 m_hubContentMarkdownHasBeenSet = true;
195 m_hubContentMarkdown = std::forward<HubContentMarkdownT>(value);
196 }
197 template <typename HubContentMarkdownT = Aws::String>
198 DescribeHubContentResult& WithHubContentMarkdown(HubContentMarkdownT&& value) {
199 SetHubContentMarkdown(std::forward<HubContentMarkdownT>(value));
200 return *this;
201 }
203
205
209 inline const Aws::String& GetHubContentDocument() const { return m_hubContentDocument; }
210 template <typename HubContentDocumentT = Aws::String>
211 void SetHubContentDocument(HubContentDocumentT&& value) {
212 m_hubContentDocumentHasBeenSet = true;
213 m_hubContentDocument = std::forward<HubContentDocumentT>(value);
214 }
215 template <typename HubContentDocumentT = Aws::String>
216 DescribeHubContentResult& WithHubContentDocument(HubContentDocumentT&& value) {
217 SetHubContentDocument(std::forward<HubContentDocumentT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::String& GetSageMakerPublicHubContentArn() const { return m_sageMakerPublicHubContentArn; }
227 template <typename SageMakerPublicHubContentArnT = Aws::String>
228 void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
229 m_sageMakerPublicHubContentArnHasBeenSet = true;
230 m_sageMakerPublicHubContentArn = std::forward<SageMakerPublicHubContentArnT>(value);
231 }
232 template <typename SageMakerPublicHubContentArnT = Aws::String>
233 DescribeHubContentResult& WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
234 SetSageMakerPublicHubContentArn(std::forward<SageMakerPublicHubContentArnT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetReferenceMinVersion() const { return m_referenceMinVersion; }
244 template <typename ReferenceMinVersionT = Aws::String>
245 void SetReferenceMinVersion(ReferenceMinVersionT&& value) {
246 m_referenceMinVersionHasBeenSet = true;
247 m_referenceMinVersion = std::forward<ReferenceMinVersionT>(value);
248 }
249 template <typename ReferenceMinVersionT = Aws::String>
250 DescribeHubContentResult& WithReferenceMinVersion(ReferenceMinVersionT&& value) {
251 SetReferenceMinVersion(std::forward<ReferenceMinVersionT>(value));
252 return *this;
253 }
255
257
260 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
262 m_supportStatusHasBeenSet = true;
263 m_supportStatus = value;
264 }
266 SetSupportStatus(value);
267 return *this;
268 }
270
272
275 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
276 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
277 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
278 m_hubContentSearchKeywordsHasBeenSet = true;
279 m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value);
280 }
281 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
282 DescribeHubContentResult& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
283 SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value));
284 return *this;
285 }
286 template <typename HubContentSearchKeywordsT = Aws::String>
287 DescribeHubContentResult& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
288 m_hubContentSearchKeywordsHasBeenSet = true;
289 m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value));
290 return *this;
291 }
293
295
299 inline const Aws::Vector<HubContentDependency>& GetHubContentDependencies() const { return m_hubContentDependencies; }
300 template <typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
301 void SetHubContentDependencies(HubContentDependenciesT&& value) {
302 m_hubContentDependenciesHasBeenSet = true;
303 m_hubContentDependencies = std::forward<HubContentDependenciesT>(value);
304 }
305 template <typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
306 DescribeHubContentResult& WithHubContentDependencies(HubContentDependenciesT&& value) {
307 SetHubContentDependencies(std::forward<HubContentDependenciesT>(value));
308 return *this;
309 }
310 template <typename HubContentDependenciesT = HubContentDependency>
311 DescribeHubContentResult& AddHubContentDependencies(HubContentDependenciesT&& value) {
312 m_hubContentDependenciesHasBeenSet = true;
313 m_hubContentDependencies.emplace_back(std::forward<HubContentDependenciesT>(value));
314 return *this;
315 }
317
319
322 inline HubContentStatus GetHubContentStatus() const { return m_hubContentStatus; }
324 m_hubContentStatusHasBeenSet = true;
325 m_hubContentStatus = value;
326 }
328 SetHubContentStatus(value);
329 return *this;
330 }
332
334
337 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
338 template <typename FailureReasonT = Aws::String>
339 void SetFailureReason(FailureReasonT&& value) {
340 m_failureReasonHasBeenSet = true;
341 m_failureReason = std::forward<FailureReasonT>(value);
342 }
343 template <typename FailureReasonT = Aws::String>
345 SetFailureReason(std::forward<FailureReasonT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
355 template <typename CreationTimeT = Aws::Utils::DateTime>
356 void SetCreationTime(CreationTimeT&& value) {
357 m_creationTimeHasBeenSet = true;
358 m_creationTime = std::forward<CreationTimeT>(value);
359 }
360 template <typename CreationTimeT = Aws::Utils::DateTime>
362 SetCreationTime(std::forward<CreationTimeT>(value));
363 return *this;
364 }
366
368
371 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
372 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
373 void SetLastModifiedTime(LastModifiedTimeT&& value) {
374 m_lastModifiedTimeHasBeenSet = true;
375 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
376 }
377 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
378 DescribeHubContentResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
379 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
380 return *this;
381 }
383
385
386 inline const Aws::String& GetRequestId() const { return m_requestId; }
387 template <typename RequestIdT = Aws::String>
388 void SetRequestId(RequestIdT&& value) {
389 m_requestIdHasBeenSet = true;
390 m_requestId = std::forward<RequestIdT>(value);
391 }
392 template <typename RequestIdT = Aws::String>
394 SetRequestId(std::forward<RequestIdT>(value));
395 return *this;
396 }
398 private:
399 Aws::String m_hubContentName;
400
401 Aws::String m_hubContentArn;
402
403 Aws::String m_hubContentVersion;
404
405 HubContentType m_hubContentType{HubContentType::NOT_SET};
406
407 Aws::String m_documentSchemaVersion;
408
409 Aws::String m_hubName;
410
411 Aws::String m_hubArn;
412
413 Aws::String m_hubContentDisplayName;
414
415 Aws::String m_hubContentDescription;
416
417 Aws::String m_hubContentMarkdown;
418
419 Aws::String m_hubContentDocument;
420
421 Aws::String m_sageMakerPublicHubContentArn;
422
423 Aws::String m_referenceMinVersion;
424
426
427 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
428
429 Aws::Vector<HubContentDependency> m_hubContentDependencies;
430
432
433 Aws::String m_failureReason;
434
435 Aws::Utils::DateTime m_creationTime{};
436
437 Aws::Utils::DateTime m_lastModifiedTime{};
438
439 Aws::String m_requestId;
440 bool m_hubContentNameHasBeenSet = false;
441 bool m_hubContentArnHasBeenSet = false;
442 bool m_hubContentVersionHasBeenSet = false;
443 bool m_hubContentTypeHasBeenSet = false;
444 bool m_documentSchemaVersionHasBeenSet = false;
445 bool m_hubNameHasBeenSet = false;
446 bool m_hubArnHasBeenSet = false;
447 bool m_hubContentDisplayNameHasBeenSet = false;
448 bool m_hubContentDescriptionHasBeenSet = false;
449 bool m_hubContentMarkdownHasBeenSet = false;
450 bool m_hubContentDocumentHasBeenSet = false;
451 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
452 bool m_referenceMinVersionHasBeenSet = false;
453 bool m_supportStatusHasBeenSet = false;
454 bool m_hubContentSearchKeywordsHasBeenSet = false;
455 bool m_hubContentDependenciesHasBeenSet = false;
456 bool m_hubContentStatusHasBeenSet = false;
457 bool m_failureReasonHasBeenSet = false;
458 bool m_creationTimeHasBeenSet = false;
459 bool m_lastModifiedTimeHasBeenSet = false;
460 bool m_requestIdHasBeenSet = false;
461};
462
463} // namespace Model
464} // namespace SageMaker
465} // 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)
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