AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeArtifactResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace SageMaker
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
44 
48  inline void SetArtifactName(const Aws::String& value) { m_artifactName = value; }
49 
53  inline void SetArtifactName(Aws::String&& value) { m_artifactName = std::move(value); }
54 
58  inline void SetArtifactName(const char* value) { m_artifactName.assign(value); }
59 
63  inline DescribeArtifactResult& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
64 
68  inline DescribeArtifactResult& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
69 
73  inline DescribeArtifactResult& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
74 
75 
79  inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; }
80 
84  inline void SetArtifactArn(const Aws::String& value) { m_artifactArn = value; }
85 
89  inline void SetArtifactArn(Aws::String&& value) { m_artifactArn = std::move(value); }
90 
94  inline void SetArtifactArn(const char* value) { m_artifactArn.assign(value); }
95 
99  inline DescribeArtifactResult& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
100 
104  inline DescribeArtifactResult& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
105 
109  inline DescribeArtifactResult& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
110 
111 
115  inline const ArtifactSource& GetSource() const{ return m_source; }
116 
120  inline void SetSource(const ArtifactSource& value) { m_source = value; }
121 
125  inline void SetSource(ArtifactSource&& value) { m_source = std::move(value); }
126 
130  inline DescribeArtifactResult& WithSource(const ArtifactSource& value) { SetSource(value); return *this;}
131 
135  inline DescribeArtifactResult& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;}
136 
137 
141  inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
142 
146  inline void SetArtifactType(const Aws::String& value) { m_artifactType = value; }
147 
151  inline void SetArtifactType(Aws::String&& value) { m_artifactType = std::move(value); }
152 
156  inline void SetArtifactType(const char* value) { m_artifactType.assign(value); }
157 
161  inline DescribeArtifactResult& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
162 
166  inline DescribeArtifactResult& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
167 
171  inline DescribeArtifactResult& WithArtifactType(const char* value) { SetArtifactType(value); return *this;}
172 
173 
177  inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
178 
182  inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_properties = value; }
183 
187  inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_properties = std::move(value); }
188 
192  inline DescribeArtifactResult& WithProperties(const Aws::Map<Aws::String, Aws::String>& value) { SetProperties(value); return *this;}
193 
197  inline DescribeArtifactResult& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
198 
202  inline DescribeArtifactResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; }
203 
207  inline DescribeArtifactResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; }
208 
212  inline DescribeArtifactResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
213 
217  inline DescribeArtifactResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; }
218 
222  inline DescribeArtifactResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
223 
227  inline DescribeArtifactResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; }
228 
232  inline DescribeArtifactResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; }
233 
234 
238  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
239 
243  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
244 
248  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
249 
253  inline DescribeArtifactResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
254 
258  inline DescribeArtifactResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
259 
260 
261 
262  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
263 
264 
265  inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
266 
267 
268  inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
269 
270 
271  inline DescribeArtifactResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
272 
273 
274  inline DescribeArtifactResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
275 
276 
280  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
281 
285  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
286 
290  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
291 
295  inline DescribeArtifactResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
296 
300  inline DescribeArtifactResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
301 
302 
303 
304  inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
305 
306 
307  inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
308 
309 
310  inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
311 
312 
313  inline DescribeArtifactResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
314 
315 
316  inline DescribeArtifactResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
317 
318 
319 
320  inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
321 
322 
323  inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
324 
325 
326  inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
327 
328 
329  inline DescribeArtifactResult& WithMetadataProperties(const MetadataProperties& value) { SetMetadataProperties(value); return *this;}
330 
331 
332  inline DescribeArtifactResult& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
333 
334  private:
335 
336  Aws::String m_artifactName;
337 
338  Aws::String m_artifactArn;
339 
340  ArtifactSource m_source;
341 
342  Aws::String m_artifactType;
343 
345 
346  Aws::Utils::DateTime m_creationTime;
347 
348  UserContext m_createdBy;
349 
350  Aws::Utils::DateTime m_lastModifiedTime;
351 
352  UserContext m_lastModifiedBy;
353 
354  MetadataProperties m_metadataProperties;
355  };
356 
357 } // namespace Model
358 } // namespace SageMaker
359 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeArtifactResult::WithMetadataProperties
DescribeArtifactResult & WithMetadataProperties(MetadataProperties &&value)
Definition: DescribeArtifactResult.h:332
Aws::SageMaker::Model::DescribeArtifactResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeArtifactResult.h:238
Aws::SageMaker::Model::DescribeArtifactResult::WithProperties
DescribeArtifactResult & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeArtifactResult.h:192
Aws::SageMaker::Model::DescribeArtifactResult::GetArtifactName
const Aws::String & GetArtifactName() const
Definition: DescribeArtifactResult.h:43
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactName
void SetArtifactName(Aws::String &&value)
Definition: DescribeArtifactResult.h:53
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeArtifactResult::WithSource
DescribeArtifactResult & WithSource(const ArtifactSource &value)
Definition: DescribeArtifactResult.h:130
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeArtifactResult::WithCreationTime
DescribeArtifactResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeArtifactResult.h:253
Aws::SageMaker::Model::DescribeArtifactResult::WithLastModifiedTime
DescribeArtifactResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeArtifactResult.h:300
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeArtifactResult::GetSource
const ArtifactSource & GetSource() const
Definition: DescribeArtifactResult.h:115
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(Aws::String &&key, Aws::String &&value)
Definition: DescribeArtifactResult.h:217
Aws::SageMaker::Model::DescribeArtifactResult::WithCreatedBy
DescribeArtifactResult & WithCreatedBy(const UserContext &value)
Definition: DescribeArtifactResult.h:271
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactType
void SetArtifactType(const char *value)
Definition: DescribeArtifactResult.h:156
Aws::SageMaker::Model::DescribeArtifactResult::WithSource
DescribeArtifactResult & WithSource(ArtifactSource &&value)
Definition: DescribeArtifactResult.h:135
Aws::SageMaker::Model::DescribeArtifactResult::SetMetadataProperties
void SetMetadataProperties(MetadataProperties &&value)
Definition: DescribeArtifactResult.h:326
DateTime.h
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactArn
void SetArtifactArn(const Aws::String &value)
Definition: DescribeArtifactResult.h:84
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactName
DescribeArtifactResult & WithArtifactName(const Aws::String &value)
Definition: DescribeArtifactResult.h:63
Aws::SageMaker::Model::DescribeArtifactResult::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: DescribeArtifactResult.h:268
Aws::SageMaker::Model::DescribeArtifactResult::operator=
DescribeArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ArtifactSource.h
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactArn
DescribeArtifactResult & WithArtifactArn(Aws::String &&value)
Definition: DescribeArtifactResult.h:104
Aws::SageMaker::Model::DescribeArtifactResult::WithLastModifiedTime
DescribeArtifactResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeArtifactResult.h:295
Aws::SageMaker::Model::DescribeArtifactResult::WithCreatedBy
DescribeArtifactResult & WithCreatedBy(UserContext &&value)
Definition: DescribeArtifactResult.h:274
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactName
void SetArtifactName(const char *value)
Definition: DescribeArtifactResult.h:58
Aws::SageMaker::Model::DescribeArtifactResult::GetArtifactType
const Aws::String & GetArtifactType() const
Definition: DescribeArtifactResult.h:141
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactName
DescribeArtifactResult & WithArtifactName(Aws::String &&value)
Definition: DescribeArtifactResult.h:68
Aws::SageMaker::Model::DescribeArtifactResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeArtifactResult.h:280
Aws::SageMaker::Model::DescribeArtifactResult::GetLastModifiedBy
const UserContext & GetLastModifiedBy() const
Definition: DescribeArtifactResult.h:304
UserContext.h
Aws::SageMaker::Model::DescribeArtifactResult
Definition: DescribeArtifactResult.h:33
Aws::SageMaker::Model::DescribeArtifactResult::DescribeArtifactResult
DescribeArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactArn
DescribeArtifactResult & WithArtifactArn(const char *value)
Definition: DescribeArtifactResult.h:109
Aws::SageMaker::Model::DescribeArtifactResult::SetProperties
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeArtifactResult.h:187
Aws::SageMaker::Model::DescribeArtifactResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeArtifactResult.h:285
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactType
void SetArtifactType(const Aws::String &value)
Definition: DescribeArtifactResult.h:146
Aws::SageMaker::Model::DescribeArtifactResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeArtifactResult.h:290
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeArtifactResult::WithLastModifiedBy
DescribeArtifactResult & WithLastModifiedBy(const UserContext &value)
Definition: DescribeArtifactResult.h:313
Aws::SageMaker::Model::DescribeArtifactResult::GetMetadataProperties
const MetadataProperties & GetMetadataProperties() const
Definition: DescribeArtifactResult.h:320
Aws::SageMaker::Model::DescribeArtifactResult::WithLastModifiedBy
DescribeArtifactResult & WithLastModifiedBy(UserContext &&value)
Definition: DescribeArtifactResult.h:316
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(const char *key, Aws::String &&value)
Definition: DescribeArtifactResult.h:222
Aws::SageMaker::Model::DescribeArtifactResult::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: DescribeArtifactResult.h:262
Aws::SageMaker::Model::DescribeArtifactResult::SetMetadataProperties
void SetMetadataProperties(const MetadataProperties &value)
Definition: DescribeArtifactResult.h:323
Aws::SageMaker::Model::MetadataProperties
Definition: MetadataProperties.h:33
Aws::SageMaker::Model::DescribeArtifactResult::GetProperties
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Definition: DescribeArtifactResult.h:177
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactType
DescribeArtifactResult & WithArtifactType(const char *value)
Definition: DescribeArtifactResult.h:171
Aws::SageMaker::Model::ArtifactSource
Definition: ArtifactSource.h:35
AWSString.h
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactType
DescribeArtifactResult & WithArtifactType(const Aws::String &value)
Definition: DescribeArtifactResult.h:161
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(const char *key, const char *value)
Definition: DescribeArtifactResult.h:232
Aws::SageMaker::Model::DescribeArtifactResult::SetLastModifiedBy
void SetLastModifiedBy(UserContext &&value)
Definition: DescribeArtifactResult.h:310
Aws::SageMaker::Model::DescribeArtifactResult::WithCreationTime
DescribeArtifactResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeArtifactResult.h:258
Aws::SageMaker::Model::DescribeArtifactResult::SetSource
void SetSource(const ArtifactSource &value)
Definition: DescribeArtifactResult.h:120
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactArn
void SetArtifactArn(Aws::String &&value)
Definition: DescribeArtifactResult.h:89
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactArn
DescribeArtifactResult & WithArtifactArn(const Aws::String &value)
Definition: DescribeArtifactResult.h:99
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(Aws::String &&key, const Aws::String &value)
Definition: DescribeArtifactResult.h:207
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactName
DescribeArtifactResult & WithArtifactName(const char *value)
Definition: DescribeArtifactResult.h:73
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactArn
void SetArtifactArn(const char *value)
Definition: DescribeArtifactResult.h:94
Aws::SageMaker::Model::DescribeArtifactResult::SetLastModifiedBy
void SetLastModifiedBy(const UserContext &value)
Definition: DescribeArtifactResult.h:307
Aws::SageMaker::Model::DescribeArtifactResult::DescribeArtifactResult
DescribeArtifactResult()
Aws::SageMaker::Model::DescribeArtifactResult::SetProperties
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeArtifactResult.h:182
Aws::SageMaker::Model::DescribeArtifactResult::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: DescribeArtifactResult.h:265
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(Aws::String &&key, const char *value)
Definition: DescribeArtifactResult.h:227
MetadataProperties.h
Aws::SageMaker::Model::DescribeArtifactResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeArtifactResult.h:243
Aws::SageMaker::Model::DescribeArtifactResult::WithArtifactType
DescribeArtifactResult & WithArtifactType(Aws::String &&value)
Definition: DescribeArtifactResult.h:166
Aws::SageMaker::Model::DescribeArtifactResult::SetSource
void SetSource(ArtifactSource &&value)
Definition: DescribeArtifactResult.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeArtifactResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeArtifactResult.h:248
Aws::SageMaker::Model::DescribeArtifactResult::WithMetadataProperties
DescribeArtifactResult & WithMetadataProperties(const MetadataProperties &value)
Definition: DescribeArtifactResult.h:329
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactType
void SetArtifactType(Aws::String &&value)
Definition: DescribeArtifactResult.h:151
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(const Aws::String &key, const Aws::String &value)
Definition: DescribeArtifactResult.h:202
AWSMap.h
Aws::SageMaker::Model::DescribeArtifactResult::SetArtifactName
void SetArtifactName(const Aws::String &value)
Definition: DescribeArtifactResult.h:48
Aws::SageMaker::Model::DescribeArtifactResult::GetArtifactArn
const Aws::String & GetArtifactArn() const
Definition: DescribeArtifactResult.h:79
Aws::SageMaker::Model::DescribeArtifactResult::WithProperties
DescribeArtifactResult & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeArtifactResult.h:197
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::DescribeArtifactResult::AddProperties
DescribeArtifactResult & AddProperties(const Aws::String &key, Aws::String &&value)
Definition: DescribeArtifactResult.h:212