AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
HubContentInfo.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/HubContentStatus.h>
12#include <aws/sagemaker/model/HubContentSupportStatus.h>
13#include <aws/sagemaker/model/HubContentType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
26
33 public:
34 AWS_SAGEMAKER_API HubContentInfo() = default;
35 AWS_SAGEMAKER_API HubContentInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
44 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
45 template <typename HubContentNameT = Aws::String>
46 void SetHubContentName(HubContentNameT&& value) {
47 m_hubContentNameHasBeenSet = true;
48 m_hubContentName = std::forward<HubContentNameT>(value);
49 }
50 template <typename HubContentNameT = Aws::String>
51 HubContentInfo& WithHubContentName(HubContentNameT&& value) {
52 SetHubContentName(std::forward<HubContentNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetHubContentArn() const { return m_hubContentArn; }
62 inline bool HubContentArnHasBeenSet() const { return m_hubContentArnHasBeenSet; }
63 template <typename HubContentArnT = Aws::String>
64 void SetHubContentArn(HubContentArnT&& value) {
65 m_hubContentArnHasBeenSet = true;
66 m_hubContentArn = std::forward<HubContentArnT>(value);
67 }
68 template <typename HubContentArnT = Aws::String>
69 HubContentInfo& WithHubContentArn(HubContentArnT&& value) {
70 SetHubContentArn(std::forward<HubContentArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetSageMakerPublicHubContentArn() const { return m_sageMakerPublicHubContentArn; }
80 inline bool SageMakerPublicHubContentArnHasBeenSet() const { return m_sageMakerPublicHubContentArnHasBeenSet; }
81 template <typename SageMakerPublicHubContentArnT = Aws::String>
82 void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
83 m_sageMakerPublicHubContentArnHasBeenSet = true;
84 m_sageMakerPublicHubContentArn = std::forward<SageMakerPublicHubContentArnT>(value);
85 }
86 template <typename SageMakerPublicHubContentArnT = Aws::String>
87 HubContentInfo& WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) {
88 SetSageMakerPublicHubContentArn(std::forward<SageMakerPublicHubContentArnT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
98 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
99 template <typename HubContentVersionT = Aws::String>
100 void SetHubContentVersion(HubContentVersionT&& value) {
101 m_hubContentVersionHasBeenSet = true;
102 m_hubContentVersion = std::forward<HubContentVersionT>(value);
103 }
104 template <typename HubContentVersionT = Aws::String>
105 HubContentInfo& WithHubContentVersion(HubContentVersionT&& value) {
106 SetHubContentVersion(std::forward<HubContentVersionT>(value));
107 return *this;
108 }
110
112
115 inline HubContentType GetHubContentType() const { return m_hubContentType; }
116 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
118 m_hubContentTypeHasBeenSet = true;
119 m_hubContentType = value;
120 }
122 SetHubContentType(value);
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
132 inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; }
133 template <typename DocumentSchemaVersionT = Aws::String>
134 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
135 m_documentSchemaVersionHasBeenSet = true;
136 m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value);
137 }
138 template <typename DocumentSchemaVersionT = Aws::String>
139 HubContentInfo& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) {
140 SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
150 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
151 template <typename HubContentDisplayNameT = Aws::String>
152 void SetHubContentDisplayName(HubContentDisplayNameT&& value) {
153 m_hubContentDisplayNameHasBeenSet = true;
154 m_hubContentDisplayName = std::forward<HubContentDisplayNameT>(value);
155 }
156 template <typename HubContentDisplayNameT = Aws::String>
157 HubContentInfo& WithHubContentDisplayName(HubContentDisplayNameT&& value) {
158 SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
168 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
169 template <typename HubContentDescriptionT = Aws::String>
170 void SetHubContentDescription(HubContentDescriptionT&& value) {
171 m_hubContentDescriptionHasBeenSet = true;
172 m_hubContentDescription = std::forward<HubContentDescriptionT>(value);
173 }
174 template <typename HubContentDescriptionT = Aws::String>
175 HubContentInfo& WithHubContentDescription(HubContentDescriptionT&& value) {
176 SetHubContentDescription(std::forward<HubContentDescriptionT>(value));
177 return *this;
178 }
180
182
185 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
186 inline bool SupportStatusHasBeenSet() const { return m_supportStatusHasBeenSet; }
188 m_supportStatusHasBeenSet = true;
189 m_supportStatus = value;
190 }
192 SetSupportStatus(value);
193 return *this;
194 }
196
198
201 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
202 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
203 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
204 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
205 m_hubContentSearchKeywordsHasBeenSet = true;
206 m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value);
207 }
208 template <typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
209 HubContentInfo& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
210 SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value));
211 return *this;
212 }
213 template <typename HubContentSearchKeywordsT = Aws::String>
214 HubContentInfo& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) {
215 m_hubContentSearchKeywordsHasBeenSet = true;
216 m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value));
217 return *this;
218 }
220
222
225 inline HubContentStatus GetHubContentStatus() const { return m_hubContentStatus; }
226 inline bool HubContentStatusHasBeenSet() const { return m_hubContentStatusHasBeenSet; }
228 m_hubContentStatusHasBeenSet = true;
229 m_hubContentStatus = value;
230 }
232 SetHubContentStatus(value);
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
242 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
243 template <typename CreationTimeT = Aws::Utils::DateTime>
244 void SetCreationTime(CreationTimeT&& value) {
245 m_creationTimeHasBeenSet = true;
246 m_creationTime = std::forward<CreationTimeT>(value);
247 }
248 template <typename CreationTimeT = Aws::Utils::DateTime>
249 HubContentInfo& WithCreationTime(CreationTimeT&& value) {
250 SetCreationTime(std::forward<CreationTimeT>(value));
251 return *this;
252 }
254
256
260 inline const Aws::Utils::DateTime& GetOriginalCreationTime() const { return m_originalCreationTime; }
261 inline bool OriginalCreationTimeHasBeenSet() const { return m_originalCreationTimeHasBeenSet; }
262 template <typename OriginalCreationTimeT = Aws::Utils::DateTime>
263 void SetOriginalCreationTime(OriginalCreationTimeT&& value) {
264 m_originalCreationTimeHasBeenSet = true;
265 m_originalCreationTime = std::forward<OriginalCreationTimeT>(value);
266 }
267 template <typename OriginalCreationTimeT = Aws::Utils::DateTime>
268 HubContentInfo& WithOriginalCreationTime(OriginalCreationTimeT&& value) {
269 SetOriginalCreationTime(std::forward<OriginalCreationTimeT>(value));
270 return *this;
271 }
273 private:
274 Aws::String m_hubContentName;
275
276 Aws::String m_hubContentArn;
277
278 Aws::String m_sageMakerPublicHubContentArn;
279
280 Aws::String m_hubContentVersion;
281
282 HubContentType m_hubContentType{HubContentType::NOT_SET};
283
284 Aws::String m_documentSchemaVersion;
285
286 Aws::String m_hubContentDisplayName;
287
288 Aws::String m_hubContentDescription;
289
291
292 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
293
295
296 Aws::Utils::DateTime m_creationTime{};
297
298 Aws::Utils::DateTime m_originalCreationTime{};
299 bool m_hubContentNameHasBeenSet = false;
300 bool m_hubContentArnHasBeenSet = false;
301 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
302 bool m_hubContentVersionHasBeenSet = false;
303 bool m_hubContentTypeHasBeenSet = false;
304 bool m_documentSchemaVersionHasBeenSet = false;
305 bool m_hubContentDisplayNameHasBeenSet = false;
306 bool m_hubContentDescriptionHasBeenSet = false;
307 bool m_supportStatusHasBeenSet = false;
308 bool m_hubContentSearchKeywordsHasBeenSet = false;
309 bool m_hubContentStatusHasBeenSet = false;
310 bool m_creationTimeHasBeenSet = false;
311 bool m_originalCreationTimeHasBeenSet = false;
312};
313
314} // namespace Model
315} // namespace SageMaker
316} // namespace Aws
HubContentSupportStatus GetSupportStatus() const
HubContentInfo & AddHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
void SetHubContentDisplayName(HubContentDisplayNameT &&value)
HubContentInfo & WithCreationTime(CreationTimeT &&value)
void SetHubContentType(HubContentType value)
void SetOriginalCreationTime(OriginalCreationTimeT &&value)
HubContentInfo & WithOriginalCreationTime(OriginalCreationTimeT &&value)
void SetHubContentVersion(HubContentVersionT &&value)
void SetHubContentArn(HubContentArnT &&value)
AWS_SAGEMAKER_API HubContentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
HubContentInfo & WithHubContentStatus(HubContentStatus value)
AWS_SAGEMAKER_API HubContentInfo(Aws::Utils::Json::JsonView jsonValue)
HubContentInfo & WithHubContentName(HubContentNameT &&value)
const Aws::Utils::DateTime & GetOriginalCreationTime() const
HubContentInfo & WithHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
void SetHubContentStatus(HubContentStatus value)
HubContentStatus GetHubContentStatus() const
HubContentInfo & WithHubContentDescription(HubContentDescriptionT &&value)
void SetDocumentSchemaVersion(DocumentSchemaVersionT &&value)
void SetSupportStatus(HubContentSupportStatus value)
HubContentInfo & WithHubContentDisplayName(HubContentDisplayNameT &&value)
AWS_SAGEMAKER_API HubContentInfo()=default
const Aws::String & GetHubContentDescription() const
HubContentInfo & WithHubContentArn(HubContentArnT &&value)
const Aws::String & GetHubContentArn() const
const Aws::String & GetDocumentSchemaVersion() const
void SetHubContentSearchKeywords(HubContentSearchKeywordsT &&value)
void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT &&value)
const Aws::String & GetHubContentDisplayName() const
HubContentInfo & WithHubContentType(HubContentType value)
HubContentInfo & WithSupportStatus(HubContentSupportStatus value)
void SetHubContentName(HubContentNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetSageMakerPublicHubContentArn() const
HubContentInfo & WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT &&value)
const Aws::String & GetHubContentVersion() const
HubContentType GetHubContentType() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHubContentName() const
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
void SetCreationTime(CreationTimeT &&value)
void SetHubContentDescription(HubContentDescriptionT &&value)
HubContentInfo & WithHubContentVersion(HubContentVersionT &&value)
HubContentInfo & WithDocumentSchemaVersion(DocumentSchemaVersionT &&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