AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeHubContentResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HubContentType.h>
10#include <aws/sagemaker/model/HubContentSupportStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/HubContentStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/HubContentDependency.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API DescribeHubContentResult() = default;
39
40
42
45 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
46 template<typename HubContentNameT = Aws::String>
47 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
48 template<typename HubContentNameT = Aws::String>
49 DescribeHubContentResult& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetHubContentArn() const { return m_hubContentArn; }
57 template<typename HubContentArnT = Aws::String>
58 void SetHubContentArn(HubContentArnT&& value) { m_hubContentArnHasBeenSet = true; m_hubContentArn = std::forward<HubContentArnT>(value); }
59 template<typename HubContentArnT = Aws::String>
60 DescribeHubContentResult& WithHubContentArn(HubContentArnT&& value) { SetHubContentArn(std::forward<HubContentArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
68 template<typename HubContentVersionT = Aws::String>
69 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
70 template<typename HubContentVersionT = Aws::String>
71 DescribeHubContentResult& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
73
75
78 inline HubContentType GetHubContentType() const { return m_hubContentType; }
79 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
82
84
87 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
88 template<typename DocumentSchemaVersionT = Aws::String>
89 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value); }
90 template<typename DocumentSchemaVersionT = Aws::String>
91 DescribeHubContentResult& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) { SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value)); return *this;}
93
95
98 inline const Aws::String& GetHubName() const { return m_hubName; }
99 template<typename HubNameT = Aws::String>
100 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
101 template<typename HubNameT = Aws::String>
102 DescribeHubContentResult& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
104
106
109 inline const Aws::String& GetHubArn() const { return m_hubArn; }
110 template<typename HubArnT = Aws::String>
111 void SetHubArn(HubArnT&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::forward<HubArnT>(value); }
112 template<typename HubArnT = Aws::String>
113 DescribeHubContentResult& WithHubArn(HubArnT&& value) { SetHubArn(std::forward<HubArnT>(value)); return *this;}
115
117
120 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
121 template<typename HubContentDisplayNameT = Aws::String>
122 void SetHubContentDisplayName(HubContentDisplayNameT&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value); }
123 template<typename HubContentDisplayNameT = Aws::String>
124 DescribeHubContentResult& WithHubContentDisplayName(HubContentDisplayNameT&& value) { SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value)); return *this;}
126
128
131 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
132 template<typename HubContentDescriptionT = Aws::String>
133 void SetHubContentDescription(HubContentDescriptionT&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::forward<HubContentDescriptionT>(value); }
134 template<typename HubContentDescriptionT = Aws::String>
135 DescribeHubContentResult& WithHubContentDescription(HubContentDescriptionT&& value) { SetHubContentDescription(std::forward<HubContentDescriptionT>(value)); return *this;}
137
139
143 inline const Aws::String& GetHubContentMarkdown() const { return m_hubContentMarkdown; }
144 template<typename HubContentMarkdownT = Aws::String>
145 void SetHubContentMarkdown(HubContentMarkdownT&& value) { m_hubContentMarkdownHasBeenSet = true; m_hubContentMarkdown = std::forward<HubContentMarkdownT>(value); }
146 template<typename HubContentMarkdownT = Aws::String>
147 DescribeHubContentResult& WithHubContentMarkdown(HubContentMarkdownT&& value) { SetHubContentMarkdown(std::forward<HubContentMarkdownT>(value)); return *this;}
149
151
155 inline const Aws::String& GetHubContentDocument() const { return m_hubContentDocument; }
156 template<typename HubContentDocumentT = Aws::String>
157 void SetHubContentDocument(HubContentDocumentT&& value) { m_hubContentDocumentHasBeenSet = true; m_hubContentDocument = std::forward<HubContentDocumentT>(value); }
158 template<typename HubContentDocumentT = Aws::String>
159 DescribeHubContentResult& WithHubContentDocument(HubContentDocumentT&& value) { SetHubContentDocument(std::forward<HubContentDocumentT>(value)); return *this;}
161
163
166 inline const Aws::String& GetSageMakerPublicHubContentArn() const { return m_sageMakerPublicHubContentArn; }
167 template<typename SageMakerPublicHubContentArnT = Aws::String>
168 void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = std::forward<SageMakerPublicHubContentArnT>(value); }
169 template<typename SageMakerPublicHubContentArnT = Aws::String>
170 DescribeHubContentResult& WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) { SetSageMakerPublicHubContentArn(std::forward<SageMakerPublicHubContentArnT>(value)); return *this;}
172
174
177 inline const Aws::String& GetReferenceMinVersion() const { return m_referenceMinVersion; }
178 template<typename ReferenceMinVersionT = Aws::String>
179 void SetReferenceMinVersion(ReferenceMinVersionT&& value) { m_referenceMinVersionHasBeenSet = true; m_referenceMinVersion = std::forward<ReferenceMinVersionT>(value); }
180 template<typename ReferenceMinVersionT = Aws::String>
181 DescribeHubContentResult& WithReferenceMinVersion(ReferenceMinVersionT&& value) { SetReferenceMinVersion(std::forward<ReferenceMinVersionT>(value)); return *this;}
183
185
188 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
189 inline void SetSupportStatus(HubContentSupportStatus value) { m_supportStatusHasBeenSet = true; m_supportStatus = value; }
192
194
197 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
198 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
199 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value); }
200 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
201 DescribeHubContentResult& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value)); return *this;}
202 template<typename HubContentSearchKeywordsT = Aws::String>
203 DescribeHubContentResult& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value)); return *this; }
205
207
211 inline const Aws::Vector<HubContentDependency>& GetHubContentDependencies() const { return m_hubContentDependencies; }
212 template<typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
213 void SetHubContentDependencies(HubContentDependenciesT&& value) { m_hubContentDependenciesHasBeenSet = true; m_hubContentDependencies = std::forward<HubContentDependenciesT>(value); }
214 template<typename HubContentDependenciesT = Aws::Vector<HubContentDependency>>
215 DescribeHubContentResult& WithHubContentDependencies(HubContentDependenciesT&& value) { SetHubContentDependencies(std::forward<HubContentDependenciesT>(value)); return *this;}
216 template<typename HubContentDependenciesT = HubContentDependency>
217 DescribeHubContentResult& AddHubContentDependencies(HubContentDependenciesT&& value) { m_hubContentDependenciesHasBeenSet = true; m_hubContentDependencies.emplace_back(std::forward<HubContentDependenciesT>(value)); return *this; }
219
221
224 inline HubContentStatus GetHubContentStatus() const { return m_hubContentStatus; }
225 inline void SetHubContentStatus(HubContentStatus value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = value; }
228
230
233 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
234 template<typename FailureReasonT = Aws::String>
235 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
236 template<typename FailureReasonT = Aws::String>
237 DescribeHubContentResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
239
241
244 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
245 template<typename CreationTimeT = Aws::Utils::DateTime>
246 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
247 template<typename CreationTimeT = Aws::Utils::DateTime>
248 DescribeHubContentResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
250
252
255 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
256 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
257 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
258 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
259 DescribeHubContentResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
261
263
264 inline const Aws::String& GetRequestId() const { return m_requestId; }
265 template<typename RequestIdT = Aws::String>
266 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
267 template<typename RequestIdT = Aws::String>
268 DescribeHubContentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
270 private:
271
272 Aws::String m_hubContentName;
273 bool m_hubContentNameHasBeenSet = false;
274
275 Aws::String m_hubContentArn;
276 bool m_hubContentArnHasBeenSet = false;
277
278 Aws::String m_hubContentVersion;
279 bool m_hubContentVersionHasBeenSet = false;
280
281 HubContentType m_hubContentType{HubContentType::NOT_SET};
282 bool m_hubContentTypeHasBeenSet = false;
283
284 Aws::String m_documentSchemaVersion;
285 bool m_documentSchemaVersionHasBeenSet = false;
286
287 Aws::String m_hubName;
288 bool m_hubNameHasBeenSet = false;
289
290 Aws::String m_hubArn;
291 bool m_hubArnHasBeenSet = false;
292
293 Aws::String m_hubContentDisplayName;
294 bool m_hubContentDisplayNameHasBeenSet = false;
295
296 Aws::String m_hubContentDescription;
297 bool m_hubContentDescriptionHasBeenSet = false;
298
299 Aws::String m_hubContentMarkdown;
300 bool m_hubContentMarkdownHasBeenSet = false;
301
302 Aws::String m_hubContentDocument;
303 bool m_hubContentDocumentHasBeenSet = false;
304
305 Aws::String m_sageMakerPublicHubContentArn;
306 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
307
308 Aws::String m_referenceMinVersion;
309 bool m_referenceMinVersionHasBeenSet = false;
310
312 bool m_supportStatusHasBeenSet = false;
313
314 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
315 bool m_hubContentSearchKeywordsHasBeenSet = false;
316
317 Aws::Vector<HubContentDependency> m_hubContentDependencies;
318 bool m_hubContentDependenciesHasBeenSet = false;
319
321 bool m_hubContentStatusHasBeenSet = false;
322
323 Aws::String m_failureReason;
324 bool m_failureReasonHasBeenSet = false;
325
326 Aws::Utils::DateTime m_creationTime{};
327 bool m_creationTimeHasBeenSet = false;
328
329 Aws::Utils::DateTime m_lastModifiedTime{};
330 bool m_lastModifiedTimeHasBeenSet = false;
331
332 Aws::String m_requestId;
333 bool m_requestIdHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace SageMaker
338} // 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