AWS SDK for C++  1.9.160
AWS SDK for C++
ModelPackageSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; }
48 
52  inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
53 
57  inline void SetModelPackageName(const Aws::String& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = value; }
58 
62  inline void SetModelPackageName(Aws::String&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::move(value); }
63 
67  inline void SetModelPackageName(const char* value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName.assign(value); }
68 
72  inline ModelPackageSummary& WithModelPackageName(const Aws::String& value) { SetModelPackageName(value); return *this;}
73 
77  inline ModelPackageSummary& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;}
78 
82  inline ModelPackageSummary& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;}
83 
84 
89  inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; }
90 
95  inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
96 
101  inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
102 
107  inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
108 
113  inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
114 
119  inline ModelPackageSummary& WithModelPackageGroupName(const Aws::String& value) { SetModelPackageGroupName(value); return *this;}
120 
125  inline ModelPackageSummary& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;}
126 
131  inline ModelPackageSummary& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
132 
133 
137  inline int GetModelPackageVersion() const{ return m_modelPackageVersion; }
138 
142  inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
143 
147  inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; }
148 
152  inline ModelPackageSummary& WithModelPackageVersion(int value) { SetModelPackageVersion(value); return *this;}
153 
154 
158  inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; }
159 
163  inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
164 
168  inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = value; }
169 
173  inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::move(value); }
174 
178  inline void SetModelPackageArn(const char* value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn.assign(value); }
179 
183  inline ModelPackageSummary& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;}
184 
188  inline ModelPackageSummary& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;}
189 
193  inline ModelPackageSummary& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;}
194 
195 
199  inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; }
200 
204  inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
205 
209  inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = value; }
210 
214  inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::move(value); }
215 
219  inline void SetModelPackageDescription(const char* value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription.assign(value); }
220 
224  inline ModelPackageSummary& WithModelPackageDescription(const Aws::String& value) { SetModelPackageDescription(value); return *this;}
225 
229  inline ModelPackageSummary& WithModelPackageDescription(Aws::String&& value) { SetModelPackageDescription(std::move(value)); return *this;}
230 
234  inline ModelPackageSummary& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;}
235 
236 
240  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
241 
245  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
246 
250  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
251 
255  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
256 
260  inline ModelPackageSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
261 
265  inline ModelPackageSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
266 
267 
271  inline const ModelPackageStatus& GetModelPackageStatus() const{ return m_modelPackageStatus; }
272 
276  inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
277 
281  inline void SetModelPackageStatus(const ModelPackageStatus& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; }
282 
286  inline void SetModelPackageStatus(ModelPackageStatus&& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = std::move(value); }
287 
291  inline ModelPackageSummary& WithModelPackageStatus(const ModelPackageStatus& value) { SetModelPackageStatus(value); return *this;}
292 
296  inline ModelPackageSummary& WithModelPackageStatus(ModelPackageStatus&& value) { SetModelPackageStatus(std::move(value)); return *this;}
297 
298 
306  inline const ModelApprovalStatus& GetModelApprovalStatus() const{ return m_modelApprovalStatus; }
307 
315  inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
316 
324  inline void SetModelApprovalStatus(const ModelApprovalStatus& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
325 
333  inline void SetModelApprovalStatus(ModelApprovalStatus&& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = std::move(value); }
334 
342  inline ModelPackageSummary& WithModelApprovalStatus(const ModelApprovalStatus& value) { SetModelApprovalStatus(value); return *this;}
343 
351  inline ModelPackageSummary& WithModelApprovalStatus(ModelApprovalStatus&& value) { SetModelApprovalStatus(std::move(value)); return *this;}
352 
353  private:
354 
355  Aws::String m_modelPackageName;
356  bool m_modelPackageNameHasBeenSet;
357 
358  Aws::String m_modelPackageGroupName;
359  bool m_modelPackageGroupNameHasBeenSet;
360 
361  int m_modelPackageVersion;
362  bool m_modelPackageVersionHasBeenSet;
363 
364  Aws::String m_modelPackageArn;
365  bool m_modelPackageArnHasBeenSet;
366 
367  Aws::String m_modelPackageDescription;
368  bool m_modelPackageDescriptionHasBeenSet;
369 
370  Aws::Utils::DateTime m_creationTime;
371  bool m_creationTimeHasBeenSet;
372 
373  ModelPackageStatus m_modelPackageStatus;
374  bool m_modelPackageStatusHasBeenSet;
375 
376  ModelApprovalStatus m_modelApprovalStatus;
377  bool m_modelApprovalStatusHasBeenSet;
378  };
379 
380 } // namespace Model
381 } // namespace SageMaker
382 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageDescription
void SetModelPackageDescription(const char *value)
Definition: ModelPackageSummary.h:219
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageGroupName
ModelPackageSummary & WithModelPackageGroupName(Aws::String &&value)
Definition: ModelPackageSummary.h:125
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageArn
void SetModelPackageArn(const Aws::String &value)
Definition: ModelPackageSummary.h:168
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageDescription
void SetModelPackageDescription(const Aws::String &value)
Definition: ModelPackageSummary.h:209
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageDescription
void SetModelPackageDescription(Aws::String &&value)
Definition: ModelPackageSummary.h:214
Aws::SageMaker::Model::ModelPackageSummary::operator=
ModelPackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelPackageSummary::ModelApprovalStatusHasBeenSet
bool ModelApprovalStatusHasBeenSet() const
Definition: ModelPackageSummary.h:315
Aws::SageMaker::Model::ModelApprovalStatus
ModelApprovalStatus
Definition: ModelApprovalStatus.h:17
DateTime.h
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageStatus
void SetModelPackageStatus(ModelPackageStatus &&value)
Definition: ModelPackageSummary.h:286
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageGroupNameHasBeenSet
bool ModelPackageGroupNameHasBeenSet() const
Definition: ModelPackageSummary.h:95
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageName
const Aws::String & GetModelPackageName() const
Definition: ModelPackageSummary.h:47
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageName
ModelPackageSummary & WithModelPackageName(const Aws::String &value)
Definition: ModelPackageSummary.h:72
Aws::SageMaker::Model::ModelPackageStatus
ModelPackageStatus
Definition: ModelPackageStatus.h:17
Aws::SageMaker::Model::ModelPackageSummary::SetModelApprovalStatus
void SetModelApprovalStatus(ModelApprovalStatus &&value)
Definition: ModelPackageSummary.h:333
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageGroupName
void SetModelPackageGroupName(const char *value)
Definition: ModelPackageSummary.h:113
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageNameHasBeenSet
bool ModelPackageNameHasBeenSet() const
Definition: ModelPackageSummary.h:52
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageStatus
void SetModelPackageStatus(const ModelPackageStatus &value)
Definition: ModelPackageSummary.h:281
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageVersion
void SetModelPackageVersion(int value)
Definition: ModelPackageSummary.h:147
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageVersionHasBeenSet
bool ModelPackageVersionHasBeenSet() const
Definition: ModelPackageSummary.h:142
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageArn
const Aws::String & GetModelPackageArn() const
Definition: ModelPackageSummary.h:158
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageSummary
ModelPackageSummary()
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageDescription
ModelPackageSummary & WithModelPackageDescription(Aws::String &&value)
Definition: ModelPackageSummary.h:229
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageDescription
ModelPackageSummary & WithModelPackageDescription(const Aws::String &value)
Definition: ModelPackageSummary.h:224
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageStatus
ModelPackageSummary & WithModelPackageStatus(ModelPackageStatus &&value)
Definition: ModelPackageSummary.h:296
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageArn
ModelPackageSummary & WithModelPackageArn(Aws::String &&value)
Definition: ModelPackageSummary.h:188
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageStatus
ModelPackageSummary & WithModelPackageStatus(const ModelPackageStatus &value)
Definition: ModelPackageSummary.h:291
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageDescription
const Aws::String & GetModelPackageDescription() const
Definition: ModelPackageSummary.h:199
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageName
void SetModelPackageName(const Aws::String &value)
Definition: ModelPackageSummary.h:57
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageName
ModelPackageSummary & WithModelPackageName(const char *value)
Definition: ModelPackageSummary.h:82
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageDescriptionHasBeenSet
bool ModelPackageDescriptionHasBeenSet() const
Definition: ModelPackageSummary.h:204
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageArn
void SetModelPackageArn(const char *value)
Definition: ModelPackageSummary.h:178
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageName
void SetModelPackageName(Aws::String &&value)
Definition: ModelPackageSummary.h:62
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageArn
ModelPackageSummary & WithModelPackageArn(const char *value)
Definition: ModelPackageSummary.h:193
Aws::SageMaker::Model::ModelPackageSummary::WithModelApprovalStatus
ModelPackageSummary & WithModelApprovalStatus(ModelApprovalStatus &&value)
Definition: ModelPackageSummary.h:351
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageStatusHasBeenSet
bool ModelPackageStatusHasBeenSet() const
Definition: ModelPackageSummary.h:276
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageName
ModelPackageSummary & WithModelPackageName(Aws::String &&value)
Definition: ModelPackageSummary.h:77
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelPackageSummary
Definition: ModelPackageSummary.h:36
Aws::SageMaker::Model::ModelPackageSummary::SetModelApprovalStatus
void SetModelApprovalStatus(const ModelApprovalStatus &value)
Definition: ModelPackageSummary.h:324
Aws::SageMaker::Model::ModelPackageSummary::WithCreationTime
ModelPackageSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ModelPackageSummary.h:260
Aws::SageMaker::Model::ModelPackageSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ModelPackageSummary.h:250
Aws::SageMaker::Model::ModelPackageSummary::GetModelApprovalStatus
const ModelApprovalStatus & GetModelApprovalStatus() const
Definition: ModelPackageSummary.h:306
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageSummary
ModelPackageSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelPackageSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ModelPackageSummary.h:245
ModelPackageStatus.h
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageGroupName
ModelPackageSummary & WithModelPackageGroupName(const char *value)
Definition: ModelPackageSummary.h:131
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageStatus
const ModelPackageStatus & GetModelPackageStatus() const
Definition: ModelPackageSummary.h:271
ModelApprovalStatus.h
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageVersion
int GetModelPackageVersion() const
Definition: ModelPackageSummary.h:137
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageVersion
ModelPackageSummary & WithModelPackageVersion(int value)
Definition: ModelPackageSummary.h:152
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ModelPackageSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ModelPackageSummary.h:255
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageGroupName
void SetModelPackageGroupName(const Aws::String &value)
Definition: ModelPackageSummary.h:101
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageGroupName
ModelPackageSummary & WithModelPackageGroupName(const Aws::String &value)
Definition: ModelPackageSummary.h:119
Aws::SageMaker::Model::ModelPackageSummary::GetModelPackageGroupName
const Aws::String & GetModelPackageGroupName() const
Definition: ModelPackageSummary.h:89
Aws::SageMaker::Model::ModelPackageSummary::WithCreationTime
ModelPackageSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ModelPackageSummary.h:265
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageName
void SetModelPackageName(const char *value)
Definition: ModelPackageSummary.h:67
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageDescription
ModelPackageSummary & WithModelPackageDescription(const char *value)
Definition: ModelPackageSummary.h:234
Aws::SageMaker::Model::ModelPackageSummary::ModelPackageArnHasBeenSet
bool ModelPackageArnHasBeenSet() const
Definition: ModelPackageSummary.h:163
Aws::SageMaker::Model::ModelPackageSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ModelPackageSummary.h:240
Aws::SageMaker::Model::ModelPackageSummary::WithModelApprovalStatus
ModelPackageSummary & WithModelApprovalStatus(const ModelApprovalStatus &value)
Definition: ModelPackageSummary.h:342
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageGroupName
void SetModelPackageGroupName(Aws::String &&value)
Definition: ModelPackageSummary.h:107
Aws::SageMaker::Model::ModelPackageSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ModelPackageSummary::SetModelPackageArn
void SetModelPackageArn(Aws::String &&value)
Definition: ModelPackageSummary.h:173
Aws::SageMaker::Model::ModelPackageSummary::WithModelPackageArn
ModelPackageSummary & WithModelPackageArn(const Aws::String &value)
Definition: ModelPackageSummary.h:183