AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
52 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
53 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
54 inline HubContentInfo& WithHubContentName(const Aws::String& value) { SetHubContentName(value); return *this;}
55 inline HubContentInfo& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
56 inline HubContentInfo& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
58
60
63 inline const Aws::String& GetHubContentArn() const{ return m_hubContentArn; }
64 inline bool HubContentArnHasBeenSet() const { return m_hubContentArnHasBeenSet; }
65 inline void SetHubContentArn(const Aws::String& value) { m_hubContentArnHasBeenSet = true; m_hubContentArn = value; }
66 inline void SetHubContentArn(Aws::String&& value) { m_hubContentArnHasBeenSet = true; m_hubContentArn = std::move(value); }
67 inline void SetHubContentArn(const char* value) { m_hubContentArnHasBeenSet = true; m_hubContentArn.assign(value); }
68 inline HubContentInfo& WithHubContentArn(const Aws::String& value) { SetHubContentArn(value); return *this;}
69 inline HubContentInfo& WithHubContentArn(Aws::String&& value) { SetHubContentArn(std::move(value)); return *this;}
70 inline HubContentInfo& WithHubContentArn(const char* value) { SetHubContentArn(value); return *this;}
72
74
77 inline const Aws::String& GetSageMakerPublicHubContentArn() const{ return m_sageMakerPublicHubContentArn; }
78 inline bool SageMakerPublicHubContentArnHasBeenSet() const { return m_sageMakerPublicHubContentArnHasBeenSet; }
79 inline void SetSageMakerPublicHubContentArn(const Aws::String& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = value; }
80 inline void SetSageMakerPublicHubContentArn(Aws::String&& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = std::move(value); }
81 inline void SetSageMakerPublicHubContentArn(const char* value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn.assign(value); }
84 inline HubContentInfo& WithSageMakerPublicHubContentArn(const char* value) { SetSageMakerPublicHubContentArn(value); return *this;}
86
88
91 inline const Aws::String& GetHubContentVersion() const{ return m_hubContentVersion; }
92 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
93 inline void SetHubContentVersion(const Aws::String& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = value; }
94 inline void SetHubContentVersion(Aws::String&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::move(value); }
95 inline void SetHubContentVersion(const char* value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion.assign(value); }
96 inline HubContentInfo& WithHubContentVersion(const Aws::String& value) { SetHubContentVersion(value); return *this;}
97 inline HubContentInfo& WithHubContentVersion(Aws::String&& value) { SetHubContentVersion(std::move(value)); return *this;}
98 inline HubContentInfo& WithHubContentVersion(const char* value) { SetHubContentVersion(value); return *this;}
100
102
105 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
106 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
107 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
108 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
109 inline HubContentInfo& WithHubContentType(const HubContentType& value) { SetHubContentType(value); return *this;}
110 inline HubContentInfo& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetDocumentSchemaVersion() const{ return m_documentSchemaVersion; }
118 inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; }
119 inline void SetDocumentSchemaVersion(const Aws::String& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = value; }
120 inline void SetDocumentSchemaVersion(Aws::String&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::move(value); }
121 inline void SetDocumentSchemaVersion(const char* value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion.assign(value); }
123 inline HubContentInfo& WithDocumentSchemaVersion(Aws::String&& value) { SetDocumentSchemaVersion(std::move(value)); return *this;}
124 inline HubContentInfo& WithDocumentSchemaVersion(const char* value) { SetDocumentSchemaVersion(value); return *this;}
126
128
131 inline const Aws::String& GetHubContentDisplayName() const{ return m_hubContentDisplayName; }
132 inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; }
133 inline void SetHubContentDisplayName(const Aws::String& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = value; }
134 inline void SetHubContentDisplayName(Aws::String&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::move(value); }
135 inline void SetHubContentDisplayName(const char* value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName.assign(value); }
137 inline HubContentInfo& WithHubContentDisplayName(Aws::String&& value) { SetHubContentDisplayName(std::move(value)); return *this;}
138 inline HubContentInfo& WithHubContentDisplayName(const char* value) { SetHubContentDisplayName(value); return *this;}
140
142
145 inline const Aws::String& GetHubContentDescription() const{ return m_hubContentDescription; }
146 inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; }
147 inline void SetHubContentDescription(const Aws::String& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = value; }
148 inline void SetHubContentDescription(Aws::String&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::move(value); }
149 inline void SetHubContentDescription(const char* value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription.assign(value); }
151 inline HubContentInfo& WithHubContentDescription(Aws::String&& value) { SetHubContentDescription(std::move(value)); return *this;}
152 inline HubContentInfo& WithHubContentDescription(const char* value) { SetHubContentDescription(value); return *this;}
154
156
159 inline const HubContentSupportStatus& GetSupportStatus() const{ return m_supportStatus; }
160 inline bool SupportStatusHasBeenSet() const { return m_supportStatusHasBeenSet; }
161 inline void SetSupportStatus(const HubContentSupportStatus& value) { m_supportStatusHasBeenSet = true; m_supportStatus = value; }
162 inline void SetSupportStatus(HubContentSupportStatus&& value) { m_supportStatusHasBeenSet = true; m_supportStatus = std::move(value); }
163 inline HubContentInfo& WithSupportStatus(const HubContentSupportStatus& value) { SetSupportStatus(value); return *this;}
164 inline HubContentInfo& WithSupportStatus(HubContentSupportStatus&& value) { SetSupportStatus(std::move(value)); return *this;}
166
168
171 inline const Aws::Vector<Aws::String>& GetHubContentSearchKeywords() const{ return m_hubContentSearchKeywords; }
172 inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; }
173 inline void SetHubContentSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = value; }
174 inline void SetHubContentSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::move(value); }
177 inline HubContentInfo& AddHubContentSearchKeywords(const Aws::String& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; }
178 inline HubContentInfo& AddHubContentSearchKeywords(Aws::String&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(std::move(value)); return *this; }
179 inline HubContentInfo& AddHubContentSearchKeywords(const char* value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; }
181
183
186 inline const HubContentStatus& GetHubContentStatus() const{ return m_hubContentStatus; }
187 inline bool HubContentStatusHasBeenSet() const { return m_hubContentStatusHasBeenSet; }
188 inline void SetHubContentStatus(const HubContentStatus& value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = value; }
189 inline void SetHubContentStatus(HubContentStatus&& value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = std::move(value); }
190 inline HubContentInfo& WithHubContentStatus(const HubContentStatus& value) { SetHubContentStatus(value); return *this;}
191 inline HubContentInfo& WithHubContentStatus(HubContentStatus&& value) { SetHubContentStatus(std::move(value)); return *this;}
193
195
198 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
199 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
200 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
201 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
202 inline HubContentInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
203 inline HubContentInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
205
207
211 inline const Aws::Utils::DateTime& GetOriginalCreationTime() const{ return m_originalCreationTime; }
212 inline bool OriginalCreationTimeHasBeenSet() const { return m_originalCreationTimeHasBeenSet; }
213 inline void SetOriginalCreationTime(const Aws::Utils::DateTime& value) { m_originalCreationTimeHasBeenSet = true; m_originalCreationTime = value; }
214 inline void SetOriginalCreationTime(Aws::Utils::DateTime&& value) { m_originalCreationTimeHasBeenSet = true; m_originalCreationTime = std::move(value); }
216 inline HubContentInfo& WithOriginalCreationTime(Aws::Utils::DateTime&& value) { SetOriginalCreationTime(std::move(value)); return *this;}
218 private:
219
220 Aws::String m_hubContentName;
221 bool m_hubContentNameHasBeenSet = false;
222
223 Aws::String m_hubContentArn;
224 bool m_hubContentArnHasBeenSet = false;
225
226 Aws::String m_sageMakerPublicHubContentArn;
227 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
228
229 Aws::String m_hubContentVersion;
230 bool m_hubContentVersionHasBeenSet = false;
231
232 HubContentType m_hubContentType;
233 bool m_hubContentTypeHasBeenSet = false;
234
235 Aws::String m_documentSchemaVersion;
236 bool m_documentSchemaVersionHasBeenSet = false;
237
238 Aws::String m_hubContentDisplayName;
239 bool m_hubContentDisplayNameHasBeenSet = false;
240
241 Aws::String m_hubContentDescription;
242 bool m_hubContentDescriptionHasBeenSet = false;
243
244 HubContentSupportStatus m_supportStatus;
245 bool m_supportStatusHasBeenSet = false;
246
247 Aws::Vector<Aws::String> m_hubContentSearchKeywords;
248 bool m_hubContentSearchKeywordsHasBeenSet = false;
249
250 HubContentStatus m_hubContentStatus;
251 bool m_hubContentStatusHasBeenSet = false;
252
253 Aws::Utils::DateTime m_creationTime;
254 bool m_creationTimeHasBeenSet = false;
255
256 Aws::Utils::DateTime m_originalCreationTime;
257 bool m_originalCreationTimeHasBeenSet = false;
258 };
259
260} // namespace Model
261} // namespace SageMaker
262} // namespace Aws
HubContentInfo & WithHubContentSearchKeywords(Aws::Vector< Aws::String > &&value)
HubContentInfo & WithHubContentDisplayName(Aws::String &&value)
HubContentInfo & WithSageMakerPublicHubContentArn(const char *value)
HubContentInfo & WithOriginalCreationTime(const Aws::Utils::DateTime &value)
HubContentInfo & WithHubContentName(const Aws::String &value)
HubContentInfo & WithCreationTime(const Aws::Utils::DateTime &value)
void SetHubContentDescription(Aws::String &&value)
HubContentInfo & WithHubContentArn(const Aws::String &value)
HubContentInfo & WithHubContentDescription(const char *value)
void SetOriginalCreationTime(const Aws::Utils::DateTime &value)
void SetHubContentSearchKeywords(Aws::Vector< Aws::String > &&value)
void SetSageMakerPublicHubContentArn(const char *value)
HubContentInfo & WithCreationTime(Aws::Utils::DateTime &&value)
HubContentInfo & WithHubContentVersion(const char *value)
HubContentInfo & WithHubContentDescription(const Aws::String &value)
AWS_SAGEMAKER_API HubContentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHubContentDescription(const Aws::String &value)
AWS_SAGEMAKER_API HubContentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetHubContentDescription(const char *value)
HubContentInfo & WithHubContentStatus(HubContentStatus &&value)
void SetDocumentSchemaVersion(const char *value)
HubContentInfo & WithHubContentName(const char *value)
HubContentInfo & WithDocumentSchemaVersion(const char *value)
const Aws::Utils::DateTime & GetOriginalCreationTime() const
void SetSupportStatus(HubContentSupportStatus &&value)
HubContentInfo & WithHubContentArn(Aws::String &&value)
void SetHubContentArn(Aws::String &&value)
HubContentInfo & WithHubContentVersion(const Aws::String &value)
HubContentInfo & WithSupportStatus(const HubContentSupportStatus &value)
HubContentInfo & WithHubContentDisplayName(const char *value)
void SetHubContentDisplayName(const Aws::String &value)
void SetHubContentName(const Aws::String &value)
void SetOriginalCreationTime(Aws::Utils::DateTime &&value)
void SetHubContentArn(const char *value)
HubContentInfo & WithDocumentSchemaVersion(Aws::String &&value)
void SetHubContentDisplayName(Aws::String &&value)
const Aws::String & GetHubContentDescription() const
HubContentInfo & AddHubContentSearchKeywords(const Aws::String &value)
void SetHubContentSearchKeywords(const Aws::Vector< Aws::String > &value)
const Aws::String & GetHubContentArn() const
HubContentInfo & WithSupportStatus(HubContentSupportStatus &&value)
void SetHubContentArn(const Aws::String &value)
const Aws::String & GetDocumentSchemaVersion() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetHubContentDisplayName() const
void SetCreationTime(Aws::Utils::DateTime &&value)
const HubContentSupportStatus & GetSupportStatus() const
HubContentInfo & WithHubContentType(const HubContentType &value)
void SetHubContentStatus(HubContentStatus &&value)
HubContentInfo & WithSageMakerPublicHubContentArn(Aws::String &&value)
HubContentInfo & WithHubContentSearchKeywords(const Aws::Vector< Aws::String > &value)
const HubContentStatus & GetHubContentStatus() const
HubContentInfo & WithHubContentName(Aws::String &&value)
void SetHubContentVersion(const Aws::String &value)
HubContentInfo & WithDocumentSchemaVersion(const Aws::String &value)
HubContentInfo & WithSageMakerPublicHubContentArn(const Aws::String &value)
HubContentInfo & AddHubContentSearchKeywords(Aws::String &&value)
HubContentInfo & WithHubContentVersion(Aws::String &&value)
HubContentInfo & WithHubContentDisplayName(const Aws::String &value)
HubContentInfo & AddHubContentSearchKeywords(const char *value)
void SetSageMakerPublicHubContentArn(const Aws::String &value)
HubContentInfo & WithHubContentArn(const char *value)
void SetHubContentStatus(const HubContentStatus &value)
const HubContentType & GetHubContentType() const
void SetHubContentType(HubContentType &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetSageMakerPublicHubContentArn() const
void SetDocumentSchemaVersion(Aws::String &&value)
void SetHubContentName(const char *value)
void SetHubContentVersion(Aws::String &&value)
void SetDocumentSchemaVersion(const Aws::String &value)
const Aws::String & GetHubContentVersion() const
HubContentInfo & WithHubContentStatus(const HubContentStatus &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSageMakerPublicHubContentArn(Aws::String &&value)
void SetHubContentVersion(const char *value)
void SetHubContentName(Aws::String &&value)
const Aws::String & GetHubContentName() const
void SetHubContentType(const HubContentType &value)
const Aws::Vector< Aws::String > & GetHubContentSearchKeywords() const
HubContentInfo & WithHubContentType(HubContentType &&value)
void SetHubContentDisplayName(const char *value)
void SetSupportStatus(const HubContentSupportStatus &value)
HubContentInfo & WithOriginalCreationTime(Aws::Utils::DateTime &&value)
HubContentInfo & WithHubContentDescription(Aws::String &&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