AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BatchDescribeModelPackageSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/ModelApprovalStatus.h>
12#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
13#include <aws/sagemaker/model/ModelPackageStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
26
34 public:
35 AWS_SAGEMAKER_API BatchDescribeModelPackageSummary() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
45 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
46 template <typename ModelPackageGroupNameT = Aws::String>
47 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
48 m_modelPackageGroupNameHasBeenSet = true;
49 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
50 }
51 template <typename ModelPackageGroupNameT = Aws::String>
53 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
54 return *this;
55 }
57
59
62 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
63 inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
64 inline void SetModelPackageVersion(int value) {
65 m_modelPackageVersionHasBeenSet = true;
66 m_modelPackageVersion = value;
67 }
70 return *this;
71 }
73
75
78 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
79 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
80 template <typename ModelPackageArnT = Aws::String>
81 void SetModelPackageArn(ModelPackageArnT&& value) {
82 m_modelPackageArnHasBeenSet = true;
83 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
84 }
85 template <typename ModelPackageArnT = Aws::String>
87 SetModelPackageArn(std::forward<ModelPackageArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
97 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
98 template <typename ModelPackageDescriptionT = Aws::String>
99 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
100 m_modelPackageDescriptionHasBeenSet = true;
101 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
102 }
103 template <typename ModelPackageDescriptionT = Aws::String>
105 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
117 void SetCreationTime(CreationTimeT&& value) {
118 m_creationTimeHasBeenSet = true;
119 m_creationTime = std::forward<CreationTimeT>(value);
120 }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
123 SetCreationTime(std::forward<CreationTimeT>(value));
124 return *this;
125 }
127
129
130 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
131 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
132 template <typename InferenceSpecificationT = InferenceSpecification>
133 void SetInferenceSpecification(InferenceSpecificationT&& value) {
134 m_inferenceSpecificationHasBeenSet = true;
135 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
136 }
137 template <typename InferenceSpecificationT = InferenceSpecification>
139 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
140 return *this;
141 }
143
145
148 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
149 inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
151 m_modelPackageStatusHasBeenSet = true;
152 m_modelPackageStatus = value;
153 }
156 return *this;
157 }
159
161
164 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
165 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
167 m_modelApprovalStatusHasBeenSet = true;
168 m_modelApprovalStatus = value;
169 }
172 return *this;
173 }
175
177
180 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
181 inline bool ModelPackageRegistrationTypeHasBeenSet() const { return m_modelPackageRegistrationTypeHasBeenSet; }
183 m_modelPackageRegistrationTypeHasBeenSet = true;
184 m_modelPackageRegistrationType = value;
185 }
188 return *this;
189 }
191 private:
192 Aws::String m_modelPackageGroupName;
193
194 int m_modelPackageVersion{0};
195
196 Aws::String m_modelPackageArn;
197
198 Aws::String m_modelPackageDescription;
199
200 Aws::Utils::DateTime m_creationTime{};
201
202 InferenceSpecification m_inferenceSpecification;
203
205
207
209 bool m_modelPackageGroupNameHasBeenSet = false;
210 bool m_modelPackageVersionHasBeenSet = false;
211 bool m_modelPackageArnHasBeenSet = false;
212 bool m_modelPackageDescriptionHasBeenSet = false;
213 bool m_creationTimeHasBeenSet = false;
214 bool m_inferenceSpecificationHasBeenSet = false;
215 bool m_modelPackageStatusHasBeenSet = false;
216 bool m_modelApprovalStatusHasBeenSet = false;
217 bool m_modelPackageRegistrationTypeHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace SageMaker
222} // namespace Aws
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary()=default
BatchDescribeModelPackageSummary & WithModelPackageDescription(ModelPackageDescriptionT &&value)
BatchDescribeModelPackageSummary & WithInferenceSpecification(InferenceSpecificationT &&value)
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDescribeModelPackageSummary & WithModelPackageVersion(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDescribeModelPackageSummary & WithModelApprovalStatus(ModelApprovalStatus value)
BatchDescribeModelPackageSummary & WithModelPackageRegistrationType(ModelPackageRegistrationType value)
BatchDescribeModelPackageSummary & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
BatchDescribeModelPackageSummary & WithModelPackageStatus(ModelPackageStatus value)
BatchDescribeModelPackageSummary & WithModelPackageArn(ModelPackageArnT &&value)
BatchDescribeModelPackageSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue