AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
HubContentInfo.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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SAGEMAKER_API HubContentInfo() = default;
40 AWS_SAGEMAKER_API HubContentInfo(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
50 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
51 template<typename HubContentNameT = Aws::String>
52 void SetHubContentName(HubContentNameT&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::forward<HubContentNameT>(value); }
53 template<typename HubContentNameT = Aws::String>
54 HubContentInfo& WithHubContentName(HubContentNameT&& value) { SetHubContentName(std::forward<HubContentNameT>(value)); return *this;}
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) { m_hubContentArnHasBeenSet = true; m_hubContentArn = std::forward<HubContentArnT>(value); }
65 template<typename HubContentArnT = Aws::String>
66 HubContentInfo& WithHubContentArn(HubContentArnT&& value) { SetHubContentArn(std::forward<HubContentArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetSageMakerPublicHubContentArn() const { return m_sageMakerPublicHubContentArn; }
74 inline bool SageMakerPublicHubContentArnHasBeenSet() const { return m_sageMakerPublicHubContentArnHasBeenSet; }
75 template<typename SageMakerPublicHubContentArnT = Aws::String>
76 void SetSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = std::forward<SageMakerPublicHubContentArnT>(value); }
77 template<typename SageMakerPublicHubContentArnT = Aws::String>
78 HubContentInfo& WithSageMakerPublicHubContentArn(SageMakerPublicHubContentArnT&& value) { SetSageMakerPublicHubContentArn(std::forward<SageMakerPublicHubContentArnT>(value)); return *this;}
80
82
85 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
86 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
87 template<typename HubContentVersionT = Aws::String>
88 void SetHubContentVersion(HubContentVersionT&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::forward<HubContentVersionT>(value); }
89 template<typename HubContentVersionT = Aws::String>
90 HubContentInfo& WithHubContentVersion(HubContentVersionT&& value) { SetHubContentVersion(std::forward<HubContentVersionT>(value)); return *this;}
92
94
97 inline HubContentType GetHubContentType() const { return m_hubContentType; }
98 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
99 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
102
104
107 inline const Aws::String& GetDocumentSchemaVersion() const { return m_documentSchemaVersion; }
108 inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; }
109 template<typename DocumentSchemaVersionT = Aws::String>
110 void SetDocumentSchemaVersion(DocumentSchemaVersionT&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::forward<DocumentSchemaVersionT>(value); }
111 template<typename DocumentSchemaVersionT = Aws::String>
112 HubContentInfo& WithDocumentSchemaVersion(DocumentSchemaVersionT&& value) { SetDocumentSchemaVersion(std::forward<DocumentSchemaVersionT>(value)); return *this;}
114
116
119 inline const Aws::String& GetHubContentDisplayName() const { return m_hubContentDisplayName; }
120 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
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 HubContentInfo& WithHubContentDisplayName(HubContentDisplayNameT&& value) { SetHubContentDisplayName(std::forward<HubContentDisplayNameT>(value)); return *this;}
126
128
131 inline const Aws::String& GetHubContentDescription() const { return m_hubContentDescription; }
132 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
133 template<typename HubContentDescriptionT = Aws::String>
134 void SetHubContentDescription(HubContentDescriptionT&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::forward<HubContentDescriptionT>(value); }
135 template<typename HubContentDescriptionT = Aws::String>
136 HubContentInfo& WithHubContentDescription(HubContentDescriptionT&& value) { SetHubContentDescription(std::forward<HubContentDescriptionT>(value)); return *this;}
138
140
143 inline HubContentSupportStatus GetSupportStatus() const { return m_supportStatus; }
144 inline bool SupportStatusHasBeenSet() const { return m_supportStatusHasBeenSet; }
145 inline void SetSupportStatus(HubContentSupportStatus value) { m_supportStatusHasBeenSet = true; m_supportStatus = value; }
148
150
153 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const { return m_hubContentSearchKeywords; }
154 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
155 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
156 void SetHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::forward<HubContentSearchKeywordsT>(value); }
157 template<typename HubContentSearchKeywordsT = Aws::Vector<Aws::String>>
158 HubContentInfo& WithHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { SetHubContentSearchKeywords(std::forward<HubContentSearchKeywordsT>(value)); return *this;}
159 template<typename HubContentSearchKeywordsT = Aws::String>
160 HubContentInfo& AddHubContentSearchKeywords(HubContentSearchKeywordsT&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.emplace_back(std::forward<HubContentSearchKeywordsT>(value)); return *this; }
162
164
167 inline HubContentStatus GetHubContentStatus() const { return m_hubContentStatus; }
168 inline bool HubContentStatusHasBeenSet() const { return m_hubContentStatusHasBeenSet; }
169 inline void SetHubContentStatus(HubContentStatus value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = value; }
172
174
177 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
178 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
179 template<typename CreationTimeT = Aws::Utils::DateTime>
180 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
181 template<typename CreationTimeT = Aws::Utils::DateTime>
182 HubContentInfo& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
184
186
190 inline const Aws::Utils::DateTime& GetOriginalCreationTime() const { return m_originalCreationTime; }
191 inline bool OriginalCreationTimeHasBeenSet() const { return m_originalCreationTimeHasBeenSet; }
192 template<typename OriginalCreationTimeT = Aws::Utils::DateTime>
193 void SetOriginalCreationTime(OriginalCreationTimeT&& value) { m_originalCreationTimeHasBeenSet = true; m_originalCreationTime = std::forward<OriginalCreationTimeT>(value); }
194 template<typename OriginalCreationTimeT = Aws::Utils::DateTime>
195 HubContentInfo& WithOriginalCreationTime(OriginalCreationTimeT&& value) { SetOriginalCreationTime(std::forward<OriginalCreationTimeT>(value)); return *this;}
197 private:
198
199 Aws::String m_hubContentName;
200 bool m_hubContentNameHasBeenSet = false;
201
202 Aws::String m_hubContentArn;
203 bool m_hubContentArnHasBeenSet = false;
204
205 Aws::String m_sageMakerPublicHubContentArn;
206 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
207
208 Aws::String m_hubContentVersion;
209 bool m_hubContentVersionHasBeenSet = false;
210
211 HubContentType m_hubContentType{HubContentType::NOT_SET};
212 bool m_hubContentTypeHasBeenSet = false;
213
214 Aws::String m_documentSchemaVersion;
215 bool m_documentSchemaVersionHasBeenSet = false;
216
217 Aws::String m_hubContentDisplayName;
218 bool m_hubContentDisplayNameHasBeenSet = false;
219
220 Aws::String m_hubContentDescription;
221 bool m_hubContentDescriptionHasBeenSet = false;
222
224 bool m_supportStatusHasBeenSet = false;
225
226 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
227 bool m_hubContentSearchKeywordsHasBeenSet = false;
228
230 bool m_hubContentStatusHasBeenSet = false;
231
232 Aws::Utils::DateTime m_creationTime{};
233 bool m_creationTimeHasBeenSet = false;
234
235 Aws::Utils::DateTime m_originalCreationTime{};
236 bool m_originalCreationTimeHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace SageMaker
241} // 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