AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackageSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/ModelPackageStatus.h>
11#include <aws/sagemaker/model/ModelApprovalStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API ModelPackageSummary();
39 AWS_SAGEMAKER_API ModelPackageSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; }
49 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
50 inline void SetModelPackageName(const Aws::String& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = value; }
51 inline void SetModelPackageName(Aws::String&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::move(value); }
52 inline void SetModelPackageName(const char* value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName.assign(value); }
53 inline ModelPackageSummary& WithModelPackageName(const Aws::String& value) { SetModelPackageName(value); return *this;}
54 inline ModelPackageSummary& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;}
55 inline ModelPackageSummary& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;}
57
59
63 inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; }
64 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
65 inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
66 inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
67 inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
69 inline ModelPackageSummary& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;}
70 inline ModelPackageSummary& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
72
74
77 inline int GetModelPackageVersion() const{ return m_modelPackageVersion; }
78 inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
79 inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; }
80 inline ModelPackageSummary& WithModelPackageVersion(int value) { SetModelPackageVersion(value); return *this;}
82
84
87 inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; }
88 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
89 inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = value; }
90 inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::move(value); }
91 inline void SetModelPackageArn(const char* value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn.assign(value); }
92 inline ModelPackageSummary& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;}
93 inline ModelPackageSummary& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;}
94 inline ModelPackageSummary& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;}
96
98
101 inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; }
102 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
103 inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = value; }
104 inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::move(value); }
105 inline void SetModelPackageDescription(const char* value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription.assign(value); }
108 inline ModelPackageSummary& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
116 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
117 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
118 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
119 inline ModelPackageSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
120 inline ModelPackageSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
122
124
127 inline const ModelPackageStatus& GetModelPackageStatus() const{ return m_modelPackageStatus; }
128 inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
129 inline void SetModelPackageStatus(const ModelPackageStatus& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; }
130 inline void SetModelPackageStatus(ModelPackageStatus&& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = std::move(value); }
132 inline ModelPackageSummary& WithModelPackageStatus(ModelPackageStatus&& value) { SetModelPackageStatus(std::move(value)); return *this;}
134
136
143 inline const ModelApprovalStatus& GetModelApprovalStatus() const{ return m_modelApprovalStatus; }
144 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
145 inline void SetModelApprovalStatus(const ModelApprovalStatus& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
146 inline void SetModelApprovalStatus(ModelApprovalStatus&& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = std::move(value); }
150 private:
151
152 Aws::String m_modelPackageName;
153 bool m_modelPackageNameHasBeenSet = false;
154
155 Aws::String m_modelPackageGroupName;
156 bool m_modelPackageGroupNameHasBeenSet = false;
157
158 int m_modelPackageVersion;
159 bool m_modelPackageVersionHasBeenSet = false;
160
161 Aws::String m_modelPackageArn;
162 bool m_modelPackageArnHasBeenSet = false;
163
164 Aws::String m_modelPackageDescription;
165 bool m_modelPackageDescriptionHasBeenSet = false;
166
167 Aws::Utils::DateTime m_creationTime;
168 bool m_creationTimeHasBeenSet = false;
169
170 ModelPackageStatus m_modelPackageStatus;
171 bool m_modelPackageStatusHasBeenSet = false;
172
173 ModelApprovalStatus m_modelApprovalStatus;
174 bool m_modelApprovalStatusHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace SageMaker
179} // namespace Aws
void SetModelPackageGroupName(const Aws::String &value)
ModelPackageSummary & WithModelPackageGroupName(const Aws::String &value)
ModelPackageSummary & WithModelPackageStatus(const ModelPackageStatus &value)
ModelPackageSummary & WithModelPackageGroupName(const char *value)
ModelPackageSummary & WithModelApprovalStatus(ModelApprovalStatus &&value)
void SetModelPackageStatus(const ModelPackageStatus &value)
ModelPackageSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ModelPackageSummary & WithModelPackageName(const Aws::String &value)
ModelPackageSummary & WithModelPackageName(Aws::String &&value)
AWS_SAGEMAKER_API ModelPackageSummary(Aws::Utils::Json::JsonView jsonValue)
ModelPackageSummary & WithModelPackageArn(const char *value)
void SetModelApprovalStatus(ModelApprovalStatus &&value)
ModelPackageSummary & WithModelPackageStatus(ModelPackageStatus &&value)
AWS_SAGEMAKER_API ModelPackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ModelPackageSummary & WithModelPackageDescription(Aws::String &&value)
ModelPackageSummary & WithModelPackageName(const char *value)
void SetModelPackageName(const Aws::String &value)
const ModelPackageStatus & GetModelPackageStatus() const
ModelPackageSummary & WithModelPackageGroupName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelPackageSummary & WithModelPackageDescription(const Aws::String &value)
const Aws::String & GetModelPackageDescription() const
ModelPackageSummary & WithModelPackageDescription(const char *value)
ModelPackageSummary & WithModelPackageArn(const Aws::String &value)
ModelPackageSummary & WithModelPackageVersion(int value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetModelPackageDescription(const Aws::String &value)
void SetModelPackageArn(const Aws::String &value)
void SetModelPackageStatus(ModelPackageStatus &&value)
void SetModelApprovalStatus(const ModelApprovalStatus &value)
const ModelApprovalStatus & GetModelApprovalStatus() const
const Aws::String & GetModelPackageGroupName() const
ModelPackageSummary & WithModelPackageArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetModelPackageName() const
ModelPackageSummary & WithModelApprovalStatus(const ModelApprovalStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue