AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
38
39
41
44 inline const Aws::String& GetArtifactName() const { return m_artifactName; }
45 template<typename ArtifactNameT = Aws::String>
46 void SetArtifactName(ArtifactNameT&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::forward<ArtifactNameT>(value); }
47 template<typename ArtifactNameT = Aws::String>
48 DescribeArtifactResult& WithArtifactName(ArtifactNameT&& value) { SetArtifactName(std::forward<ArtifactNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetArtifactArn() const { return m_artifactArn; }
56 template<typename ArtifactArnT = Aws::String>
57 void SetArtifactArn(ArtifactArnT&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::forward<ArtifactArnT>(value); }
58 template<typename ArtifactArnT = Aws::String>
59 DescribeArtifactResult& WithArtifactArn(ArtifactArnT&& value) { SetArtifactArn(std::forward<ArtifactArnT>(value)); return *this;}
61
63
66 inline const ArtifactSource& GetSource() const { return m_source; }
67 template<typename SourceT = ArtifactSource>
68 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
69 template<typename SourceT = ArtifactSource>
70 DescribeArtifactResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
72
74
77 inline const Aws::String& GetArtifactType() const { return m_artifactType; }
78 template<typename ArtifactTypeT = Aws::String>
79 void SetArtifactType(ArtifactTypeT&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::forward<ArtifactTypeT>(value); }
80 template<typename ArtifactTypeT = Aws::String>
81 DescribeArtifactResult& WithArtifactType(ArtifactTypeT&& value) { SetArtifactType(std::forward<ArtifactTypeT>(value)); return *this;}
83
85
88 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
89 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
90 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
91 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
92 DescribeArtifactResult& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
93 template<typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
94 DescribeArtifactResult& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
95 m_propertiesHasBeenSet = true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value)); return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
104 template<typename CreationTimeT = Aws::Utils::DateTime>
105 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
106 template<typename CreationTimeT = Aws::Utils::DateTime>
107 DescribeArtifactResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
109
111
112 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
113 template<typename CreatedByT = UserContext>
114 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
115 template<typename CreatedByT = UserContext>
116 DescribeArtifactResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
124 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
125 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
126 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
127 DescribeArtifactResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
129
131
132 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
133 template<typename LastModifiedByT = UserContext>
134 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
135 template<typename LastModifiedByT = UserContext>
136 DescribeArtifactResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
138
140
141 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
142 template<typename MetadataPropertiesT = MetadataProperties>
143 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
144 template<typename MetadataPropertiesT = MetadataProperties>
145 DescribeArtifactResult& WithMetadataProperties(MetadataPropertiesT&& value) { SetMetadataProperties(std::forward<MetadataPropertiesT>(value)); return *this;}
147
149
152 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
153 template<typename LineageGroupArnT = Aws::String>
154 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
155 template<typename LineageGroupArnT = Aws::String>
156 DescribeArtifactResult& WithLineageGroupArn(LineageGroupArnT&& value) { SetLineageGroupArn(std::forward<LineageGroupArnT>(value)); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template<typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
164 template<typename RequestIdT = Aws::String>
165 DescribeArtifactResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
167 private:
168
169 Aws::String m_artifactName;
170 bool m_artifactNameHasBeenSet = false;
171
172 Aws::String m_artifactArn;
173 bool m_artifactArnHasBeenSet = false;
174
175 ArtifactSource m_source;
176 bool m_sourceHasBeenSet = false;
177
178 Aws::String m_artifactType;
179 bool m_artifactTypeHasBeenSet = false;
180
182 bool m_propertiesHasBeenSet = false;
183
184 Aws::Utils::DateTime m_creationTime{};
185 bool m_creationTimeHasBeenSet = false;
186
187 UserContext m_createdBy;
188 bool m_createdByHasBeenSet = false;
189
190 Aws::Utils::DateTime m_lastModifiedTime{};
191 bool m_lastModifiedTimeHasBeenSet = false;
192
193 UserContext m_lastModifiedBy;
194 bool m_lastModifiedByHasBeenSet = false;
195
196 MetadataProperties m_metadataProperties;
197 bool m_metadataPropertiesHasBeenSet = false;
198
199 Aws::String m_lineageGroupArn;
200 bool m_lineageGroupArnHasBeenSet = false;
201
202 Aws::String m_requestId;
203 bool m_requestIdHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace SageMaker
208} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
AWS_SAGEMAKER_API DescribeArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeArtifactResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeArtifactResult & WithMetadataProperties(MetadataPropertiesT &&value)
DescribeArtifactResult & WithCreatedBy(CreatedByT &&value)
DescribeArtifactResult & WithLineageGroupArn(LineageGroupArnT &&value)
DescribeArtifactResult & WithArtifactArn(ArtifactArnT &&value)
DescribeArtifactResult & WithArtifactType(ArtifactTypeT &&value)
DescribeArtifactResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeArtifactResult()=default
DescribeArtifactResult & WithArtifactName(ArtifactNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeArtifactResult & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeArtifactResult & WithSource(SourceT &&value)
AWS_SAGEMAKER_API DescribeArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeArtifactResult & WithProperties(PropertiesT &&value)
DescribeArtifactResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeArtifactResult & WithCreationTime(CreationTimeT &&value)
const MetadataProperties & GetMetadataProperties() const
void SetMetadataProperties(MetadataPropertiesT &&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