AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeArtifactResult.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/ArtifactSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <aws/sagemaker/model/MetadataProperties.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeArtifactResult();
38
39
41
44 inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
45 inline void SetArtifactName(const Aws::String& value) { m_artifactName = value; }
46 inline void SetArtifactName(Aws::String&& value) { m_artifactName = std::move(value); }
47 inline void SetArtifactName(const char* value) { m_artifactName.assign(value); }
48 inline DescribeArtifactResult& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
49 inline DescribeArtifactResult& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
50 inline DescribeArtifactResult& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
52
54
57 inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; }
58 inline void SetArtifactArn(const Aws::String& value) { m_artifactArn = value; }
59 inline void SetArtifactArn(Aws::String&& value) { m_artifactArn = std::move(value); }
60 inline void SetArtifactArn(const char* value) { m_artifactArn.assign(value); }
61 inline DescribeArtifactResult& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
62 inline DescribeArtifactResult& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
63 inline DescribeArtifactResult& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
65
67
70 inline const ArtifactSource& GetSource() const{ return m_source; }
71 inline void SetSource(const ArtifactSource& value) { m_source = value; }
72 inline void SetSource(ArtifactSource&& value) { m_source = std::move(value); }
73 inline DescribeArtifactResult& WithSource(const ArtifactSource& value) { SetSource(value); return *this;}
74 inline DescribeArtifactResult& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
82 inline void SetArtifactType(const Aws::String& value) { m_artifactType = value; }
83 inline void SetArtifactType(Aws::String&& value) { m_artifactType = std::move(value); }
84 inline void SetArtifactType(const char* value) { m_artifactType.assign(value); }
85 inline DescribeArtifactResult& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
86 inline DescribeArtifactResult& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
87 inline DescribeArtifactResult& WithArtifactType(const char* value) { SetArtifactType(value); return *this;}
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
95 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_properties = value; }
96 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_properties = std::move(value); }
99 inline DescribeArtifactResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; }
100 inline DescribeArtifactResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; }
101 inline DescribeArtifactResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
102 inline DescribeArtifactResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; }
103 inline DescribeArtifactResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
104 inline DescribeArtifactResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; }
105 inline DescribeArtifactResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; }
107
109
112 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
113 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
114 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
116 inline DescribeArtifactResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
118
120
121 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
122 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
123 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
124 inline DescribeArtifactResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
125 inline DescribeArtifactResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
133 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
134 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
136 inline DescribeArtifactResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
138
140
141 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
142 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
143 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
144 inline DescribeArtifactResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
145 inline DescribeArtifactResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
147
149
150 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
151 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
152 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
156
158
161 inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; }
162 inline void SetLineageGroupArn(const Aws::String& value) { m_lineageGroupArn = value; }
163 inline void SetLineageGroupArn(Aws::String&& value) { m_lineageGroupArn = std::move(value); }
164 inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); }
165 inline DescribeArtifactResult& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;}
166 inline DescribeArtifactResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;}
167 inline DescribeArtifactResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;}
169
171
172 inline const Aws::String& GetRequestId() const{ return m_requestId; }
173 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
174 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
175 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
176 inline DescribeArtifactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
177 inline DescribeArtifactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
178 inline DescribeArtifactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
180 private:
181
182 Aws::String m_artifactName;
183
184 Aws::String m_artifactArn;
185
186 ArtifactSource m_source;
187
188 Aws::String m_artifactType;
189
191
192 Aws::Utils::DateTime m_creationTime;
193
194 UserContext m_createdBy;
195
196 Aws::Utils::DateTime m_lastModifiedTime;
197
198 UserContext m_lastModifiedBy;
199
200 MetadataProperties m_metadataProperties;
201
202 Aws::String m_lineageGroupArn;
203
204 Aws::String m_requestId;
205 };
206
207} // namespace Model
208} // namespace SageMaker
209} // namespace Aws
void SetMetadataProperties(MetadataProperties &&value)
DescribeArtifactResult & AddProperties(const char *key, const char *value)
DescribeArtifactResult & WithSource(const ArtifactSource &value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
DescribeArtifactResult & AddProperties(const Aws::String &key, const Aws::String &value)
DescribeArtifactResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetMetadataProperties(const MetadataProperties &value)
DescribeArtifactResult & AddProperties(Aws::String &&key, const char *value)
DescribeArtifactResult & WithArtifactType(const char *value)
DescribeArtifactResult & WithLastModifiedBy(UserContext &&value)
DescribeArtifactResult & WithCreatedBy(UserContext &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API DescribeArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeArtifactResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeArtifactResult & WithArtifactName(const char *value)
DescribeArtifactResult & WithLastModifiedBy(const UserContext &value)
DescribeArtifactResult & WithSource(ArtifactSource &&value)
DescribeArtifactResult & WithRequestId(Aws::String &&value)
DescribeArtifactResult & WithArtifactType(const Aws::String &value)
DescribeArtifactResult & WithArtifactName(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeArtifactResult & WithArtifactArn(Aws::String &&value)
DescribeArtifactResult & WithLineageGroupArn(Aws::String &&value)
DescribeArtifactResult & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
DescribeArtifactResult & AddProperties(const Aws::String &key, Aws::String &&value)
DescribeArtifactResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeArtifactResult & AddProperties(const char *key, Aws::String &&value)
DescribeArtifactResult & WithLineageGroupArn(const char *value)
DescribeArtifactResult & WithArtifactType(Aws::String &&value)
DescribeArtifactResult & WithMetadataProperties(MetadataProperties &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeArtifactResult & WithArtifactArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
DescribeArtifactResult & WithLineageGroupArn(const Aws::String &value)
DescribeArtifactResult & WithCreatedBy(const UserContext &value)
DescribeArtifactResult & WithArtifactName(const Aws::String &value)
DescribeArtifactResult & AddProperties(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeArtifactResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeArtifactResult & WithArtifactArn(const char *value)
DescribeArtifactResult & WithRequestId(const Aws::String &value)
DescribeArtifactResult & WithRequestId(const char *value)
AWS_SAGEMAKER_API DescribeArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const MetadataProperties & GetMetadataProperties() const
DescribeArtifactResult & AddProperties(Aws::String &&key, Aws::String &&value)
DescribeArtifactResult & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
DescribeArtifactResult & WithMetadataProperties(const MetadataProperties &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue