AWS SDK for C++  1.9.159
AWS SDK for C++
ArtifactSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; }
48 
52  inline bool ArtifactArnHasBeenSet() const { return m_artifactArnHasBeenSet; }
53 
57  inline void SetArtifactArn(const Aws::String& value) { m_artifactArnHasBeenSet = true; m_artifactArn = value; }
58 
62  inline void SetArtifactArn(Aws::String&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::move(value); }
63 
67  inline void SetArtifactArn(const char* value) { m_artifactArnHasBeenSet = true; m_artifactArn.assign(value); }
68 
72  inline ArtifactSummary& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
73 
77  inline ArtifactSummary& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
78 
82  inline ArtifactSummary& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
89 
93  inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
94 
98  inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; }
99 
103  inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); }
104 
108  inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); }
109 
113  inline ArtifactSummary& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
114 
118  inline ArtifactSummary& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
119 
123  inline ArtifactSummary& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
124 
125 
129  inline const ArtifactSource& GetSource() const{ return m_source; }
130 
134  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
135 
139  inline void SetSource(const ArtifactSource& value) { m_sourceHasBeenSet = true; m_source = value; }
140 
144  inline void SetSource(ArtifactSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
145 
149  inline ArtifactSummary& WithSource(const ArtifactSource& value) { SetSource(value); return *this;}
150 
154  inline ArtifactSummary& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
161 
165  inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
166 
170  inline void SetArtifactType(const Aws::String& value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; }
171 
175  inline void SetArtifactType(Aws::String&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::move(value); }
176 
180  inline void SetArtifactType(const char* value) { m_artifactTypeHasBeenSet = true; m_artifactType.assign(value); }
181 
185  inline ArtifactSummary& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
186 
190  inline ArtifactSummary& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
191 
195  inline ArtifactSummary& WithArtifactType(const char* value) { SetArtifactType(value); return *this;}
196 
197 
201  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
202 
206  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
207 
211  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
212 
216  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
217 
221  inline ArtifactSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
222 
226  inline ArtifactSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
227 
228 
232  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
233 
237  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
238 
242  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
243 
247  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
248 
252  inline ArtifactSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
253 
257  inline ArtifactSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
258 
259  private:
260 
261  Aws::String m_artifactArn;
262  bool m_artifactArnHasBeenSet;
263 
264  Aws::String m_artifactName;
265  bool m_artifactNameHasBeenSet;
266 
267  ArtifactSource m_source;
268  bool m_sourceHasBeenSet;
269 
270  Aws::String m_artifactType;
271  bool m_artifactTypeHasBeenSet;
272 
273  Aws::Utils::DateTime m_creationTime;
274  bool m_creationTimeHasBeenSet;
275 
276  Aws::Utils::DateTime m_lastModifiedTime;
277  bool m_lastModifiedTimeHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace SageMaker
282 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ArtifactSummary::GetSource
const ArtifactSource & GetSource() const
Definition: ArtifactSummary.h:129
Aws::SageMaker::Model::ArtifactSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ArtifactSummary.h:247
Aws::SageMaker::Model::ArtifactSummary::WithArtifactArn
ArtifactSummary & WithArtifactArn(const Aws::String &value)
Definition: ArtifactSummary.h:72
Aws::SageMaker::Model::ArtifactSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ArtifactSummary.h:206
Aws::SageMaker::Model::ArtifactSummary::ArtifactSummary
ArtifactSummary()
DateTime.h
Aws::SageMaker::Model::ArtifactSummary::WithLastModifiedTime
ArtifactSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ArtifactSummary.h:252
Aws::SageMaker::Model::ArtifactSummary::operator=
ArtifactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ArtifactSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ArtifactSummary::WithCreationTime
ArtifactSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ArtifactSummary.h:226
Aws::SageMaker::Model::ArtifactSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: ArtifactSummary.h:237
Aws::SageMaker::Model::ArtifactSummary::WithArtifactType
ArtifactSummary & WithArtifactType(const Aws::String &value)
Definition: ArtifactSummary.h:185
Aws::SageMaker::Model::ArtifactSummary::GetArtifactName
const Aws::String & GetArtifactName() const
Definition: ArtifactSummary.h:88
ArtifactSource.h
Aws::SageMaker::Model::ArtifactSummary::GetArtifactArn
const Aws::String & GetArtifactArn() const
Definition: ArtifactSummary.h:47
Aws::SageMaker::Model::ArtifactSummary::ArtifactTypeHasBeenSet
bool ArtifactTypeHasBeenSet() const
Definition: ArtifactSummary.h:165
Aws::SageMaker::Model::ArtifactSummary::SetArtifactArn
void SetArtifactArn(const char *value)
Definition: ArtifactSummary.h:67
Aws::SageMaker::Model::ArtifactSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ArtifactSummary.h:242
Aws::SageMaker::Model::ArtifactSummary::SetArtifactType
void SetArtifactType(const Aws::String &value)
Definition: ArtifactSummary.h:170
Aws::SageMaker::Model::ArtifactSummary::WithArtifactName
ArtifactSummary & WithArtifactName(const char *value)
Definition: ArtifactSummary.h:123
Aws::SageMaker::Model::ArtifactSummary::SetArtifactArn
void SetArtifactArn(const Aws::String &value)
Definition: ArtifactSummary.h:57
Aws::SageMaker::Model::ArtifactSummary::ArtifactSummary
ArtifactSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ArtifactSummary::WithCreationTime
ArtifactSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ArtifactSummary.h:221
Aws::SageMaker::Model::ArtifactSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: ArtifactSummary.h:232
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ArtifactSummary::WithArtifactType
ArtifactSummary & WithArtifactType(const char *value)
Definition: ArtifactSummary.h:195
Aws::SageMaker::Model::ArtifactSummary::SetArtifactName
void SetArtifactName(const Aws::String &value)
Definition: ArtifactSummary.h:98
Aws::SageMaker::Model::ArtifactSummary::SetArtifactName
void SetArtifactName(const char *value)
Definition: ArtifactSummary.h:108
Aws::SageMaker::Model::ArtifactSummary::SetArtifactName
void SetArtifactName(Aws::String &&value)
Definition: ArtifactSummary.h:103
Aws::SageMaker::Model::ArtifactSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ArtifactSummary.h:211
Aws::SageMaker::Model::ArtifactSource
Definition: ArtifactSource.h:35
Aws::SageMaker::Model::ArtifactSummary::ArtifactArnHasBeenSet
bool ArtifactArnHasBeenSet() const
Definition: ArtifactSummary.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::ArtifactSummary::SetArtifactType
void SetArtifactType(Aws::String &&value)
Definition: ArtifactSummary.h:175
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ArtifactSummary::SetSource
void SetSource(const ArtifactSource &value)
Definition: ArtifactSummary.h:139
Aws::SageMaker::Model::ArtifactSummary::ArtifactNameHasBeenSet
bool ArtifactNameHasBeenSet() const
Definition: ArtifactSummary.h:93
Aws::SageMaker::Model::ArtifactSummary::SetArtifactArn
void SetArtifactArn(Aws::String &&value)
Definition: ArtifactSummary.h:62
Aws::SageMaker::Model::ArtifactSummary::WithArtifactType
ArtifactSummary & WithArtifactType(Aws::String &&value)
Definition: ArtifactSummary.h:190
Aws::SageMaker::Model::ArtifactSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ArtifactSummary.h:216
Aws::SageMaker::Model::ArtifactSummary::GetArtifactType
const Aws::String & GetArtifactType() const
Definition: ArtifactSummary.h:160
Aws::SageMaker::Model::ArtifactSummary::WithArtifactName
ArtifactSummary & WithArtifactName(const Aws::String &value)
Definition: ArtifactSummary.h:113
Aws::SageMaker::Model::ArtifactSummary::WithLastModifiedTime
ArtifactSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ArtifactSummary.h:257
Aws::SageMaker::Model::ArtifactSummary::WithSource
ArtifactSummary & WithSource(const ArtifactSource &value)
Definition: ArtifactSummary.h:149
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ArtifactSummary::WithArtifactArn
ArtifactSummary & WithArtifactArn(const char *value)
Definition: ArtifactSummary.h:82
Aws::SageMaker::Model::ArtifactSummary::WithArtifactArn
ArtifactSummary & WithArtifactArn(Aws::String &&value)
Definition: ArtifactSummary.h:77
Aws::SageMaker::Model::ArtifactSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ArtifactSummary.h:201
Aws::SageMaker::Model::ArtifactSummary::WithSource
ArtifactSummary & WithSource(ArtifactSource &&value)
Definition: ArtifactSummary.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ArtifactSummary::WithArtifactName
ArtifactSummary & WithArtifactName(Aws::String &&value)
Definition: ArtifactSummary.h:118
Aws::SageMaker::Model::ArtifactSummary::SetSource
void SetSource(ArtifactSource &&value)
Definition: ArtifactSummary.h:144
Aws::SageMaker::Model::ArtifactSummary::SetArtifactType
void SetArtifactType(const char *value)
Definition: ArtifactSummary.h:180
Aws::SageMaker::Model::ArtifactSummary
Definition: ArtifactSummary.h:36
Aws::SageMaker::Model::ArtifactSummary::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: ArtifactSummary.h:134